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

can't import module #180

Closed chelsea456 closed 2 years ago

chelsea456 commented 2 years ago

when i run: python3 demo.py --config-file configs/wearmask/darknet53.yaml --input ./datasets/wearmask/images/val2017 --opts MODEL.WEIGHTS output/model_0009999.pth it has issues from detectron2.utils.logger import log_first_n ModuleNotFoundError: No module named 'detectron2.utils' sir can teach me how to fix prolem

lucasjinreal commented 2 years ago

https://github.com/facebookresearch/detectron2/tree/main/detectron2/utils