Prototypical-Networks-for-Few-shot-Learning-PyTorch
Prototypical-Networks-for-Few-shot-Learning-PyTorch copied to clipboard
FileNotFoundError
FileNotFoundError Traceback (most recent call last)
E:\学习\jupyter\prototypical net\Prototypical-Networks-for-Few-shot-Learning-PyTorch-master\src\omniglot_dataset.py in init(self, mode, root, transform, target_transform, download) 53 raise RuntimeError( 54 'Dataset not found. You can use download=True to download it') ---> 55 self.classes = get_current_classes(os.path.join( 56 self.root, self.splits_folder, mode + '.txt')) 57 self.all_items = find_items(os.path.join(
E:\学习\jupyter\prototypical net\Prototypical-Networks-for-Few-shot-Learning-PyTorch-master\src\omniglot_dataset.py in get_current_classes(fname) 159 160 def get_current_classes(fname): --> 161 with open(fname) as f: 162 classes = f.read().replace('/', os.sep).splitlines() 163 return classes
FileNotFoundError: [Errno 2] No such file or directory: '..\dataset\splits\vinyals\train.txt'
I think something went wrong when you download the dataset