Open zzw-zwzhang opened 3 years ago
File "/home/zwzhang/NeRF/pi-GAN/train.py", line 366, in train fid_evaluation.setup_evaluation(metadata['dataset'], generated_dir, target_size=128) File "/home/zwzhang/NeRF/pi-GAN/fid_evaluation.py", line 37, in setup_evaluation dataloader, CHANNELS = datasets.get_dataset(dataset_name, img_size=target_size) File "/home/zwzhang/NeRF/pi-GAN/datasets.py", line 79, in get_dataset dataset = globals()name TypeError: init() missing 1 required positional argument: 'dataset_path'
please check.
File "/home/zwzhang/NeRF/pi-GAN/train.py", line 366, in train fid_evaluation.setup_evaluation(metadata['dataset'], generated_dir, target_size=128) File "/home/zwzhang/NeRF/pi-GAN/fid_evaluation.py", line 37, in setup_evaluation dataloader, CHANNELS = datasets.get_dataset(dataset_name, img_size=target_size) File "/home/zwzhang/NeRF/pi-GAN/datasets.py", line 79, in get_dataset dataset = globals()name TypeError: init() missing 1 required positional argument: 'dataset_path'