cnncomplete icon indicating copy to clipboard operation
cnncomplete copied to clipboard

Error when executing test.lua

Open mikacuy opened this issue 4 years ago • 0 comments

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

mikacuy avatar Dec 02 '19 00:12 mikacuy