angeladai / cnncomplete

[CVPR'17] Shape Completion using 3D-Encoder-Predictor CNNs and Shape Synthesis
http://graphics.stanford.edu/projects/cnncomplete/
Other
140 stars 24 forks source link

Error when executing test.lua #5

Open mikacuy opened 4 years ago

mikacuy commented 4 years ago

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