GithubHelp home page GithubHelp logo

mosdeo / lkydeepnn Goto Github PK

View Code? Open in Web Editor NEW
49.0 49.0 13.0 251.21 MB

Low dependency(C++11 STL only), good portability, header-only, deep neural networks for embedded

C++ 100.00%
back-propagation cross-entropy data-science data-visualization deep-learning multilayer-perceptron

lkydeepnn's Issues

在 macOS 上發生「NSInternalInconsistencyException」

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

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.