FileNotFoundError: model-index.ym
FileNotFoundError: [Errno 2] No such file or directory: '../open-cd/model-index.yml'
You give function a bad model path lead to this problem
Possibly I faced with project building problem as mentioned in another question
#116
i alse faced the problem. base ”opencd not in {'mmcls': 'mmcls', 'mmdet': 'mmdet', 'mmdet3d': 'mmdet3d', 'mmseg': 'mmsegmentation', 'mmaction': 'mmaction2', 'mmtrack': 'mmtrack', 'mmpose': 'mmpose', 'mmedit': 'mmedit', 'mmocr': 'mmocr', 'mmgen': 'mmgen', 'mmfewshot': 'mmfewshot', 'mmrazor': 'mmrazor', 'mmflow': 'mmflow', 'mmhuman3d': 'mmhuman3d', 'mmrotate': 'mmrotate', 'mmselfsup': 'mmselfsup', 'mmyolo': 'mmyolo', 'mmpretrain': 'mmpretrain', 'mmagic': 'mmagic'}!,please pass a valid scope.“,you can append the "opencd" in scope list,but you should find the list position ,it locate in your 'env' libiary ,you need find it.
@likyoo please, help us, multiple independent people face with the same problem
My root :
I can't reproduce the error, could you provide more details?
pleaze make sure your model path is correct.
pleaze make sure your
modelpath is correct.
@likyoo you are right, when I correct the model and weight path, the problem solved!
Detail see #116