breezedeus / CnSTD

CnSTD: 基于 PyTorch/MXNet 的 中文/英文 场景文字检测(Scene Text Detection)、数学公式检测(Mathematical Formula Detection, MFD)、篇章分析(Layout Analysis)的Python3 包
https://www.breezedeus.com/article/cnocr
Apache License 2.0
658 stars 101 forks source link

std=CnStd() 实例化时报错 #6

Closed RFHzhj closed 2 years ago

RFHzhj commented 4 years ago

[WARNING 2020-07-06 16:49:15,183 _showwarnmsg:110] /home/env/rfh_01/lib/python3.7/site-packages/mxnet/gluon/block.py:1389: UserWarning: Cannot decide type for the following arguments. Consider providing them as input: data: None input_sym_arg_type = in_param.infer_type()[0]

terminate called after throwing an instance of 'dmlc::Error' what(): [16:49:15] src/ndarray/ndarray.cc:1851: Check failed: fi->Read(data): Invalid NDArray file format Stack trace: [bt] (0) /home/env/rfh_01/lib/python3.7/site-packages/mxnet/libmxnet.so(+0x307d3b) [0x7ff22424cd3b] [bt] (1) /home/env/rfh_01/lib/python3.7/site-packages/mxnet/libmxnet.so(mxnet::NDArray::Load(dmlc::Stream, std::vector<mxnet::NDArray, std::allocator >, std::vector<std::string, std::allocator >*)+0x1d6) [0x7ff22752b146]

Aborted (core dumped)

求大佬指点

breezedeus commented 4 years ago

看看是不是mxnet版本不对