-
Notifications
You must be signed in to change notification settings - Fork 17
Question about evalution with torch #3
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
Comments
hi, how did you run this code? I am don't understand the Dateset introduction in README and also can't find the create_dataset.py in scripts folder? Thank you |
|
hi, I met the same problem as you. Have you solved it? |
Hi, |
Hi,
When I run the evalution with
CUDA_VISIBLE_DEVICES=6 ~/torch/install/bin/th extractor.lua -gpuid 1 -datafile roto-ie.h5 -preddata drive_data/transform_gen/roto_cc-beam5_gens.h5 -dict_pfx "roto-ie" -just_eval
, I'm faced with the following error./root/torch/install/bin/luajit: extractor.lua:574: bad argument #1 to 'copy' (sizes do not match at /root/torch/extra/cutorch/lib/THC/THCTensorCopy.cu:31)
I print the size and find that the size of p (parameters of generated model) is 2234733, and the size of saved_p (parameters from conv1ie-ep6-94-74.t7) is 2141733. How can I solve the problem?
My torch is installed with LuaJIT. The hdf5 is installed with 'luarocks install hdf5'.
Thank you
Yixian
The text was updated successfully, but these errors were encountered: