itaicaspi / SVHN-Multi-Digit-torch

Torch implementation of Multi-digit Number Recognition from Street View Imagery using Deep Convolutional Neural Networks (http://arxiv.org/pdf/1312.6082.pdf)
15 stars 14 forks source link

Error with eval.lua #3

Closed mathetes87 closed 7 years ago

mathetes87 commented 7 years ago

Hi, I'm having an error message when trying to evaluate an image. This "itaic" folder that should be in my home directory puzzles me:

/home/jr/torch/install/bin/luajit: /home/jr/torch/install/share/lua/5.1/image/init.lua:176: [write_png_file] File /home/itaic/TermiNet/score_parsing/SVHN/data/test.png could not be opened for writing
stack traceback:
    [C]: in function 'save'
    /home/jr/torch/install/share/lua/5.1/image/init.lua:176: in function 'saver'
    /home/jr/torch/install/share/lua/5.1/image/init.lua:442: in function 'save'
    eval.lua:37: in main chunk
    [C]: in function 'dofile'
    ...e/jr/torch/install/lib/luarocks/rocks/trepl/scm-1/bin/th:150: in main chunk
    [C]: at 0x00406670

Thanks!

mathetes87 commented 7 years ago

I artificially created the path and an image called 'test.png' but that error remains

mathetes87 commented 7 years ago

I was able to run the evaluation by commenting the line https://github.com/itaicaspi/SVHN-Multi-Digit-torch/blob/master/eval.lua#L37