You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
load checkpoint from local path: checkpoints/stdc2_in1k-pre_512x1024_80k_cityscapes_20211125_220437-d2c469f8.pth
Traceback (most recent call last):
File "/home/PJLAB/maningsheng/projects/openmmlab/mmsegmentation/demo/image_demo.py", line 40, in <module>
main()
File "/home/PJLAB/maningsheng/projects/openmmlab/mmsegmentation/demo/image_demo.py", line 27, in main
model = init_segmentor(args.config, args.checkpoint, device=args.device)
File "/home/PJLAB/maningsheng/projects/openmmlab/mmsegmentation/mmseg/apis/inference.py", line 35, in init_segmentor
model.CLASSES = checkpoint['meta']['CLASSES']
KeyError: 'meta
The text was updated successfully, but these errors were encountered:
It is because after pushing the STDC model, pr reviewer made some comments about variable names, so I have to transfer key names to ensure lateset version could directly use STDC model which is actually using older variable names.
META info is lost during transferring keys process. I would try to find original models back, otherwise I would train new STDC models and push again.
STDC checkpoints have no
meta
key.ran script
error message
The text was updated successfully, but these errors were encountered: