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
apex
Commits
7b245dba
Commit
7b245dba
authored
Apr 29, 2019
by
Michael Carilli
Browse files
Warning for inception_v3
parent
855808f3
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
2 deletions
+3
-2
examples/imagenet/main_amp.py
examples/imagenet/main_amp.py
+3
-2
No files found.
examples/imagenet/main_amp.py
View file @
7b245dba
...
@@ -190,8 +190,9 @@ def main():
...
@@ -190,8 +190,9 @@ def main():
valdir
=
os
.
path
.
join
(
args
.
data
,
'val'
)
valdir
=
os
.
path
.
join
(
args
.
data
,
'val'
)
if
(
args
.
arch
==
"inception_v3"
):
if
(
args
.
arch
==
"inception_v3"
):
crop_size
=
299
raise
RuntimeError
(
"Currently, inception_v3 is not supported by this example."
)
val_size
=
320
# I chose this value arbitrarily, we can adjust.
# crop_size = 299
# val_size = 320 # I chose this value arbitrarily, we can adjust.
else
:
else
:
crop_size
=
224
crop_size
=
224
val_size
=
256
val_size
=
256
...
...
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