-
Notifications
You must be signed in to change notification settings - Fork 248
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
"mtrand.pyx", line 1120, in mtrand.RandomState.choice ValueError: a must be greater than 0 #26
Comments
to be more precise it gets stuck in line 80 of core.py code: |
Hi, @oscarknagg thanks for posting this work.
File "/home/shandilya/nlp_project/lib/python3.5/site-packages/torch/utils/data/dataloader.py", line 193, in iter
Did you know the solution for this problem? Initially, I thought it was the problem related to the NumPy sample (with or without replacement)? But as you said, it was associated with Thanks for your help and I am looking for your comment. |
@oscarknagg any updates on this?? |
@Shandilya21 did you solve this ? |
Which dataset you guys are trying to run this? |
Solved this problem by deleting the hidden .DS_store file in my images_evaluation folder. There could also be a .DS_store file in the images_background folder (somehow I don't have it though). It seems that whenever episode_classes has the class 0, the path is directed to .DS_store instead of the actual data folder, which caused an error. |
First of all thx a lot for posting this very interesting work.
"mtrand.pyx", line 1120, in mtrand.RandomState.choice
ValueError: a must be greater than 0
In running the maml.py I incurred in the error above. I believe is a numpy error... How do you get around it?
Thanks a lot,
The text was updated successfully, but these errors were encountered: