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

Denoising example #4

Open
DmitryUlyanov opened this issue Jan 5, 2017 · 10 comments
Open

Denoising example #4

DmitryUlyanov opened this issue Jan 5, 2017 · 10 comments

Comments

@DmitryUlyanov
Copy link

Hello David, I cannot get working SPEN denoising example. First I got an exception about inference_net being nil in RNNInference.lua, which I fixed somehow by setting inference_net = nn.Identity. But now I get an error because inference_net is nil:

2: attempt to index local 'module' (a nil value)
stack traceback:
        ...e/dulyanov/torch/install/share/lua/5.1/nn/Sequential.lua:12: in function 'add'
        ./RNNInference.lua:68: in function '__init'

Can you please try to reproduce it?

I used this fork to run the experiments, since it provided a helpful script. Wondering if denoising worked for xuexue.

@davidBelanger
Copy link
Owner

davidBelanger commented Jan 5, 2017 via email

@davidBelanger
Copy link
Owner

davidBelanger commented Jan 5, 2017 via email

@davidBelanger
Copy link
Owner

davidBelanger commented Jan 5, 2017 via email

@DmitryUlyanov
Copy link
Author

Thank you David, I will give it a try today!

@DmitryUlyanov
Copy link
Author

By the way, any plans to make a standalone hypergrad for torch? It looks like you have everything for it.

@davidBelanger
Copy link
Owner

davidBelanger commented Jan 6, 2017 via email

@DmitryUlyanov
Copy link
Author

I am trying to run denoising example, I get a following error:

USING GPU 0
using cudnn
/home/dulyanov/torch/install/bin/luajit: cannot open <denoise-runs/Пт._янв.__6_16:37:09_MSK_2017/problem-config> in mode r  at /tmp/luarocks_torch-scm-1-9560/torch7/lib/TH/THDiskFile.c:668
stack traceback:
        [C]: at 0x7f8b2fb4dad0
        [C]: in function 'DiskFile'
        /home/dulyanov/torch/install/share/lua/5.1/torch/File.lua:405: in function 'load'
        main.lua:73: in function 'load_problem'
        main.lua:122: in main chunk
        [C]: in function 'dofile'
        ...anov/torch/install/lib/luarocks/rocks/trepl/scm-1/bin/th:145: in main chunk
        [C]: at 0x00406670

Have no idea where to find this config. Did you forget to upload it?

@davidBelanger
Copy link
Owner

davidBelanger commented Jan 6, 2017 via email

@DmitryUlyanov
Copy link
Author

Thanks! It works!

@davidBelanger
Copy link
Owner

davidBelanger commented Jan 6, 2017 via email

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

2 participants