LKYs-MacBook-Air:LKYDeepNN lky$ ./LKYDeepNN
Completed BackPropagation Layer InitializeWeights()
Completed BackPropagation Layer InitializeWeights()
Completed BackPropagation Layer InitializeWeights()
Completed BackPropagation Layer InitializeWeights()
Activation is SeLU.
Activation is Softmax.
LossFunction is CrossEntropy.
====== LKYDeepNN ======
Layer:
Input: 2
Hidden: 8-8-8-
Output: 2
Activation Function:
Hidden: SeLU
Output: Softmax
Loss Function:
Output: CrossEntropy
=======================
訓練開始
learningRate=0.008333
2019-10-10 18:03:20.550 LKYDeepNN[2436:117418] *** Terminating app due to uncaught exception 'NSInternalInconsistencyException', reason: 'NSWindow drag regions should only be invalidated on the Main Thread!'
*** First throw call stack:
(
0 CoreFoundation 0x00007fff326dad63 __exceptionPreprocess + 250
1 libobjc.A.dylib 0x00007fff685c9bd4 objc_exception_throw + 48
2 CoreFoundation 0x00007fff326f530c -[NSException raise] + 9
3 AppKit 0x00007fff2f8bf7b3 -[NSWindow(NSWindow_Theme) _postWindowNeedsToResetDragMarginsUnlessPostingDisabled] + 310
4 AppKit 0x00007fff2f8bcce1 -[NSWindow _initContent:styleMask:backing:defer:contentView:] + 1416
5 AppKit 0x00007fff2f8bc753 -[NSWindow initWithContentRect:styleMask:backing:defer:] + 42
6 AppKit 0x00007fff2fb50368 -[NSWindow initWithContentRect:styleMask:backing:defer:screen:] + 52
7 libopencv_highgui.4.1.dylib 0x00000001089db666 cvNamedWindow + 368
8 libopencv_highgui.4.1.dylib 0x00000001089db174 cvShowImage + 95
9 libopencv_highgui.4.1.dylib 0x00000001089d8c28 _ZN2cv6imshowERKNSt3__112basic_stringIcNS0_11char_traitsIcEENS0_9allocatorIcEEEERKNS_11_InputArrayE + 360
10 LKYDeepNN 0x0000000107a6fb87 _Z24Draw2DClassificationDataNSt3__112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEEENS_6vectorINS6_IdNS3_IdEEEENS3_IS8_EEEEP9LKYDeepNNS5_dddd + 2183
11 LKYDeepNN 0x0000000107a71044 _Z12DrawTrainingP9LKYDeepNNiiRKNSt3__16vectorINS2_IdNS1_9allocatorIdEEEENS3_IS5_EEEE + 1108
12 LKYDeepNN 0x0000000107a772fc _ZNSt3__114__thread_proxyINS_5tupleIJNS_10unique_ptrINS_15__thread_structENS_14default_deleteIS3_EEEEPFvP9LKYDeepNNiiRKNS_6vectorINS9_IdNS_9allocatorIdEEEENSA_ISC_EEEEES8_iiSE_EEEEEPvSK_ + 60
13 libsystem_pthread.dylib 0x00007fff69b34d76 _pthread_start + 125
14 libsystem_pthread.dylib 0x00007fff69b315d7 thread_start + 15
)
libc++abi.dylib: terminating with uncaught exception of type NSException
Abort trap: 6