yui0 / waifu2x-ocl Goto Github PK
View Code? Open in Web Editor NEWFast waifu2x converter with GPU optimization
Fast waifu2x converter with GPU optimization
When running the program, the output is a black image with the exact color of (1, 1, 0).
I compiled and ran this:
./waifu2x-ocl/waifu2x_ocl -s 2.0 frames/frm0000017000.png -o frm17000.png
and all I can get is the following:
frm0000001722.png 1920x1072 3
waifu2x: waifu2x_ocl.c:462: int waifu2x_ocl(char *, char *, char *, float): Assertion `!r' failed.
Aborted (core dumped)
¯\_(ツ)_/¯
The program uses CPU instead of integrated GPU on my mac.
Compiled master directly with make
Yakumo-Yukari:waifu2x-ocl gnattu$ ./waifu2x_ocl -s 2.0 /Users/gnattu/Pictures/66176711_p1_master1200.jpg
/Users/gnattu/Pictures/66176711_p1_master1200.jpg 1200x675 3
wsize:287136
Intel(R) Core(TM) i7-7567U CPU @ 3.50GHz (platform 0, device 0)
Maximum memory allocation size is 4294967296 bytes
$ ./waifu2x_ocl -s 2.0 waifu_s.jpg
waifu_s.jpg 256x384 3
wsize:287136
[1] 17099 segmentation fault (core dumped) ./waifu2x_ocl -s 2.0 waifu_s.jpg
System: Linux Mint 19.2 Tina x86_64
No GPU, using OpenCL
Built with make
Any tips how to fix it?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.