Open vonaurum opened 8 years ago
Never mind, I just realized that the permissions in the folder were such that only sudo could make changes/run scripts. Changing it fixed the issue.
@vonaurum Could you expand on your issue and how you fixed it? I might be having the same problem you had (I am getting the attempt to index a nil value
error).
@alexblickenstaff You need to modify the directory permissions to allow reading, writing and execution. I just did that, and it worked.
Thanks, @vonaurum!
I'm having the same problem @AdityaChaganti could you tell me with directory and to change the permissions
Installed all the required packages on Mac but I get the following error when running the script:
[libprotobuf WARNING google/protobuf/io/coded_stream.cc:537] Reading dangerously large protocol message. If the message turns out to be larger than 1073741824 bytes, parsing will be halted for security reasons. To increase the limit (or to disable these warnings), see CodedInputStream::SetTotalBytesLimit() in google/protobuf/io/coded_stream.h. [libprotobuf WARNING google/protobuf/io/coded_stream.cc:78] The total number of bytes read was 574671192 Successfully loaded models/VGG_ILSVRC_19_layers.caffemodel /usr/local/bin/luajit: /usr/local/share/lua/5.1/loadcaffe/loadcaffe.lua:20: attempt to index a nil value stack traceback: /usr/local/share/lua/5.1/loadcaffe/loadcaffe.lua:20: in function 'load' neural_style.lua:73: in function 'main' neural_style.lua:499: in main chunk [C]: in function 'dofile' /usr/local/lib/luarocks/rocks/trepl/scm-1/bin/th:145: in main chunk [C]: at 0x010dfbfc40