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

Download Pre-trained Model Failed. #57

Open
YangWulve opened this issue Jun 25, 2024 · 0 comments
Open

Download Pre-trained Model Failed. #57

YangWulve opened this issue Jun 25, 2024 · 0 comments

Comments

@YangWulve
Copy link

YangWulve commented Jun 25, 2024

Hi there,

Thank you for your great work on this project. I'm currently attempting to fine-tune the model on my dataset, but I've encountered an issue. It seems that the link to download the pre-trained model is out of date and not functioning. Could you please provide an updated link or resend it?

The error I received is as follows:
`Model file /home/e222/.encoding/models/resnet101-2a57e44d.pth is not found. Downloading.

Downloading /home/e222/.encoding/models/resnet101-2a57e44d.zip from https://hangzh.s3.amazonaws.com/encoding/models/resnet101-2a57e44d.zip...

Traceback (most recent call last):
File "train.py", line 179, in
train(cfg, logger, logdir)

File "train.py", line 69, in train
teacher = get_model(cfg["teacher"], t_loader.n_classes)

File "/home/e222/video/TDNet-master/Training/ptsemseg/models/init.py", line 30, in get_model
model = model(nclass=nclass, **param_dict)

File "/home/e222/video/TDNet-master/Training/ptsemseg/models/td4_psp/pspnet_4p.py", line 61, in init
norm_layer=norm_layer, root=root)

File "/home/e222/video/TDNet-master/Training/ptsemseg/models/td4_psp/resnet.py", line 298, in resnet101
get_model_file('resnet101', root=root)), strict=True)

File "/home/e222/video/TDNet-master/Training/ptsemseg/models/td4_psp/utils/model_store.py", line 75, in get_model_file,overwrite=True)

File "/home/e222/video/TDNet-master/Training/ptsemseg/models/td4_psp/utils/files.py", line 58, in download
raise RuntimeError("Failed downloading url %s"%url)
RuntimeError: Failed downloading url https://hangzh.s3.amazonaws.com/encoding/models/resnet101-2a57e44d.zip
`

Thank you for your assistance.

Best regards,

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