在windows上训练,报错No object named 'DiffIRS1Model' found in 'model' registry
File "DiffIR/train.py", line 12, in
I haven't encountered this problem before
I have the same problem
我遇到了同样的问题,请问你解决了吗
试一下这个export PYTHONPATH=/path/to/your/project:$PYTHONPATH
same problem
using
import os.path as osp
import sys
sys.path.append(osp.abspath(osp.join(__file__, osp.pardir, osp.pardir)))
from basicsr.test import test_pipeline
import DiffIR.archs
import DiffIR.data
import DiffIR.models
if __name__ == '__main__':
root_path = osp.abspath(osp.join(__file__, osp.pardir, osp.pardir))
print(root_path)
test_pipeline(root_path)
in test.py