HAT icon indicating copy to clipboard operation
HAT copied to clipboard

ImportError: cannot import name 'rgb2ycbcr'

Open dengfenglai321 opened this issue 3 years ago • 1 comments

运行 python hat/test.py -opt options/test/HAT_SRx4_ImageNet-pretrain.yml 报错如上图

dengfenglai321 avatar Jun 10 '22 03:06 dengfenglai321

@yumulinfeng1 What is the version of basicsr used? Is it 1.3.4.9? The latest version of basicsr change the location of the function rgb2ycbcr.

chxy95 avatar Jun 10 '22 04:06 chxy95