Yolov5: No bounding box with labels obtained for the test images in the inference output folder

Created on 2 Jul 2020  路  5Comments  路  Source: ultralytics/yolov5

after training the model on the blood cells dataset,I have printed testbatch image
test

command for detecting 馃憤
%cd /content/yolov5/
!python detect.py --source ../test/images --weights weights/last_yolov5s_results.pt --conf 0.4

output:
import glob
from IPython.display import Image, display

for imageName in glob.glob('/content/yolov5/inference/output/*.jpg'): #assuming JPG
display(Image(filename=imageName))
print("\n")
dis

No bounding boxes for the test images after running the above code

bug

Most helpful comment

I ran with very less number of epochs previously..so it did not show output ..After that I have ran with 100 epochs and can see the results with bounding box and labels

All 5 comments

Hello @joshnarani9, thank you for your interest in our work! Please visit our Custom Training Tutorial to get started, and see our Jupyter Notebook Open In Colab, Docker Image, and Google Cloud Quickstart Guide for example environments.

If this is a bug report, please provide screenshots and minimum viable code to reproduce your issue, otherwise we can not help you.

If this is a custom model or data training question, please note that Ultralytics does not provide free personal support. As a leader in vision ML and AI, we do offer professional consulting, from simple expert advice up to delivery of fully customized, end-to-end production solutions for our clients, such as:

  • Cloud-based AI systems operating on hundreds of HD video streams in realtime.
  • Edge AI integrated into custom iOS and Android apps for realtime 30 FPS video inference.
  • Custom data training, hyperparameter evolution, and model exportation to any destination.

For more information please visit https://www.ultralytics.com.

Please check I have edited the issue

what is the solution for this bug!?

Does anyone have a solution for this?

I ran with very less number of epochs previously..so it did not show output ..After that I have ran with 100 epochs and can see the results with bounding box and labels

Was this page helpful?
0 / 5 - 0 ratings

Related issues

ShreshthSaxena picture ShreshthSaxena  路  4Comments

hktxt picture hktxt  路  3Comments

maykulkarni picture maykulkarni  路  3Comments

cswwp picture cswwp  路  4Comments

nanometer34688 picture nanometer34688  路  3Comments