Code Monkey home page Code Monkey logo

Comments (1)

ZhaoBaymax avatar ZhaoBaymax commented on June 9, 2024

Traceback (most recent call last):
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
还是存在这个问题,这个可以修复吗??

from easycv.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.