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

Unknow url type #6

Open
HCookY95 opened this issue Dec 10, 2020 · 0 comments
Open

Unknow url type #6

HCookY95 opened this issue Dec 10, 2020 · 0 comments

Comments

@HCookY95
Copy link

Hi author,

@XiuweiHe I have tried models in "models" file, but no matter Resnet50 or SEnet50 or VGG16, which one I tried, it all rises error like below. Do you know where can I download the pre-trained model?

`Traceback (most recent call last):
File "main_CK+.py", line 245, in
net=RESNET50()
File "D:\Code\Pconv\models\xiuwei_he\models_99.py", line 281, in RESNET50
weights_path = get_file('rcmalli_vggface_tf_resnet50.h5',
File "C:\Users\zhy34\anaconda3\lib\site-packages\tensorflow\python\keras\utils\data_utils.py", line 278, in get_file
urlretrieve(origin, fpath, dl_progress)
File "C:\Users\zhy34\anaconda3\lib\urllib\request.py", line 247, in urlretrieve
with contextlib.closing(urlopen(url, data)) as fp:
File "C:\Users\zhy34\anaconda3\lib\urllib\request.py", line 222, in urlopen
return opener.open(url, data, timeout)
File "C:\Users\zhy34\anaconda3\lib\urllib\request.py", line 509, in open
req = Request(fullurl, data)
File "C:\Users\zhy34\anaconda3\lib\urllib\request.py", line 328, in init
self.full_url = url
File "C:\Users\zhy34\anaconda3\lib\urllib\request.py", line 354, in full_url
self._parse()
File "C:\Users\zhy34\anaconda3\lib\urllib\request.py", line 383, in _parse
raise ValueError("unknown url type: %r" % self.full_url)
ValueError: unknown url type: './pretrained_model/rcmalli_vggface_tf_resnet50.h5'

Process finished with exit code -1
`

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

1 participant