Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 7b245db

Browse files
Warning for inception_v3
1 parent 855808f commit 7b245db

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

examples/imagenet/main_amp.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -190,8 +190,9 @@ def resume():
190190
valdir = os.path.join(args.data, 'val')
191191

192192
if(args.arch == "inception_v3"):
193-
crop_size = 299
194-
val_size = 320 # I chose this value arbitrarily, we can adjust.
193+
raise RuntimeError("Currently, inception_v3 is not supported by this example.")
194+
# crop_size = 299
195+
# val_size = 320 # I chose this value arbitrarily, we can adjust.
195196
else:
196197
crop_size = 224
197198
val_size = 256

0 commit comments

Comments
 (0)