Pytorch-Implemented-Deep-SR-ITM icon indicating copy to clipboard operation
Pytorch-Implemented-Deep-SR-ITM copied to clipboard

use the pretrained files to run ./test.py, generate the png with black color.

Open timzhang8187 opened this issue 4 years ago • 1 comments

I try to run python test.py under env you mentioned. unlucky, the png is black. model_path=./checkpoint/full_net/full_net_270.pth 2 graphic hardwares : Quadro TRX 2000 only changed code is: validate=false.

timzhang8187 avatar Nov 06 '20 09:11 timzhang8187

maybe you got a 16bit YUV picture back. You need to reformat it inti RGB using CV2? Maybe my script can help you.

8bignic8 avatar Feb 22 '21 13:02 8bignic8