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

opt.augment #23

Closed
backkon opened this issue Jun 7, 2020 · 3 comments
Closed

opt.augment #23

backkon opened this issue Jun 7, 2020 · 3 comments

Comments

@backkon
Copy link

backkon commented Jun 7, 2020

Excuse me, when I run detect.py, there is a parameter "augment", but I see that there is no relevant function yet?

"pred = model(img, augment=opt.augment)[0]" in detect.py

@github-actions
Copy link
Contributor

github-actions bot commented Jun 7, 2020

Hello @backkon, thank you for your interest in our work! Please visit our Custom Training Tutorial to get started, and see our Google Colab Notebook, Docker Image, and GCP 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 surveillance 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.

@glenn-jocher
Copy link
Member

@backkon this is augmented inference, as the argparser comment states. It is working correctly:

(env1) glennjocher@Glenns-MBP yolov5 % python detect.py --augment

Namespace(agnostic_nms=False, augment=True, classes=None, conf_thres=0.4, device='', fourcc='mp4v', half=False, img_size=640, iou_thres=0.5, output='inference/output', save_txt=False, source='inference/images', view_img=False, weights='weights/yolov5s.pt')
Using CPU

image 1/2 inference/images/bus.jpg: 640x512 3 persons, 1 buss, Done. (0.863s)
image 2/2 inference/images/zidane.jpg: 384x640 2 persons, 2 ties, Done. (0.668s)
Results saved to /Users/glennjocher/PycharmProjects/yolov5/inference/output
Done. (1.719s)

@backkon
Copy link
Author

backkon commented Jun 8, 2020

OK, I uesd the previous version, it is already available in the latest version, thank you!

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

2 participants