-
Notifications
You must be signed in to change notification settings - Fork 16
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
Error in trying evaluation task #6
Comments
The question above were solved by reinstalling all the data. (worker00 ~ worker03 directories were not created when i ran create_lmdb.py. So I divided the line 58 in create_lmdb.py into two, which generates the worker directories and feats directories) But, evaluation task is not still working with the error named "AssertionError: feature extraction is not the same for training and evaluation".And this error lead to the FileNotFoundError again even if I trained the model in my own once again. |
I got this error. In model.util, it closes torch if feature extraction is different. In my case, the device lead to close torch, means tensor(0.6196, deice='cuda:0') != tensor(0.6196). It worked well when i just change my device or just comment out the assertion line. Sorry for the poor question and i'll close this issue. It works well for me now! |
@jeje910 Hi Jaeyeon. Thank you for taking a closer look and reporting which issue you encountered. Good luck with your research! |
Thank you I had the same problem |
Do you mine sharing how you "So I divided the line 58 in create_lmdb.py into two". Thank you! |
Never mind it just returns the wrong error when it should be this error that you had: "I got this error. In model.util, it closes torch if feature extraction is different. In my case, the device lead to close torch, means tensor(0.6196, deice='cuda:0') != tensor(0.6196). It worked well when i just change my device or just comment out the assertion line. Sorry for the poor question and i'll close this issue. It works well for me now!" |
Thank you for your great work! @alexpashevich
Your paper was very interesting for me and i'm now trying to run your code in my local. But I have an issue when I try to run alfred.eval.eval_agent.
When I try to run the pretrained models evaluation code
python3 -m alfred.eval.eval_agent with eval.exp=pretrained eval.checkpoint=et_human_pretrained.pth eval.object_predictor=$ET_LOGS/pretrained/maskrcnn_model.pth exp.num_workers=5 eval.eval_range=None exp.data.valid=lmdb_human
FileNotFoundError came out and I cannot find which one is wrong.
The codes before this line were correctly run and worked well.
The picture below is the error I am currently suffer from.
And the pretrained directory looks as follow.
Should I copy the directory from somewhere or did I miss something before evaluate task?
Sorry for the poor question..
The text was updated successfully, but these errors were encountered: