open-cd icon indicating copy to clipboard operation
open-cd copied to clipboard

FileNotFoundError: model-index.ym

Open Bezdarnost opened this issue 1 year ago • 8 comments

FileNotFoundError: [Errno 2] No such file or directory: '../open-cd/model-index.yml'

Bezdarnost avatar Sep 10 '24 06:09 Bezdarnost

You give function a bad model path lead to this problem

Aoldcat1997 avatar Sep 10 '24 14:09 Aoldcat1997

Possibly I faced with project building problem as mentioned in another question

#116

Bezdarnost avatar Sep 11 '24 08:09 Bezdarnost

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.

Aoldcat1997 avatar Sep 11 '24 15:09 Aoldcat1997

@likyoo please, help us, multiple independent people face with the same problem

Bezdarnost avatar Sep 11 '24 17:09 Bezdarnost

My root :image

Aoldcat1997 avatar Sep 12 '24 10:09 Aoldcat1997

I can't reproduce the error, could you provide more details?

likyoo avatar Sep 22 '24 00:09 likyoo

pleaze make sure your model path is correct.

likyoo avatar Sep 22 '24 00:09 likyoo

pleaze make sure your model path is correct.

@likyoo you are right, when I correct the model and weight path, the problem solved!

Detail see #116

zhanzf avatar Oct 05 '24 01:10 zhanzf