You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@mxnet.apache.org by GitBox <gi...@apache.org> on 2020/11/05 17:27:57 UTC

[GitHub] [incubator-mxnet] MOAZ47 commented on issue #3985: model‘s json file load error?

MOAZ47 commented on issue #3985:
URL: https://github.com/apache/incubator-mxnet/issues/3985#issuecomment-722523081


   Hi, I would like to know how did you solve your json load issue. I am facing a similar issue, and have tried the things in this thread, but none of them work. This is the error I see,
   
   `/usr/local/lib/python2.7/dist-packages/mxnet/symbol/symbol.pyc in load_json(json_str)
      2750         raise TypeError('fname required to be string')
      2751     handle = SymbolHandle()
   -> 2752     check_call(_LIB.MXSymbolCreateFromJSON(c_str(json_str), ctypes.byref(handle)))
      2753     return Symbol(handle)
      2754 
   
   /usr/local/lib/python2.7/dist-packages/mxnet/base.pyc in check_call(ret)
       251     """
       252     if ret != 0:
   --> 253         raise MXNetError(py_str(_LIB.MXGetLastError()))
       254 
       255 
   
   MXNetError: [17:23:36] /home/travis/build/dmlc/mxnet-distro/mxnet-build/3rdparty/dmlc-core/include/dmlc/././json.h:731: Check failed: ch == '{' (60 vs. {) : Error at Line 5, around ^`!DOCTYPE html>`, Expect '{' but get '<'
   Stack trace:
     [bt] (0) /usr/local/lib/python2.7/dist-packages/mxnet/libmxnet.so(+0x2795cb) [0x7fefb1f395cb]
     [bt] (1) /usr/local/lib/python2.7/dist-packages/mxnet/libmxnet.so(+0x3f9ce63) [0x7fefb5c5ce63]
     [bt] (2) /usr/local/lib/python2.7/dist-packages/mxnet/libmxnet.so(+0x3fae7f6) [0x7fefb5c6e7f6]
     [bt] (3) /usr/local/lib/python2.7/dist-packages/mxnet/libmxnet.so(+0x3fa7708) [0x7fefb5c67708]
     [bt] (4) /usr/local/lib/python2.7/dist-packages/mxnet/libmxnet.so(+0x3fa82ba) [0x7fefb5c682ba]
     [bt] (5) /usr/local/lib/python2.7/dist-packages/mxnet/libmxnet.so(+0x25aceb1) [0x7fefb426ceb1]
     [bt] (6) /usr/local/lib/python2.7/dist-packages/mxnet/libmxnet.so(+0x3f7259d) [0x7fefb5c3259d]
     [bt] (7) /usr/local/lib/python2.7/dist-packages/mxnet/libmxnet.so(+0x25ba7ff) [0x7fefb427a7ff]
     [bt] (8) /usr/local/lib/python2.7/dist-packages/mxnet/libmxnet.so(+0x25aceb1) [0x7fefb426ceb1]`
   
   


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to 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



---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@mxnet.apache.org
For additional commands, e-mail: issues-help@mxnet.apache.org