maml
maml copied to clipboard
ValueError: Sample larger than population or is negative in omniglot
I also get this question.I wonder if you have solved it.And tell me how to do.Looking forward to your reply,thank you. @Curry30h
@Curry30h @mushroompyq utils.py line 16
sampler = lambda x: random.sample(x, nb_samples) change to: sampler = lambda x: random.sample(x, nb_samples if len(x) > nb_samples else len(x))
Hope this information will help you.