LSUN

dset.LSUN(db_path, classes='train', [transform, target_transform])

参数说明:

  • db_path = 数据集文件的根目录
  • classes = ‘train’ (所有类别, 训练集), ‘val’ (所有类别, 验证集), ‘test’ (所有类别, 测试集) [‘bedroom_train’, ‘church_train’, …] : a list of categories to load

results matching ""

    No results matching ""