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

No Analysis for RTSP Stream #3289

Closed
philippneugebauer opened this issue May 22, 2021 · 2 comments
Closed

No Analysis for RTSP Stream #3289

philippneugebauer opened this issue May 22, 2021 · 2 comments
Labels
bug Something isn't working

Comments

@philippneugebauer
Copy link

philippneugebauer commented May 22, 2021

Before submitting a bug report, please be aware that your issue must be reproducible with all of the following, otherwise it is non-actionable, and we can not help you:

If this is a custom dataset/training question you must include your train*.jpg, test*.jpg and results.png figures, or we can not help you. You can generate these with utils.plot_results().

🐛 Bug

I just want to analyze an RTSP stream but it just finishes analysis without doing anything. It is working with older versions.

To Reproduce (REQUIRED)

Input:

python3 detect.py --source rtsp://host.docker.internal:8554/analysis

Output:

Fusing layers...
Model Summary: 224 layers, 7266973 parameters, 0 gradients
WARNING: Environment does not support cv2.imshow() or PIL Image.show() image displays
cv2.imshow() is disabled in Docker environments
1/1: rtsp://host.docker.internal:8554/analysis...  success (-3074457345618259 frames 1920x1080 at 30.00 FPS)

Results saved to runs/detect/exp9
Done. (0.000s)

Expected behavior

Analysis of the stream

Environment

If applicable, add screenshots to help explain your problem.

I am using the yolo image from dockerhub with id 66b68c986fa6 on macos BigSur

@philippneugebauer philippneugebauer added the bug Something isn't working label May 22, 2021
@glenn-jocher
Copy link
Member

glenn-jocher commented May 23, 2021

@philippneugebauer good news 😃! Your original issue may now be fixed ✅ in PR #3295. To receive this update:

  • Gitgit pull from within your yolov5/ directory or git clone https://github.com/ultralytics/yolov5 again
  • PyTorch Hub – Force-reload with model = torch.hub.load('ultralytics/yolov5', 'yolov5s', force_reload=True)
  • Notebooks – View updated notebooks Open In Colab Open In Kaggle
  • Dockersudo docker pull ultralytics/yolov5:latest to update your image Docker Pulls

Thank you for spotting this issue and informing us of the problem. Please let us know if this update resolves the issue for you, and feel free to inform us of any other issues you discover or feature requests that come to mind. Happy trainings with YOLOv5 🚀!

@philippneugebauer
Copy link
Author

I can confirm that it works again :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants