neodroidvision.data.mixed.nvlabs_ffhq.FFHQDataset

class neodroidvision.data.mixed.nvlabs_ffhq.FFHQDataset(json_data, source_dir, transform=None)[source]

Bases: Dataset

Parameters
  • json_data

  • source_dir

  • transform

__init__(json_data, source_dir, transform=None)[source]
Parameters
  • json_data

  • source_dir

  • transform

Methods

__init__(json_data, source_dir[, transform])

param json_data

load_image(item)

param item

load_image_from_disk(item)

param item

load_image_from_disk_path(path)

param path

load_image(item)[source]
Parameters

item

Returns

Return type

load_image_from_disk(item)[source]
Parameters

item

Returns

Return type

load_image_from_disk_path(path)[source]
Parameters

path

Returns

Return type