Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
OpenDAS
vision
Commits
61399976
Unverified
Commit
61399976
authored
Nov 01, 2021
by
Vasilis Vryniotis
Committed by
GitHub
Nov 01, 2021
Browse files
Add new weights for ResNet101 and ResNet151. (#4811)
parent
5b611444
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
20 additions
and
0 deletions
+20
-0
torchvision/prototype/models/resnet.py
torchvision/prototype/models/resnet.py
+20
-0
No files found.
torchvision/prototype/models/resnet.py
View file @
61399976
...
...
@@ -114,6 +114,16 @@ class ResNet101Weights(Weights):
"acc@5"
:
93.546
,
},
)
ImageNet1K_RefV2
=
WeightEntry
(
url
=
"https://download.pytorch.org/models/resnet101-b641f3a9.pth"
,
transforms
=
partial
(
ImageNetEval
,
crop_size
=
224
,
resize_size
=
232
),
meta
=
{
**
_common_meta
,
"recipe"
:
"https://github.com/pytorch/vision/issues/3995"
,
"acc@1"
:
81.728
,
"acc@5"
:
95.670
,
},
)
class
ResNet152Weights
(
Weights
):
...
...
@@ -127,6 +137,16 @@ class ResNet152Weights(Weights):
"acc@5"
:
94.046
,
},
)
ImageNet1K_RefV2
=
WeightEntry
(
url
=
"https://download.pytorch.org/models/resnet152-089c0848.pth"
,
transforms
=
partial
(
ImageNetEval
,
crop_size
=
224
,
resize_size
=
232
),
meta
=
{
**
_common_meta
,
"recipe"
:
"https://github.com/pytorch/vision/issues/3995"
,
"acc@1"
:
82.042
,
"acc@5"
:
95.926
,
},
)
class
ResNeXt50_32x4dWeights
(
Weights
):
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment