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/05/23 01:45:48 UTC

[GitHub] vrakesh opened a new issue #11028: Pre-trained Shufflenet model fails during inference on mxnet-mkl==1.2.0

vrakesh opened a new issue #11028: Pre-trained  Shufflenet model fails during inference on mxnet-mkl==1.2.0
URL: https://github.com/apache/incubator-mxnet/issues/11028
 
 
   Note: Providing complete information in the most concise form is the best way to get help. This issue template serves as the checklist for essential information to most of the technical issues and bug reports. For non-technical issues and feature requests, feel free to present the information in what you believe is the best form.
   
   For Q & A and discussion, please start a discussion thread at https://discuss.mxnet.io 
   
   ## Description
   Shufflenet pre-trained model, inference run, produces a error in mxnet-mkl 1.2, this error does not occur in older versions or mxnet==1.2
   
   
   
   ## Environment info (Required)
   python diagnose.py 
   ----------Python Info----------
   Version      : 3.6.5
   Compiler     : GCC 4.2.1 Compatible Apple LLVM 9.0.0 (clang-900.0.39.2)
   Build        : ('default', 'Apr 25 2018 14:26:36')
   Arch         : ('64bit', '')
   ------------Pip Info-----------
   Version      : 10.0.1
   Directory    : /Users/Workspace/devenv/lib/python3.6/site-packages/pip
   ----------MXNet Info-----------
   Version      : 1.2.0
   Directory    : /Users/Workspace/devenv/lib/python3.6/site-packages/mxnet
   Commit Hash   : 297c64fd2ee404612aa3ecc880b940fb2538039c
   ----------System Info----------
   Platform     : Darwin-16.7.0-x86_64-i386-64bit
   system       : Darwin
   node         : localhost
   release      : 16.7.0
   version      : Darwin Kernel Version 16.7.0: Tue Jan 30 11:27:06 PST 2018; root:xnu-3789.73.11~1/RELEASE_X86_64
   ----------Hardware Info----------
   machine      : x86_64
   processor    : i386
   b'machdep.cpu.extfeatures: SYSCALL XD 1GBPAGE EM64T LAHF LZCNT PREFETCHW RDTSCP TSCI'
   b'machdep.cpu.leaf7_features: SMEP ERMS RDWRFSGS TSC_THREAD_OFFSET BMI1 AVX2 BMI2 INVPCID SMAP RDSEED ADX IPT SGX FPU_CSDS MPX CLFSOPT'
   b'machdep.cpu.features: FPU VME DE PSE TSC MSR PAE MCE CX8 APIC SEP MTRR PGE MCA CMOV PAT PSE36 CLFSH DS ACPI MMX FXSR SSE SSE2 SS HTT TM PBE SSE3 PCLMULQDQ DTES64 MON DSCPL VMX EST TM2 SSSE3 FMA CX16 TPR PDCM SSE4.1 SSE4.2 x2APIC MOVBE POPCNT AES PCID XSAVE OSXSAVE SEGLIM64 TSCTMR AVX1.0 RDRAND F16C'
   b'machdep.cpu.brand_string: Intel(R) Core(TM) i7-7700HQ CPU @ 2.80GHz'
   
   ```
   What to do:
   1. Download the diagnosis script from https://raw.githubusercontent.com/apache/incubator-mxnet/master/tools/diagnose.py
   2. Run the script using `python diagnose.py` and paste its output here.
   
   ```
   
   Package used (Python/R/Scala/Julia):
   I'm using python
   
   For Scala user, please provide:
   1. Java version: (`java -version`)
   2. Maven version: (`mvn -version`)
   3. Scala runtime if applicable: (`scala -version`)
   
   For R user, please provide R `sessionInfo()`:
   
   ## Build info (Required if built from source)
   
   Compiler (gcc/clang/mingw/visual studio):
   
   MXNet commit hash:
   (Paste the output of `git rev-parse HEAD` here.)
   
   Build config:
   (Paste the content of config.mk, or the build command.)
   
   ## Error Message:
   File "shuffle.py", line 27, in <module>
       output = mx_model.get_outputs()[0].asnumpy()
     File "/Users/rakvas/Workspace/devenv/lib/python3.6/site-packages/mxnet/ndarray/ndarray.py", line 1876, in asnumpy
       ctypes.c_size_t(data.size)))
     File "/Users/rakvas/Workspace/devenv/lib/python3.6/site-packages/mxnet/base.py", line 149, in check_call
       raise MXNetError(py_str(_LIB.MXGetLastError()))
   mxnet.base.MXNetError: [18:05:45] src/operator/tensor/../tensor/elemwise_unary_op.h:301: Check failed: inputs[0].dptr_ == outputs[0].dptr_ (0x7fa99f41b000 vs. 0x7fa99f435200) 
   
   Stack trace returned 10 entries:
   [bt] (0) 0   libmxnet.so                         0x000000010fef8684 libmxnet.so + 26244
   [bt] (1) 1   libmxnet.so                         0x000000010fef843f libmxnet.so + 25663
   [bt] (2) 2   libmxnet.so                         0x0000000110316021 libmxnet.so + 4341793
   [bt] (3) 3   libmxnet.so                         0x0000000110ff4993 MXNDListFree + 139843
   [bt] (4) 4   libmxnet.so                         0x0000000111015705 MXNDListFree + 274357
   [bt] (5) 5   libmxnet.so                         0x0000000110fe526c MXNDListFree + 76572
   [bt] (6) 6   libmxnet.so                         0x0000000110fe7fe1 MXNDListFree + 88209
   [bt] (7) 7   libmxnet.so                         0x0000000110fe7ef7 MXNDListFree + 87975
   [bt] (8) 8   libmxnet.so                         0x0000000110fe5fe5 MXNDListFree + 80021
   [bt] (9) 9   libsystem_pthread.dylib             0x00007fffa9e2a93b _pthread_body + 180
   
   ## Minimum reproducible example
   reproducible test package https://s3.amazonaws.com/shufflenet-package/shufflenet.zip
   
   
   ## Steps to reproduce
   1. Extract zip and 
   2. run `python shuffle.py` under different mxnet version installations 
   
   ## What have you tried to solve it?
   
   1. mxnet, 1.2 works
   2.
   

----------------------------------------------------------------
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