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
21603531
Unverified
Commit
21603531
authored
Feb 25, 2020
by
Lutz Roeder
Committed by
GitHub
Feb 25, 2020
Browse files
Remove constants from DenseNet (#1721) (#1907)
parent
53066353
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
2 deletions
+0
-2
torchvision/models/densenet.py
torchvision/models/densenet.py
+0
-2
No files found.
torchvision/models/densenet.py
View file @
21603531
...
@@ -139,8 +139,6 @@ class DenseNet(nn.Module):
...
@@ -139,8 +139,6 @@ class DenseNet(nn.Module):
but slower. Default: *False*. See `"paper" <https://arxiv.org/pdf/1707.06990.pdf>`_
but slower. Default: *False*. See `"paper" <https://arxiv.org/pdf/1707.06990.pdf>`_
"""
"""
__constants__
=
[
'features'
]
def
__init__
(
self
,
growth_rate
=
32
,
block_config
=
(
6
,
12
,
24
,
16
),
def
__init__
(
self
,
growth_rate
=
32
,
block_config
=
(
6
,
12
,
24
,
16
),
num_init_features
=
64
,
bn_size
=
4
,
drop_rate
=
0
,
num_classes
=
1000
,
memory_efficient
=
False
):
num_init_features
=
64
,
bn_size
=
4
,
drop_rate
=
0
,
num_classes
=
1000
,
memory_efficient
=
False
):
...
...
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