Skip to content
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

Inference not working #23

Closed
satpalsr opened this issue Feb 3, 2022 · 1 comment
Closed

Inference not working #23

satpalsr opened this issue Feb 3, 2022 · 1 comment

Comments

@satpalsr
Copy link

satpalsr commented Feb 3, 2022

Hey @XinzeLee, Tutorial-1 colab does not detect bounding boxes.

Steps to reproduce:

  1. !git clone https://github.com/XinzeLee/RotateObjectDetection
  2. %cd /content/RotateObjectDetection/rotate-yolov5
  3. !pip install -r requirements.txt
  4. %cd /content/RotateObjectDetection/rotate-yolov5/utils/iou_cuda
  5. !python setup.py install
  6. %cd /content/RotateObjectDetection/rotate-yolov5
  7. Below code
from IPython.display import Image

!python rotate_detect.py --weights rotate-yolov5s-ucas.pt --img 1024 --conf 0.75 \
    --source data/images/UCAS-AOD --iou-thres 0.4 --hide-labels
# Image(filename='runs/detect/exp/1070.png', width=1024)
  1. Check out images under runs/detect/exp
@satpalsr
Copy link
Author

Train model for higher epochs instead of using the pre-trained available model.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant