无法成功运行官网命令
Created by: leochen86
我使用的是paddle 0.14.0的docker镜像,运行在mac环境,按照官网pip成功安装后,运行vdl_create_scratch_log,visualdl --logdir=scratch_log --port=8080 均以失败告终,请求指导
[root@d1dae57a567d paddleprogram]# vdl_create_scratch_log [WARNING 2018-08-23 11:44:43,299 vdl_create_scratch_log:221] download ONNX file from https://github.com/PaddlePaddle/VisualDL/blob/develop/demo/mnist_model.onnx?raw=true Traceback (most recent call last): File "/usr/bin/vdl_create_scratch_log", line 228, in download_onnx() File "/usr/bin/vdl_create_scratch_log", line 222, in download_onnx onnx_model = ur.urlopen(onnx_url, context=myssl).read() TypeError: urlopen() got an unexpected keyword argument 'context'
[root@d1dae57a567d paddleprogram]# visualdl --logdir=scratch_log --port=8080 Traceback (most recent call last): File "/usr/bin/visualdl", line 29, in import visualdl.server.graph as vdl_graph File "/usr/lib64/python2.7/site-packages/visualdl/server/graph.py", line 23, in from . import onnx File "/usr/lib64/python2.7/site-packages/visualdl/server/onnx/init.py", line 8, in from .onnx_pb2 import ModelProto File "/usr/lib64/python2.7/site-packages/visualdl/server/onnx/onnx_pb2.py", line 213, in options=None, file=DESCRIPTOR), TypeError: init() got an unexpected keyword argument 'file'