OpenCV: terminate handler is called! The last OpenCV error is:
OpenCV(3.4.3) Error: Assertion failed (u != 0) in cv::Mat::create, file f:\waifu2x-caffe\opencv\modules\core\src\matrix.cpp, line 367
Seems that it happens after the program uses all my memory, so here's the settings.
waifu2x-caffe-cui.exe -t 1 -c 100 -p cudnn -s 8 -n 3 -m auto_scale -e png -i $inputFile -o $outputFile
OpenCV: terminate handler is called! The last OpenCV error is: OpenCV(3.4.3) Error: Assertion failed (u != 0) in cv::Mat::create, file f:\waifu2x-caffe\opencv\modules\core\src\matrix.cpp, line 367