lucasjinreal / yolov7_d2

🔥🔥🔥🔥 (Earlier YOLOv7 not official one) YOLO with Transformers and Instance Segmentation, with TensorRT acceleration! 🔥🔥🔥
GNU General Public License v3.0
3.13k stars 483 forks source link

ImportError: cannot import name 'OrderedDict' #178

Closed SuroshAhmadZobair closed 2 years ago

SuroshAhmadZobair commented 2 years ago

Hi Thanks for you Code! I can train detectron2 with my env, but I face this error trying to train yolov7-d2. i have installed the required packages as well.


    from typing import List, Dict, OrderedDict
ImportError: cannot import name 'OrderedDict'

Thanks in advance