taesungp / contrastive-unpaired-translation

Contrastive unpaired image-to-image translation, faster and lighter training than cyclegan (ECCV 2020, in PyTorch)
https://taesung.me/ContrastiveUnpairedTranslation/
Other
2.23k stars 417 forks source link

NotImplementedError: In data.unaligned_dataset.py, there should be a subclass of BaseDataset with class name that matches unaligneddataset in lowercase. #132

Open Harsh9524 opened 2 years ago

Harsh9524 commented 2 years ago

NotImplementedError Traceback (most recent call last) in () 10 # opt = TrainOptions().parse() # get training options 11 ---> 12 dataset = create_dataset() # create a dataset given opt.dataset_mode and other options 13 dataset_size = len(dataset) # get the number of images in the dataset. 14

2 frames in find_dataset_using_name(dataset_name) 33 34 if dataset is None: ---> 35 raise NotImplementedError("In %s.py, there should be a subclass of BaseDataset with class name that matches %s in lowercase." % (dataset_filename, target_dataset_name)) 36 37 return dataset

NotImplementedError: In data.unaligned_dataset.py, there should be a subclass of BaseDataset with class name that matches unaligneddataset in lowercase.

I'm getting this error when trying to run the code in Google colab. Any help would be appreciated.