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
(myconda) root@6bdd6e0be92e:/home# python 1.py
Model file /root/.encoding/models/resnet50s-a75c83cf.pth is not found. Downloading.
Downloading /root/.encoding/models/resnet50s-a75c83cf.zip from https://s3.us-west-1.wasabisys.com/encoding/models/resnet50s-a75c83cf.zip...
Traceback (most recent call last):
File "1.py", line 5, in
model = encoding.models.get_model('EncNet_ResNet50s_ADE', pretrained=True)
File "/root/miniconda3/envs/myconda/lib/python3.8/site-packages/encoding/models/model_zoo.py", line 76, in get_model
net = modelsname
File "/root/miniconda3/envs/myconda/lib/python3.8/site-packages/encoding/models/sseg/encnet.py", line 224, in get_encnet_resnet50_ade
return get_encnet('ade20k', 'resnet50s', pretrained, root=root, aux=True,
File "/root/miniconda3/envs/myconda/lib/python3.8/site-packages/encoding/models/sseg/encnet.py", line 140, in get_encnet
model = EncNet(datasets[dataset.lower()].NUM_CLASS, backbone=backbone, root=root, **kwargs)
File "/root/miniconda3/envs/myconda/lib/python3.8/site-packages/encoding/models/sseg/encnet.py", line 23, in init
super(EncNet, self).init(nclass, backbone, aux, se_loss,
File "/root/miniconda3/envs/myconda/lib/python3.8/site-packages/encoding/models/sseg/base.py", line 69, in init
self.pretrained = get_backbone(backbone, pretrained=True, dilated=dilated,
File "/root/miniconda3/envs/myconda/lib/python3.8/site-packages/encoding/models/sseg/base.py", line 51, in get_backbone
net = modelsname
File "/root/miniconda3/envs/myconda/lib/python3.8/site-packages/encoding/models/backbone/resnet_variants.py", line 21, in resnet50s
get_model_file('resnet50s', root=root)), strict=False)
File "/root/miniconda3/envs/myconda/lib/python3.8/site-packages/encoding/models/model_store.py", line 103, in get_model_file
download(_url_format.format(repo_url=repo_url, file_name=file_name),
File "/root/miniconda3/envs/myconda/lib/python3.8/site-packages/encoding/utils/files.py", line 61, in download
raise RuntimeError("Failed downloading url %s"%url)
RuntimeError: Failed downloading url https://s3.us-west-1.wasabisys.com/encoding/models/resnet50s-a75c83cf.zip
(myconda) root@6bdd6e0be92e:/home#
In 1.py,
import torch
import encoding
model = encoding.models.get_model('EncNet_ResNet50s_ADE', pretrained=True)
Hi, please see the outputs,
In 1.py,
I copied the address 'https://s3.us-west-1.wasabisys.com/encoding/models/resnet50s-a75c83cf.zip' to Chrome, but got some errors,
The text was updated successfully, but these errors were encountered: