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

Errors on MAC #1690

Closed
Nigysty opened this issue Dec 14, 2020 · 3 comments
Closed

Errors on MAC #1690

Nigysty opened this issue Dec 14, 2020 · 3 comments
Labels
bug Something isn't working Stale

Comments

@Nigysty
Copy link

Nigysty commented Dec 14, 2020

system macos 11.0.1 (macpro 2020 i5)

When I test on MAC with code“python detect.py --source 0”,
The local camera cannot be turned on,And the terminal shows
“Namespace(agnostic_nms=False, augment=False, classes=None, conf_thres=0.25, device='', exist_ok=False, img_size=640, iou_thres=0.45, name='exp', project='runs/detect', save_conf=False, save_txt=False, source='0', update=False, view_img=False, weights='yolov5s.pt')
Using torch 1.7.1 CPU

Fusing layers...
Model Summary: 232 layers, 7459581 parameters, 0 gradients, 17.5 GFLOPS
zsh: abort python detect.py --source 0”

@Nigysty Nigysty added the bug Something isn't working label Dec 14, 2020
@glenn-jocher
Copy link
Member

@Nigysty hi, thanks for the bug report. This may possibly due to MacOS Big Sur 11.0 upgrade. I've had my own issues with cv2 webcam connections after upgrading, as I develop locally on a Macbook pro also. I'm assuming detection operates correctly for local images and videos?

@Nigysty
Copy link
Author

Nigysty commented Dec 15, 2020

@Nigysty hi, thanks for the bug report. This may possibly due to MacOS Big Sur 11.0 upgrade. I've had my own issues with cv2 webcam connections after upgrading, as I develop locally on a Macbook pro also. I'm assuming detection operates correctly for local images and videos?

yes,detection operates correctly for local images

@github-actions
Copy link
Contributor

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

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

No branches or pull requests

2 participants