BenLag2906 opened a new issue #11944: Issue in exporting gluon model
URL: https://github.com/apache/incubator-mxnet/issues/11944
 
 
   Hi
   
   I train a CNN with python under mxnet gluon, when i try to use my model 
exported with command :
   "net.export('model', epoch=1) ", mys C++ code crash when i call 
MXPredsetInput.
   My c++ code  works with a SSD model trained on another github.
   
   I am under Windows.
   
   
   Diag :
   ----------Python Info----------
   ('Version      :', '2.7.0')
   ('Compiler     :', 'MSC v.1500 64 bit (AMD64)')
   ('Build        :', ('r27:82525', 'Jul  4 2010 07:43:08'))
   ('Arch         :', ('64bit', 'WindowsPE'))
   ------------Pip Info-----------
   ('Version      :', '9.0.1')
   ('Directory    :', 'C:\\python27\\lib\\site-packages\\pip')
   ----------MXNet Info-----------
   C:\python27\lib\site-packages\h5py\__init__.py:36: FutureWarning: Conversion 
of the second argument of issubdtype from `float` to `np.floating` is 
deprecated. In future, it will be treated as `np.float64 == 
np.dtype(float).type`.
     from ._conv import register_converters as _register_converters
   ('Version      :', '1.2.0')
   ('Directory    :', 'C:\\python27\\lib\\site-packages\\mxnet')
   Hashtag not found. Not installed from pre-built package.
   ----------System Info----------
   ('Platform     :', 'Windows-post2008Server-6.2.9200')
   ('system       :', 'Windows')
   ('node         :', 'BEWORK009')
   ('release      :', 'post2008Server')
   ('version      :', '6.2.9200')
   ----------Hardware Info----------
   ('machine      :', 'AMD64')
   ('processor    :', 'Intel64 Family 6 Model 60 Stepping 3, GenuineIntel')
   Name
   Intel(R) Core(TM) i5-4570 CPU @ 3.20GHz
   
   ----------Network Test----------
   Setting timeout: 10
   Error open MXNet: https://github.com/apache/incubator-mxnet, <urlopen error 
[Errno 1] _ssl.c:499: error:1407742E:SSL routines:SSL23_GET_SERVER_HELLO:tlsv1 
alert protocol version>, DNS finished in 0.101999998093 sec.
   Error open PYPI: https://pypi.python.org/pypi/pip, <urlopen error [Errno 1] 
_ssl.c:499: error:1407742E:SSL routines:SSL23_GET_SERVER_HELLO:tlsv1 alert 
protocol version>, DNS finished in 0.055999994278 sec.
   Timing for FashionMNIST: 
https://apache-mxnet.s3-accelerate.dualstack.amazonaws.com/gluon/dataset/fashion-mnist/train-labels-idx1-ubyte.gz,
 DNS: 0.0690 sec, LOAD: 1.1940 sec.
   Timing for Conda: https://repo.continuum.io/pkgs/free/, DNS: 0.0590 sec, 
LOAD: 0.5300 sec.
   Error open Gluon Tutorial(en): http://gluon.mxnet.io, <urlopen error [Errno 
1] _ssl.c:499: error:14077410:SSL routines:SSL23_GET_SERVER_HELLO:sslv3 alert 
handshake failure>, DNS finished in 0.0729999542236 sec.
   Error open Gluon Tutorial(cn): https://zh.gluon.ai, <urlopen error [Errno 1] 
_ssl.c:499: error:14077410:SSL routines:SSL23_GET_SERVER_HELLO:sslv3 alert 
handshake failure>, DNS finished in 0.226999998093 sec.
   
   My Compiler is Visual studio:
   
   1. We check size of input data, name of input model ( 1st layer)
   
   
   I join you the model exported json file.
   
   
[export_test.zip](https://github.com/apache/incubator-mxnet/files/2244714/export_test.zip)
   
   Could you please give a piece of advise ?

----------------------------------------------------------------
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:
[email protected]


With regards,
Apache Git Services

Reply via email to