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

url download error #167

Open
jjxyai opened this issue Sep 29, 2021 · 1 comment
Open

url download error #167

jjxyai opened this issue Sep 29, 2021 · 1 comment

Comments

@jjxyai
Copy link

jjxyai commented Sep 29, 2021

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

@Mijishi
Copy link

Mijishi commented Apr 27, 2024

i do this like you, but i didn't solve it.do you know how to deal with that?

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