nihui / realsr-ncnn-vulkan

RealSR super resolution implemented with ncnn library
MIT License
1.09k stars 113 forks source link

No Standard Output? #6

Open Vancete opened 4 years ago

Vancete commented 4 years ago

Hello there,

I'm trying to read the output of the executable, but getting empty always. This is due of no stdout usage.

You can test it fast on Windows by doing srmd-ncnn-vulkan.exe -h > out.txt and check that the file is empty.

Any workaround for this?

extrimexxx commented 4 years ago

realsr-ncnn-vulkan.exe -h 1> out.txt 2>&1

Vancete commented 4 years ago

Well, while that works, it don't work the file until the entire process has finished.

Is there any way to make it write to the file async?

Many thanks

nihui commented 4 years ago

read stderr output