jbwang1997 / OBBDetection

OBBDetection is an oriented object detection library, which is based on MMdetection.
Apache License 2.0
525 stars 112 forks source link

ImportError #11

Closed hust-lidelong closed 2 years ago

hust-lidelong commented 2 years ago

Describe the bug ImportError

Reproduction

  1. What command or script did you run? CUDA_VISIBLE_DEVICES=0 python tools/train.py configs/obb/faster_rcnn_obb/faster_rcnn_obb_r50_fpn_1x_dota10.py

A placeholder for the command.


2. Did you make any modifications on the code or config? Did you understand what you have modified?
3. What dataset did you use?
DOTA1.0

**Error traceback**

ImportError: cannot import name 'get_bbox_areas' from 'mmdet.core.bbox.transforms_obb' (/home/lidelong/data/code/OBBDetection/mmdet/core/bbox/transforms_obb/__init__.py)
jbwang1997 commented 2 years ago

Thank you for your issue. I forget to add init.py in the latest commit. Now, I have fixed it.

hust-lidelong commented 2 years ago

Thank you for your issue. I forget to add init.py in the latest commit. Now, I have fixed it.

Thanks for your fix.