Skip to content
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 while loading the checkpoint #1

Open
Pavani14 opened this issue Mar 11, 2019 · 0 comments
Open

Error while loading the checkpoint #1

Pavani14 opened this issue Mar 11, 2019 · 0 comments

Comments

@Pavani14
Copy link

Hi,

I am getting the following error when trying to load the model using a checkpoint.

Loading.. checkpoints/results_40_40_10_RNN.t7
/home/iab-j/torch/install/bin/luajit: /home/iab-j/torch/install/share/lua/5.1/torch/File.lua:343: unknown Torch class <nn.SpatialReSampling>
stack traceback:
[C]: in function 'error'
/home/iab-j/torch/install/share/lua/5.1/torch/File.lua:343: in function 'readObject'
/home/iab-j/torch/install/share/lua/5.1/torch/File.lua:369: in function 'readObject'
/home/iab-j/torch/install/share/lua/5.1/torch/File.lua:369: in function 'readObject'
/home/iab-j/torch/install/share/lua/5.1/nn/Module.lua:192: in function 'read'
/home/iab-j/torch/install/share/lua/5.1/torch/File.lua:351: in function 'readObject'
/home/iab-j/torch/install/share/lua/5.1/torch/File.lua:369: in function 'readObject'
/home/iab-j/torch/install/share/lua/5.1/torch/File.lua:369: in function 'readObject'
/home/iab-j/torch/install/share/lua/5.1/torch/File.lua:353: in function 'readObject'
/home/iab-j/torch/install/share/lua/5.1/torch/File.lua:368: in function 'readObject'
/home/iab-j/torch/install/share/lua/5.1/torch/File.lua:369: in function 'readObject'
...
/home/iab-j/torch/install/share/lua/5.1/torch/File.lua:351: in function 'readObject'
/home/iab-j/torch/install/share/lua/5.1/torch/File.lua:369: in function 'readObject'
/home/iab-j/torch/install/share/lua/5.1/torch/File.lua:369: in function 'readObject'
/home/iab-j/torch/install/share/lua/5.1/nn/Module.lua:192: in function 'read'
/home/iab-j/torch/install/share/lua/5.1/torch/File.lua:351: in function 'readObject'
/home/iab-j/torch/install/share/lua/5.1/torch/File.lua:409: in function 'load'
RNN_main_test.lua:133: in main chunk
[C]: in function 'dofile'
...ab-j/torch/install/lib/luarocks/rocks/trepl/scm-1/bin/th:150: in main chunk
[C]: at 0x00405d50

Any ideas on how can this error be removed?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant