PaddlePaddle/Anakin

fluid2Anakin failed at the beginning

ljayx opened this issue · 2 comments

ljayx commented

I'm trying to convert fluid model to anakin, but I got an error in the very beginning. Hope you can help me.

Issue:

ERROR: flag 'logtostderr' was defined more than once (in files '/tmp/glog-20171216-78363-w0y7q0/glog-0.3.5/src/logging.cc' and '/Users/python2/yangjiabin/PR/Paddle/build/third_party/glog/src/extern_glog/src/logging.cc').

ps: /Users/python2/yangjiabin/... this is not my path.

Env:
laptop: MacOSX 10.12.6
fluid model: MobileNetV1: model+params (pretrained models of paddlepaddle official)
Anakin branch: developing (already up to date)

config.yaml:

OPTIONS:
  Framework: FLUID
  SavePath: ./model/mobilenet_v1/output
  ResultName: MobileNetV1_fluid
  Config:
    LaunchBoard: ON
    Server:
      ip: 127.0.0.1
      port: 6007
    OptimizedGraph:
      enable: ON
      path: ./model/mobilenet_v1/output/MobileNetV1_fluid.anakin.bin
  LOGGER:
    LogToPath: ./model/mobilenet_v1/log/
    WithColor: ON

TARGET:
  CAFFE:
    # path to proto files
    ProtoPaths:
      - 
    PrototxtPath: 
    ModelPath: 
    Remark:  # Generally no need to modify.

  FLUID:
    # path of fluid inference model
    Debug: NULL                            # Generally no need to modify.
    ModelPath: /Users/xxx/MobileNetV1/fluid
    NetType:                               # Generally no need to modify.

Any comments will be appreciated.
Thanks in advance!

您好,上面的错误是 paddle fluid 带进来的,请确认您所依赖的 fluid 版本。推荐您找一个 linux 环境,依赖 fluid 的稳定版,再试一次。谢谢!

ljayx commented

在linux上没问题