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 when executing test.lua #5

Open
mikacuy opened this issue Dec 2, 2019 · 0 comments
Open

Error when executing test.lua #5

mikacuy opened this issue Dec 2, 2019 · 0 comments

Comments

@mikacuy
Copy link

mikacuy commented Dec 2, 2019

Hi,

I have faced an error when running the test script. I am using cuda 9.0, so I installed cudnn by this command git clone https://github.com/soumith/cudnn.torch.git -b R7 && cd cudnn.torch && luarocks make cudnn-scm-1.rockspec based on this: https://github.com/soumith/cudnn.torch/issues/383, instead of luarocks install. And then I ran luarocks install nngraph. I downloaded the trained_models that were released in the project website. Please advice on how to properly set-up and run this scripts. Thanks a lot!

{
truncation : 3
classifier_path : "models/trained_models/classifier-partial.net"
output_path : "sample_output/"
test_file : "sampledata/scan.h5"
model_path : "models/trained_models/epn-unet-class.net"
use_log_transform : 1
gpu_index : 0
visualize_matlab : 1
help : false
}
loading trained network from file: models/trained_models/epn-unet-class.net
Warning: cudnn.convert does not work with nngraph yet. Ignoring nn.gModule/orion/u/mikacuy/torch/distro/install/bin/luajit: test.lua:83: attempt to call global 'isempty' (a nil value)
stack traceback:
test.lua:83: in main chunk
[C]: in function 'dofile'
...rch/distro/install/lib/luarocks/rocks/trepl/scm-1/bin/th:150: in main chunk
[C]: at 0x00405d50

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