-
-
Notifications
You must be signed in to change notification settings - Fork 2.7k
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
Web.lua does not work #3
Comments
try upgrade luajit version to 2.0.4. |
I'm already running 2.0.4 |
hmm.. seems turbo.lua failed to detecting your platform.
and reinstall. |
After changing that and recompiling i get this: /root/torch/install/bin/luajit: /root/torch/install/share/lua/5.1/trepl/init.lua:363: /root/torch/install/share/lua/5.1/trepl/init.lua:363: /usr/local/share/lua/5.1/turbo/util.lua:351: Could not load libtffi_wrap |
I am getting this (Could not load libtffi_wrap) too. |
try
|
Works, can be closed thanks! TIP for other people facing this issue: add the line export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/local/lib to your .bashrc |
I met the error
This doesn't work on my case. My Env:
After I install turbo with
I notice that my |
Run
This script adds |
Thanks
…---
From Fantasy
在 2020年1月5日,下午7:46,nagadomi ***@***.***> 写道:
Run
~/torch/install/bin/torch-activate
This script adds ~/torch/install/lib to LD_LIBRARY_PATH.
Also, this script is registered in ~/.bashrc or ~/.zshrc when installing torch, so it will be automatically applied once you login again.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub, or unsubscribe.
|
Successfully installed everything, i can use the command line to convert images but the web gui errors out
[root@waifu2x waifu2x-master]# th web.lua
/root/torch/install/bin/luajit: /root/torch/install/share/lua/5.1/trepl/init.lua:363: /root/torch/install/share/lua/5.1/trepl/init.lua:363: /root/torch/install/share/lua/5.1/trepl/init.lua:363: /usr/local/share/lua/5.1/turbo/epoll_ffi.lua:69: bad argument #1 to 'new' (size of C type is unknown or too large)
stack traceback:
[C]: in function 'error'
/root/torch/install/share/lua/5.1/trepl/init.lua:363: in function 'require'
web.lua:4: in main chunk
[C]: in function 'dofile'
/root/torch/install/lib/luarocks/rocks/trepl/scm-1/bin/th:131: in main chunk
[C]: at 0x004064d0
The text was updated successfully, but these errors were encountered: