Coder Social home page Coder Social logo

waifu2x-ocl's Issues

Outputs a black image

When running the program, the output is a black image with the exact color of (1, 1, 0).

Assertion `!r` failed

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)

¯\_(ツ)_/¯

Not using iGPU on macOS 10.14 Mojave

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

segmentation fault (core dumped)

$ ./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?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.