Skip to content

Commit

Permalink
modified: EI_mxnet_module_API_Resnet50.py
Browse files Browse the repository at this point in the history
  • Loading branch information
chakravn committed Jul 31, 2019
1 parent ceceaff commit 492bad2
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions ec2-spot-elastic-inference/EI_mxnet_module_API_Resnet50.py
Expand Up @@ -15,13 +15,13 @@

image = args.image

#path='http://data.mxnet.io/models/imagenet/'
path='http://data.mxnet.io/models/imagenet/'

#[mx.test_utils.download(path+'resnet/50-layers/resnet-50-0000.params'),
[mx.test_utils.download(path+'resnet/50-layers/resnet-50-0000.params'),

#mx.test_utils.download(path+'resnet/50-layers/resnet-50-symbol.json'),
mx.test_utils.download(path+'resnet/50-layers/resnet-50-symbol.json'),

#mx.test_utils.download(path+'synset.txt')]
mx.test_utils.download(path+'synset.txt')]


path = 'http://data.dmlc.ml/models/imagenet/squeezenet/'
Expand Down Expand Up @@ -88,4 +88,4 @@
for i in a[0:5]:

print('probability=%f, class=%s' %(prob[i], labels[i]))


0 comments on commit 492bad2

Please sign in to comment.