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 2019/05/27 08:45:57 UTC

[GitHub] [incubator-mxnet] hzahn opened a new issue #15079: Conv3D crashes with layout NDHWC

hzahn opened a new issue #15079: Conv3D crashes with layout NDHWC
URL: https://github.com/apache/incubator-mxnet/issues/15079
 
 
   ## Description
   Conv3D with layout NDHWC crashes although the documentation indicates that this layout is supported.
   
   ## Environment info (Required)
   testet on:
   mxnet 1.4.1 and F1.3.0 
   python 3.6.5 and 3.5.2
   
   ----------Python Info----------
   Version      : 3.5.2
   Compiler     : GCC 4.2.1 Compatible Apple LLVM 10.0.0 (clang-1000.10.44.4)
   Build        : ('default', 'Mar 24 2019 11:05:31')
   Arch         : ('64bit', '')
   ------------Pip Info-----------
   Version      : 19.0.3
   Directory    : /Users/hagen.zahn/.pyenv/versions/py35_mxn13/lib/python3.5/site-packages/pip
   ----------MXNet Info-----------
   Version      : 1.3.0
   Directory    : /Users/hagen.zahn/.pyenv/versions/py35_mxn13/lib/python3.5/site-packages/mxnet
   Commit Hash   : b3be92f4a48bce62a5a8424271871c2f81c8f7f1
   ----------System Info----------
   Platform     : Darwin-18.6.0-x86_64-i386-64bit
   system       : Darwin
   node         : OSX099-MBP.hypoport.local
   release      : 18.6.0
   version      : Darwin Kernel Version 18.6.0: Thu Apr 25 23:16:27 PDT 2019; root:xnu-4903.261.4~2/RELEASE_X86_64
   ----------Hardware Info----------
   machine      : x86_64
   processor    : i386
   b'machdep.cpu.brand_string: Intel(R) Core(TM) i7-7820HQ CPU @ 2.90GHz'
   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 SMX 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.leaf7_features: SMEP ERMS RDWRFSGS TSC_THREAD_OFFSET BMI1 HLE AVX2 BMI2 INVPCID RTM SMAP RDSEED ADX IPT SGX FPU_CSDS MPX CLFSOPT TSXFA IBRS STIBP L1DF SSBD'
   b'machdep.cpu.extfeatures: SYSCALL XD 1GBPAGE EM64T LAHF LZCNT PREFETCHW RDTSCP TSCI'
   ----------Network Test----------
   Setting timeout: 10
   Timing for Gluon Tutorial(cn): https://zh.gluon.ai, DNS: 0.0977 sec, LOAD: 0.7894 sec.
   Timing for Conda: https://repo.continuum.io/pkgs/free/, DNS: 0.0447 sec, LOAD: 0.0508 sec.
   Timing for Gluon Tutorial(en): http://gluon.mxnet.io, DNS: 0.1259 sec, LOAD: 0.7612 sec.
   Timing for MXNet: https://github.com/apache/incubator-mxnet, DNS: 0.0027 sec, LOAD: 0.9527 sec.
   Timing for PYPI: https://pypi.python.org/pypi/pip, DNS: 0.0444 sec, LOAD: 0.5382 sec.
   Timing for FashionMNIST: https://apache-mxnet.s3-accelerate.dualstack.amazonaws.com/gluon/dataset/fashion-mnist/train-labels-idx1-ubyte.gz, DNS: 0.0635 sec, LOAD: 1.1891 sec.
   
   
   ## Error Message:
   
   Traceback (most recent call last):
     File "<stdin>", line 1, in <module>
     File "/Users/hagen.zahn/.pyenv/versions/py35_mxn13/lib/python3.5/site-packages/mxnet/ndarray/ndarray.py", line 189, in __repr__
       return '\n%s\n<%s %s @%s>' % (str(self.asnumpy()),
     File "/Users/hagen.zahn/.pyenv/versions/py35_mxn13/lib/python3.5/site-packages/mxnet/ndarray/ndarray.py", line 1972, in asnumpy
       ctypes.c_size_t(data.size)))
     File "/Users/hagen.zahn/.pyenv/versions/py35_mxn13/lib/python3.5/site-packages/mxnet/base.py", line 252, in check_call
       raise MXNetError(py_str(_LIB.MXGetLastError()))
   mxnet.base.MXNetError: [10:29:43] src/operator/nn/./convolution-inl.h:169: Check failed: param_.layout.value() == mshadow::kNCW || param_.layout.value() == mshadow::kNCHW || param_.layout.value() == mshadow::kNCDHW Only support NCW, NCHW and NCDHW layout
   
   Stack trace returned 10 entries:
   [bt] (0) 0   libmxnet.so                         0x0000000115f42b90 libmxnet.so + 15248
   [bt] (1) 1   libmxnet.so                         0x0000000115f4293f libmxnet.so + 14655
   [bt] (2) 2   libmxnet.so                         0x0000000115f42569 libmxnet.so + 13673
   [bt] (3) 3   libmxnet.so                         0x0000000116123855 libmxnet.so + 1984597
   [bt] (4) 4   libmxnet.so                         0x000000011611f587 libmxnet.so + 1967495
   [bt] (5) 5   libmxnet.so                         0x00000001174858ed MXNDListFree + 561325
   [bt] (6) 6   libmxnet.so                         0x000000011740c7f4 MXNDListFree + 65460
   [bt] (7) 7   libmxnet.so                         0x000000011740eec8 MXNDListFree + 75400
   [bt] (8) 8   libmxnet.so                         0x0000000117412261 MXNDListFree + 88609
   [bt] (9) 9   libmxnet.so                         0x000000011741217f MXNDListFree + 88383
   
   ## Minimum reproducible example
   ```python
   import mxnet
   conv = mxnet.gluon.nn.Conv3D(kernel_size=1, channels=1, layout='NDHWC')
   conv.initialize()
   print(conv(mxnet.nd.ones(shape=(1, 1, 1, 1, 1))))
   ```
   
   

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


With regards,
Apache Git Services