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

Fix caffemodel_to_t7.lua #2

Merged
merged 1 commit into from Mar 16, 2018
Merged

Fix caffemodel_to_t7.lua #2

merged 1 commit into from Mar 16, 2018

Conversation

rtqichen
Copy link
Contributor

Thanks for providing these scripts! Just a couple small fixes: lua comments, and variable references. Had to clone the network outputs or the tests weren't passing.

Fix multiline comment and clone target output and grad_input variables so new assignments don't overwrite previous ones.
@ProGamerGov
Copy link

This pull request solves the issue of:

ubuntu@ip-Address:~/test_models$ th caffemodel_to_t7.lua
/home/ubuntu/torch/install/bin/luajit: caffemodel_to_t7.lua:8: unfinished string near '"'
stack traceback:
        [C]: in function 'dofile'
        ...untu/torch/install/lib/luarocks/rocks/trepl/scm-1/bin/th:150: in main chunk
        [C]: at 0x00405d50

@jcjohnson jcjohnson merged commit c16d7f5 into jcjohnson:master Mar 16, 2018
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

Successfully merging this pull request may close these issues.

None yet

3 participants