未验证 提交 dfcceac0 编写于 作者: I iamWHTWD 提交者: GitHub

Update test_demo.py (#1436)

上级 8b445e9e
...@@ -33,12 +33,12 @@ class ACTDemo(unittest.TestCase): ...@@ -33,12 +33,12 @@ class ACTDemo(unittest.TestCase):
super(ACTDemo, self).__init__(*args, **kwargs) super(ACTDemo, self).__init__(*args, **kwargs)
if not os.path.exists('MobileNetV1_infer'): if not os.path.exists('MobileNetV1_infer'):
os.system( os.system(
'wget https://paddle-imagenet-models-name.bj.bcebos.com/dygraph/inference/MobileNetV1_infer.tar' 'wget -q https://paddle-imagenet-models-name.bj.bcebos.com/dygraph/inference/MobileNetV1_infer.tar'
) )
os.system('tar -xf MobileNetV1_infer.tar') os.system('tar -xf MobileNetV1_infer.tar')
if not os.path.exists('ILSVRC2012_data_demo'): if not os.path.exists('ILSVRC2012_data_demo'):
os.system( os.system(
'wget https://sys-p0.bj.bcebos.com/slim_ci/ILSVRC2012_data_demo.tar.gz' 'wget -q https://sys-p0.bj.bcebos.com/slim_ci/ILSVRC2012_data_demo.tar.gz'
) )
os.system('tar -xf ILSVRC2012_data_demo.tar.gz') os.system('tar -xf ILSVRC2012_data_demo.tar.gz')
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册