HVision-NKU / SRFormer

Official code for "SRFormer: Permuted Self-Attention for Single Image Super-Resolution" (ICCV 2023) and SRFormerV2
https://openaccess.thecvf.com/content/ICCV2023/papers/Zhou_SRFormer_Permuted_Self-Attention_for_Single_Image_Super-Resolution_ICCV_2023_paper.pdf
Other
217 stars 20 forks source link

KeyError: "No object named 'SRFormer' found in 'arch' registry!" #22

Open wangxinchao-bit opened 12 months ago

wangxinchao-bit commented 12 months ago

Hi, when I tried to reproduce the project by the tips in the readme, I occured to the question that
raise KeyError(f"No object named '{name}' found in '{self._name}' registry!") KeyError: "No object named 'SRFormer' found in 'arch' registry!",how can I solve the problem since I was the first to do the image super resolution.

Z-YuPeng commented 12 months ago

Hi, did you run this command? python setup.py develop

wangxinchao-bit commented 12 months ago

Hi,I have solved the problem by reinstalling the environent

YounZh commented 4 months ago

运行完上述代码后,还要重新编译一下: pip install -v -e .

await-you commented 4 months ago

Hi,I have solved the problem by reinstalling the environent

could you please tell me you experiments environments? thank you very much