Skip to content
This repository was archived by the owner on Nov 1, 2024. It is now read-only.

url download error #167

@jjxyai

Description

@jjxyai

device env: win10 py3.8
found in my env, when downloading yaml and pyth, raise "urllib.error.HTTPError: HTTP Error 404: Not Found",

it turned out that when concat url,

config_url = os.path.join(_URL_CONFIGS, _MODEL_ZOO_CONFIGS[name])

the sep added in the url in windows is '', which cause this error,

to solve in my env:
config_url = _URL_CONFIGS + '/ + _MODEL_ZOO_CONFIGS[name]
or as implemented in https://stackoverflow.com/questions/8223939/how-to-join-absolute-and-relative-urls

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions