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

About the running bug of restapi.py #7209

Closed
2 tasks done
Zengyf-CVer opened this issue Mar 30, 2022 · 1 comment · Fixed by #7210
Closed
2 tasks done

About the running bug of restapi.py #7209

Zengyf-CVer opened this issue Mar 30, 2022 · 1 comment · Fixed by #7210
Labels
bug Something isn't working

Comments

@Zengyf-CVer
Copy link
Contributor

Zengyf-CVer commented Mar 30, 2022

Search before asking

  • I have searched the YOLOv5 issues and found no similar bug report.

YOLOv5 Component

No response

Bug

@glenn-jocher
I ran the restapi.py file and found some bugs:
https://github.com/ultralytics/yolov5/blob/master/utils/flask_rest_api/restapi.py

python restapi.py 

The error that occurs:

urllib.error.URLError: <urlopen error [Errno 0] Error>

My PyTorch configuration:
torch: 1.10.2+cu111
torchvision: 0.11.3+cu111

Environment

No response

Minimal Reproducible Example

No response

Additional

No response

Are you willing to submit a PR?

  • Yes I'd like to help by submitting a PR!
@Zengyf-CVer Zengyf-CVer added the bug Something isn't working label Mar 30, 2022
@Zengyf-CVer
Copy link
Contributor Author

Zengyf-CVer commented Mar 30, 2022

@glenn-jocher
I fixed this bug.See my PR submitted: #7210

@glenn-jocher glenn-jocher linked a pull request Mar 30, 2022 that will close this issue
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

Successfully merging a pull request may close this issue.

1 participant