You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Mar 3, 2020. It is now read-only.
/home/cadene/torch/install/bin/luajit: /home/cadene/torch/install/share/lua/5.1/torch/File.lua:141: Unwritable object <function> at <?>.tnt.ListDataset.load.image.float.scaleBicubic
stack traceback:
[C]: in function 'error'
/home/cadene/torch/install/share/lua/5.1/torch/File.lua:141: in function 'writeObject'
/home/cadene/torch/install/share/lua/5.1/torch/File.lua:235: in function 'writeObject'
/home/cadene/torch/install/share/lua/5.1/torch/File.lua:235: in function 'writeObject'
/home/cadene/torch/install/share/lua/5.1/torch/File.lua:235: in function 'writeObject'
/home/cadene/torch/install/share/lua/5.1/torch/File.lua:235: in function 'writeObject'
/home/cadene/torch/install/share/lua/5.1/torch/File.lua:200: in function 'writeObject'
/home/cadene/torch/install/share/lua/5.1/torch/File.lua:235: in function 'writeObject'
/home/cadene/torch/install/share/lua/5.1/torch/File.lua:220: in function 'writeObject'
/home/cadene/torch/install/share/lua/5.1/torch/File.lua:388: in function 'save'
src/bugserialize.lua:18: in main chunk
[C]: in function 'dofile'
...dene/torch/install/lib/luarocks/rocks/trepl/scm-1/bin/th:145: in main chunk
[C]: at 0x00405ce0
The text was updated successfully, but these errors were encountered:
This is expected behavior. Your dataset contains image as an upvalue, which means you're trying to serialize the full image package. The image package contains C-code that cannot be serialized. Hence the error.
Try moving the require 'image' into the load closure.
Please try the following code.
The text was updated successfully, but these errors were encountered: