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

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 subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants