You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I tried to run the following command python3 finetune.py --datasets_folder=./datasets_vg/datasets --dataset_name=pitts30k --epochs_num=40 --resume_fe=./output/pretrained_model/CCT14_pitts30k.pth --resume_hr=./output/pretrained_model/initializedDHE.torch
But there are some errors.
Traceback (most recent call last):
File "/home/rvl1421/Documents/rvl/DHE-VPR/finetune.py", line 53, in <module>
features_extractor = network.FeaturesExtractor(args)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/rvl1421/Documents/rvl/DHE-VPR/network.py", line 60, in __init__
backbone = cct_14_7x2_384(pretrained=True, progress=True)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/rvl1421/Documents/rvl/DHE-VPR/model/cct/cct.py", line 345, in cct_14_7x2_384
return cct_14('cct_14_7x2_384', pretrained, progress,
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/rvl1421/Documents/rvl/DHE-VPR/model/cct/cct.py", line 150, in cct_14
return _cct(arch, pretrained, progress, num_layers=14, num_heads=6, mlp_ratio=3, embedding_dim=384,
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/rvl1421/Documents/rvl/DHE-VPR/model/cct/cct.py", line 120, in _cct
state_dict = load_state_dict_from_url(model_urls[arch],
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/rvl1421/miniconda3/envs/dhe/lib/python3.12/site-packages/torch/hub.py", line 868, in load_state_dict_from_url
download_url_to_file(url, cached_file, hash_prefix, progress=progress)
File "/home/rvl1421/miniconda3/envs/dhe/lib/python3.12/site-packages/torch/hub.py", line 708, in download_url_to_file
u = urlopen(req)
^^^^^^^^^^^^
File "/home/rvl1421/miniconda3/envs/dhe/lib/python3.12/urllib/request.py", line 215, in urlopen
return opener.open(url, data, timeout)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/rvl1421/miniconda3/envs/dhe/lib/python3.12/urllib/request.py", line 521, in open
response = meth(req, response)
^^^^^^^^^^^^^^^^^^^
File "/home/rvl1421/miniconda3/envs/dhe/lib/python3.12/urllib/request.py", line 630, in http_response
response = self.parent.error(
^^^^^^^^^^^^^^^^^^
File "/home/rvl1421/miniconda3/envs/dhe/lib/python3.12/urllib/request.py", line 559, in error
return self._call_chain(*args)
^^^^^^^^^^^^^^^^^^^^^^^
File "/home/rvl1421/miniconda3/envs/dhe/lib/python3.12/urllib/request.py", line 492, in _call_chain
result = func(*args)
^^^^^^^^^^^
File "/home/rvl1421/miniconda3/envs/dhe/lib/python3.12/urllib/request.py", line 639, in http_error_default
raise HTTPError(req.full_url, code, msg, hdrs, fp)
urllib.error.HTTPError: HTTP Error 404: Condition Intercepted
Can I download this model from huggingface?
The text was updated successfully, but these errors were encountered:
Hi,
I tried to run the following command
python3 finetune.py --datasets_folder=./datasets_vg/datasets --dataset_name=pitts30k --epochs_num=40 --resume_fe=./output/pretrained_model/CCT14_pitts30k.pth --resume_hr=./output/pretrained_model/initializedDHE.torch
But there are some errors.
Can I download this model from huggingface?
The text was updated successfully, but these errors were encountered: