Comments (10)
try upgrade luajit version to 2.0.4.
http://luajit.org/download.html
from waifu2x.
I'm already running 2.0.4
from waifu2x.
hmm.. seems turbo.lua failed to detecting your platform.
maybe following patch fixes this issue.
edit file: turbo/turbo/platform.lua (https://github.com/kernelsauce/turbo/blob/master/turbo/platform.lua#L30)
__ABI32__ = false, -- true if your platform is i386
__ABI64__ = true, -- true if your platform is x86-64
and reinstall.
if you need more support, please create a issue in turbo (https://github.com/kernelsauce/turbo)
from waifu2x.
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
Please run makefile and ensure that installation is done correct.
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
from waifu2x.
I am getting this (Could not load libtffi_wrap) too.
from waifu2x.
try
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/local/lib
th web.lua
from waifu2x.
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
from waifu2x.
I met the error Could not load libtffi_wrap
try
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/local/lib th web.lua
This doesn't work on my case.
My Env:
- CentOS 7.3
- GPU V100 with driver 410.129
- CUDA 10
After I install turbo with luarocks
, the output is :
==== Installing libtffi_wrap ====
test -f libtffi_wrap.so && \
install -m 0755 libtffi_wrap.so /home/work/torch/install/lib/libtffi_wrap.so.2.1.0 && \
ldconfig -n /home/work/torch/install/lib && \
ln -sf libtffi_wrap.so.2.1.0 /home/work/torch/install/lib/libtffi_wrap.so
==== Successfully installed Turbo.lua 2.1.0 to /home/work/torch/install ====
Updating manifest for /home/work/torch/install/lib/luarocks/rocks
turbo 2.1-2 is now built and installed in /home/work/torch/install/ (license: Apache 2.0)
I notice that my libtffi_wrap.so
was located in $HOME/torch/install/lib
not /usr/lib
from waifu2x.
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.
from waifu2x.
from waifu2x.
Related Issues (20)
- Image getting "overexposed" if it has transparent corners HOT 2
- Web in Galician HOT 1
- Jpeg noise removal not working HOT 7
- I want to use the version before the update HOT 3
- What are the best settings to upscale a 480p cartoon show to 1080p?
- Add homebrew support HOT 1
- Filename gets truncated if it has a dot in it HOT 1
- Different on Noise Reduction in cloud version after update 02.02 HOT 2
- [unlimited:waifu2x] Error: TypeError: Cannot read properties of null (reading 'run') HOT 9
- Feature request HOT 1
- Use waifu2x Docker image without Nvidia HOT 18
- Will the Waifu2x browser plugin be created?
- Can't query my GPU ID correctly HOT 6
- use nvidia gpu on https://unlimited.waifu2x.net/ on win 11 HOT 2
- Program closes after I start upscaling HOT 2
- Can I get portable version of project? HOT 1
- Persist 'optimize looped video'-option
- May I ask the author, can this model improve the resolution of real person images? HOT 2
- unlimited.waifu2x : using 4x upscale + TTA enabled (2 or 4) results in "Error: 75952160" HOT 1
- Waifu2x (aumenta resolución de imagen)
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from waifu2x.