You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mxnet.apache.org by GitBox <gi...@apache.org> on 2018/07/25 05:14:07 UTC

[GitHub] Faldict commented on issue #11325: [MXNET-703] TensorRT runtime integration

Faldict commented on issue #11325: [MXNET-703] TensorRT runtime integration
URL: https://github.com/apache/incubator-mxnet/pull/11325#issuecomment-407635586
 
 
    @mkolod Thanks for your efforts.
   But when built this PR, I have met some unexpected problems. 
   
   ```
   src/executor/onnx_to_tensorrt.cc: In function ‘nvinfer1::ICudaEngine* onnx_to_tensorrt::onnxToTrtCtx(const string&, int32_t, size_t, nvinfer1::ILogger::Severity, bool)’:
   src/executor/onnx_to_tensorrt.cc:96:19: error: expected id-expression before ‘::’ token
      ::ONNX_NAMESPACE::ModelProto parsed_model;
                      ^
   src/executor/onnx_to_tensorrt.cc:99:8: error: ‘parsed_model’ was not declared in this scope
      if (!parsed_model.ParseFromString(onnx_model)) {
           ^
   src/executor/onnx_to_tensorrt.cc:108:27: error: expected id-expression before ‘::’ token
              ::ONNX_NAMESPACE::NodeProto const& node =
                              ^
   src/executor/onnx_to_tensorrt.cc:111:27: error: ‘node’ was not declared in this scope
                   << " [" << node.op_type();
   ```
   Could you please help to solve it?

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services