Skip to content

About the running bug of restapi.py #7209

@Zengyf-CVer

Description

@Zengyf-CVer

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!

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions