-
Notifications
You must be signed in to change notification settings - Fork 191
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Traceback (most recent call last): #323
Comments
您好,可以麻烦提供一下 运行的命令吗? |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
File "/home/hm/zhaosf/EasyCV/tools/train.py", line 319, in
main()
File "/home/hm/zhaosf/EasyCV/tools/train.py", line 315, in main
use_fp16=args.fp16)
File "/home/hm/zhaosf/EasyCV/easycv/apis/train.py", line 312, in train_model
runner.run(data_loaders, cfg.workflow, cfg.total_epochs)
File "/home/hm/anaconda3/envs/ev/lib/python3.6/site-packages/mmcv/runner/epoch_based_runner.py", line 127, in run
epoch_runner(data_loaders[i], **kwargs)
File "/home/hm/zhaosf/EasyCV/easycv/runner/ev_runner.py", line 112, in train
self.call_hook('after_train_epoch')
File "/home/hm/anaconda3/envs/ev/lib/python3.6/site-packages/mmcv/runner/base_runner.py", line 309, in call_hook
getattr(hook, fn_name)(self)
File "/home/hm/zhaosf/EasyCV/easycv/hooks/eval_hook.py", line 80, in after_train_epoch
self.evaluate(runner, results)
File "/home/hm/zhaosf/EasyCV/easycv/hooks/eval_hook.py", line 108, in evaluate
results, logger=runner.logger, **self.eval_kwargs)
File "/home/hm/zhaosf/EasyCV/easycv/datasets/detection/raw.py", line 102, in evaluate
evaluator.evaluate(results, groundtruth_dict))
File "/home/hm/zhaosf/EasyCV/easycv/core/evaluation/base_evaluator.py", line 28, in evaluate
**kwargs)
File "/home/hm/zhaosf/EasyCV/easycv/core/evaluation/coco_evaluation.py", line 668, in _evaluate_impl
self.add_single_detected_image_info(image_id, detection_dict)
File "/home/hm/zhaosf/EasyCV/easycv/core/evaluation/coco_evaluation.py", line 517, in add_single_detected_image_info
standard_fields.DetectionResultFields.detection_classes]))
File "/home/hm/zhaosf/EasyCV/easycv/core/evaluation/coco_tools.py", line 619, in ExportSingleImageDetectionMasksToCoco
detection_scores.shape[0])
AssertionError: Corresponding entries in detection_classes, detection_scores and detection_masks should have compatible lengths and shapes Classes length: 13. Masks length: 0. Scores length: 13
还是存在这个问题,这个可以修复吗??
Originally posted by @ZhaoBaymax in #316 (comment)
The text was updated successfully, but these errors were encountered: