Created
January 11, 2018 20:10
-
-
Save aodhan-domhnaill/17db427a6404d0588326d7d91ca08fc7 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
>>> from mxnet import nd | |
>>> a = nd.arange(20).reshape((10, 2)) | |
>>> b = nd.arange(10).reshape((10, 1)) | |
>>> nd.stack(a, b) | |
[12:09:05] /Users/travis/build/dmlc/mxnet-distro/mxnet-build/dmlc-core/include/dmlc/logging.h:308: [12:09:05] include/mxnet/./tensor_blob.h:276: Check failed: this->shape_.Size() == shape.Size() (10 vs. 20) TBlob.get_with_shape: new and old shape do not match total elements | |
Stack trace returned 10 entries: | |
[bt] (0) 0 libmxnet.so 0x000000010f0d1898 _ZN4dmlc15LogMessageFatalD2Ev + 40 | |
[bt] (1) 1 libmxnet.so 0x000000010f0f4797 _ZNK5mxnet5TBlob14get_with_shapeIN7mshadow3cpuELi3EfEENS2_6TensorIT_XT0_ET1_EERKNS2_5ShapeIXT0_EEEPNS2_6StreamIS5_EE + 807 | |
[bt] (2) 2 libmxnet.so 0x000000010ff0fd9f _ZN5mxnet2op14StackOpForwardIN7mshadow3cpuEEEvRKN4nnvm9NodeAttrsERKNS_9OpContextERKNSt3__16vectorINS_5TBlobENSB_9allocatorISD_EEEERKNSC_INS_9OpReqTypeENSE_ISJ_EEEESI_ + 5935 | |
[bt] (3) 3 libmxnet.so 0x000000011005b40b _ZZN5mxnet10imperative12PushFComputeERKNSt3__18functionIFvRKN4nnvm9NodeAttrsERKNS_9OpContextERKNS1_6vectorINS_5TBlobENS1_9allocatorISB_EEEERKNSA_INS_9OpReqTypeENSC_ISH_EEEESG_EEEPKNS3_2OpES6_RKNS_7ContextERKNSA_IPNS_6engine3VarENSC_ISY_EEEES12_RKNSA_INS_8ResourceENSC_IS13_EEEERKNSA_IPNS_7NDArrayENSC_IS19_EEEES1D_RKNSA_IjNSC_IjEEEESL_ENKUlNS_10RunContextEE_clES1I_ + 571 | |
[bt] (4) 4 libmxnet.so 0x000000010fff4f32 _ZNSt3__110__function6__funcIZN5mxnet6engine14ThreadedEngine8PushSyncENS_8functionIFvNS2_10RunContextEEEENS2_7ContextERKNS_6vectorIPNS3_3VarENS_9allocatorISC_EEEESH_NS2_10FnPropertyEiPKcE3$_1NSD_ISL_EEFvS6_NS3_18CallbackOnCompleteEEEclEOS6_OSN_ + 50 | |
[bt] (5) 5 libmxnet.so 0x000000010fff7812 _ZN5mxnet6engine14ThreadedEngine15ExecuteOprBlockENS_10RunContextEPNS0_8OprBlockE + 386 | |
[bt] (6) 6 libmxnet.so 0x000000010fffa691 _ZNSt3__128__invoke_void_return_wrapperIvE6__callIJRZZN5mxnet6engine23ThreadedEnginePerDevice13PushToExecuteEPNS4_8OprBlockEbENKUlvE_clEvEUlNS_10shared_ptrINS4_10ThreadPool11SimpleEventEEEE_SC_EEEvDpOT_ + 145 | |
[bt] (7) 7 libmxnet.so 0x000000010fff8249 _ZNSt3__114__thread_proxyINS_5tupleIJNS_8functionIFvNS_10shared_ptrIN5mxnet6engine10ThreadPool11SimpleEventEEEEEES8_EEEEEPvSC_ + 137 | |
[bt] (8) 8 libsystem_pthread.dylib 0x00007fffc391793b _pthread_body + 180 | |
[bt] (9) 9 libsystem_pthread.dylib 0x00007fffc3917887 _pthread_body + 0 | |
[12:09:05] /Users/travis/build/dmlc/mxnet-distro/mxnet-build/dmlc-core/include/dmlc/logging.h:308: [12:09:05] src/engine/./threaded_engine.h:359: [12:09:05] include/mxnet/./tensor_blob.h:276: Check failed: this->shape_.Size() == shape.Size() (10 vs. 20) TBlob.get_with_shape: new and old shape do not match total elements | |
Stack trace returned 10 entries: | |
[bt] (0) 0 libmxnet.so 0x000000010f0d1898 _ZN4dmlc15LogMessageFatalD2Ev + 40 | |
[bt] (1) 1 libmxnet.so 0x000000010f0f4797 _ZNK5mxnet5TBlob14get_with_shapeIN7mshadow3cpuELi3EfEENS2_6TensorIT_XT0_ET1_EERKNS2_5ShapeIXT0_EEEPNS2_6StreamIS5_EE + 807 | |
[bt] (2) 2 libmxnet.so 0x000000010ff0fd9f _ZN5mxnet2op14StackOpForwardIN7mshadow3cpuEEEvRKN4nnvm9NodeAttrsERKNS_9OpContextERKNSt3__16vectorINS_5TBlobENSB_9allocatorISD_EEEERKNSC_INS_9OpReqTypeENSE_ISJ_EEEESI_ + 5935 | |
[bt] (3) 3 libmxnet.so 0x000000011005b40b _ZZN5mxnet10imperative12PushFComputeERKNSt3__18functionIFvRKN4nnvm9NodeAttrsERKNS_9OpContextERKNS1_6vectorINS_5TBlobENS1_9allocatorISB_EEEERKNSA_INS_9OpReqTypeENSC_ISH_EEEESG_EEEPKNS3_2OpES6_RKNS_7ContextERKNSA_IPNS_6engine3VarENSC_ISY_EEEES12_RKNSA_INS_8ResourceENSC_IS13_EEEERKNSA_IPNS_7NDArrayENSC_IS19_EEEES1D_RKNSA_IjNSC_IjEEEESL_ENKUlNS_10RunContextEE_clES1I_ + 571 | |
[bt] (4) 4 libmxnet.so 0x000000010fff4f32 _ZNSt3__110__function6__funcIZN5mxnet6engine14ThreadedEngine8PushSyncENS_8functionIFvNS2_10RunContextEEEENS2_7ContextERKNS_6vectorIPNS3_3VarENS_9allocatorISC_EEEESH_NS2_10FnPropertyEiPKcE3$_1NSD_ISL_EEFvS6_NS3_18CallbackOnCompleteEEEclEOS6_OSN_ + 50 | |
[bt] (5) 5 libmxnet.so 0x000000010fff7812 _ZN5mxnet6engine14ThreadedEngine15ExecuteOprBlockENS_10RunContextEPNS0_8OprBlockE + 386 | |
[bt] (6) 6 libmxnet.so 0x000000010fffa691 _ZNSt3__128__invoke_void_return_wrapperIvE6__callIJRZZN5mxnet6engine23ThreadedEnginePerDevice13PushToExecuteEPNS4_8OprBlockEbENKUlvE_clEvEUlNS_10shared_ptrINS4_10ThreadPool11SimpleEventEEEE_SC_EEEvDpOT_ + 145 | |
[bt] (7) 7 libmxnet.so 0x000000010fff8249 _ZNSt3__114__thread_proxyINS_5tupleIJNS_8functionIFvNS_10shared_ptrIN5mxnet6engine10ThreadPool11SimpleEventEEEEEES8_EEEEEPvSC_ + 137 | |
[bt] (8) 8 libsystem_pthread.dylib 0x00007fffc391793b _pthread_body + 180 | |
[bt] (9) 9 libsystem_pthread.dylib 0x00007fffc3917887 _pthread_body + 0 | |
A fatal error occurred in asynchronous engine operation. If you do not know what caused this error, you can try set environment variable MXNET_ENGINE_TYPE to NaiveEngine and run with debugger (i.e. gdb). This will force all operations to be synchronous and backtrace will give you the series of calls that lead to this error. Remember to set MXNET_ENGINE_TYPE back to empty after debugging. | |
Stack trace returned 7 entries: | |
[bt] (0) 0 libmxnet.so 0x000000010f0d1898 _ZN4dmlc15LogMessageFatalD2Ev + 40 | |
[bt] (1) 1 libmxnet.so 0x000000010fff7aeb _ZN5mxnet6engine14ThreadedEngine15ExecuteOprBlockENS_10RunContextEPNS0_8OprBlockE + 1115 | |
[bt] (2) 2 libmxnet.so 0x000000010fffa691 _ZNSt3__128__invoke_void_return_wrapperIvE6__callIJRZZN5mxnet6engine23ThreadedEnginePerDevice13PushToExecuteEPNS4_8OprBlockEbENKUlvE_clEvEUlNS_10shared_ptrINS4_10ThreadPool11SimpleEventEEEE_SC_EEEvDpOT_ + 145 | |
[bt] (3) 3 libmxnet.so 0x000000010fff8249 _ZNSt3__114__thread_proxyINS_5tupleIJNS_8functionIFvNS_10shared_ptrIN5mxnet6engine10ThreadPool11SimpleEventEEEEEES8_EEEEEPvSC_ + 137 | |
[bt] (4) 4 libsystem_pthread.dylib 0x00007fffc391793b _pthread_body + 180 | |
[bt] (5) 5 libsystem_pthread.dylib 0x00007fffc3917887 _pthread_body + 0 | |
[bt] (6) 6 libsystem_pthread.dylib 0x00007fffc391708d thread_start + 13 | |
libc++abi.dylib: terminating with uncaught exception of type dmlc::Error: [12:09:05] src/engine/./threaded_engine.h:359: [12:09:05] include/mxnet/./tensor_blob.h:276: Check failed: this->shape_.Size() == shape.Size() (10 vs. 20) TBlob.get_with_shape: new and old shape do not match total elements | |
Stack trace returned 10 entries: | |
[bt] (0) 0 libmxnet.so 0x000000010f0d1898 _ZN4dmlc15LogMessageFatalD2Ev + 40 | |
[bt] (1) 1 libmxnet.so 0x000000010f0f4797 _ZNK5mxnet5TBlob14get_with_shapeIN7mshadow3cpuELi3EfEENS2_6TensorIT_XT0_ET1_EERKNS2_5ShapeIXT0_EEEPNS2_6StreamIS5_EE + 807 | |
[bt] (2) 2 libmxnet.so 0x000000010ff0fd9f _ZN5mxnet2op14StackOpForwardIN7mshadow3cpuEEEvRKN4nnvm9NodeAttrsERKNS_9OpContextERKNSt3__16vectorINS_5TBlobENSB_9allocatorISD_EEEERKNSC_INS_9OpReqTypeENSE_ISJ_EEEESI_ + 5935 | |
[bt] (3) 3 libmxnet.so 0x000000011005b40b _ZZN5mxnet10imperative12PushFComputeERKNSt3__18functionIFvRKN4nnvm9NodeAttrsERKNS_9OpContextERKNS1_6vectorINS_5TBlobENS1_9allocatorISB_EEEERKNSA_INS_9OpReqTypeENSC_ISH_EEEESG_EEEPKNS3_2OpES6_RKNS_7ContextERKNSA_IPNS_6engine3VarENSC_ISY_EEEES12_RKNSA_INS_8ResourceENSC_IS13_EEEERKNSA_IPNS_7NDArrayENSC_IS19_EEEES1D_RKNSA_IjNSC_IjEEEESL_ENKUlNS_10RunContextEE_clES1I_ + 571 | |
[bt] (4) 4 libmxnet.so 0x000000010fff4f32 _ZNSt3__110__function6__funcIZN5mxnet6engine14ThreadedEngine8PushSyncENS_8functionIFvNS2_10RunContextEEEENS2_7ContextERKNS_6vectorIPNS3_3VarENS_9allocatorISC_EEEESH_NS2_10FnPropertyEiPKcE3$_1NSD_ISL_EEFvS6_NS3_18CallbackOnCompleteEEEclEOS6_OSN_ + 50 | |
[bt] (5) 5 libmxnet.so 0x000000010fff7812 _ZN5mxnet6engine14ThreadedEngine15ExecuteOprBlockENS_10RunContextEPNS0_8OprBlockE + 386 | |
[bt] (6) 6 libmxnet.so 0x000000010fffa691 _ZNSt3__128__invoke_void_return_wrapperIvE6__callIJRZZN5mxnet6engine23ThreadedEnginePerDevice13PushToExecuteEPNS4_8OprBlockEbENKUlvE_clEvEUlNS_10shared_ptrINS4_10ThreadPool11SimpleEventEEEE_SC_EEEvDpOT_ + 145 | |
[bt] (7) 7 libmxnet.so 0x000000010fff8249 _ZNSt3__114__thread_proxyINS_5tupleIJNS_8functionIFvNS_10shared_ptrIN5mxnet6engine10ThreadPool11SimpleEventEEEEEES8_EEEEEPvSC_ + 137 | |
[bt] (8) 8 libsystem_pthread.dylib 0x00007fffc391793b _pthread_body + 180 | |
[bt] (9) 9 libsystem_pthread.dylib 0x00007fffc3917887 _pthread_body + 0 | |
A fatal error occurred in asynchronous engine operation. If you do not know what caused this error, you can try set environment variable MXNET_ENGINE_TYPE to NaiveEngine and run with debugger (i.e. gdb). This will force all operations to be synchronous and backtrace will give you the series of calls that lead to this error. Remember to set MXNET_ENGINE_TYPE back to empty after debugging. | |
Stack trace returned 7 entries: | |
[bt] (0) 0 libmxnet.so 0x000000010f0d1898 _ZN4dmlc15LogMessageFatalD2Ev + 40 | |
[bt] (1) 1 libmxnet.so 0x000000010fff7aeb _ZN5mxnet6engine14ThreadedEngine15ExecuteOprBlockENS_10RunContextEPNS0_8OprBlockE + 1115 | |
[bt] (2) 2 libmxnet.so 0x000000010fffa691 _ZNSt3__128__invoke_void_return_wrapperIvE6__callIJRZZN5mxnet6engine23ThreadedEnginePerDevice13PushToExecuteEPNS4_8OprBlockEbENKUlvE_clEvEUlNS_10shared_ptrINS4_10ThreadPool11SimpleEventEEEE_SC_EEEvDpOT_ + 145 | |
[bt] (3) 3 libmxnet.so 0x000000010fff8249 _ZNSt3__114__thread_proxyINS_5tupleIJNS_8functionIFvNS_10shared_ptrIN5mxnet6engine10ThreadPool11SimpleEventEEEEEES8_EEEEEPvSC_ + 137 | |
[bt] (4) 4 libsystem_pthread.dylib 0x00007fffc391793b _pthread_body + 180 | |
[bt] (5) 5 libsystem_pthread.dylib 0x00007fffc3917887 _pthread_body + 0 | |
[bt] (6) 6 libsystem_pthread.dylib 0x00007fffc391708d thread_start + 13 | |
Abort trap: 6 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment