Traceback (most recent call last):
File "miniimagenet_train_one_shot.py", line 269, in <module>
main()
File "miniimagenet_train_one_shot.py", line 169, in main
task = tg.MiniImagenetTask(metatrain_folders,CLASS_NUM,SAMPLE_NUM_PER_CLASS,BATCH_NUM_PER_CLASS)
File "/content/gdrive1/My Drive/learn_to_learn/LearningToCompare_FSL/miniimagenet/task_generator.py", line 55, in __init__
class_folders = random.sample(self.character_folders,self.num_classes)
File "/usr/lib/python2.7/random.py", line 325, in sample
raise ValueError("sample larger than population")
ValueError: sample larger than population
I am trying to run the following command:
However, I get the following error:
Can any one help me with this issue please?