Giter Club home page Giter Club logo

sudl's People

Contributors

kymo avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

sudl's Issues

restore the net

Hello, i am trying to write the tools for DL and taking your code as reference.

so your tool can not re-load the parameter(bias and weights) from the trained net, right?

cmake 时候出错

你好,打扰了。准备结合看一下这份代码,cmake的时候出错。操作系统是:
uname -a Linux icefire 4.9.0-4-amd64 #1 SMP Debian 4.9.65-3 (2017-12-03) x86_64 GNU/Linux
cmake时候的报错为:
`
D.Deb[dice@ build]$cmake ..
-- The C compiler identification is GNU 6.3.0
-- The CXX compiler identification is GNU 6.3.0
-- Check for working C compiler: /usr/bin/cc
-- Check for working C compiler: /usr/bin/cc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- optional:-std=c++11
-- Looking for pthread.h
-- Looking for pthread.h - found
-- Looking for pthread_create
-- Looking for pthread_create - not found
-- Looking for pthread_create in pthreads
-- Looking for pthread_create in pthreads - not found
-- Looking for pthread_create in pthread
-- Looking for pthread_create in pthread - found
-- Found Threads: TRUE
-- Found Protobuf: /usr/lib/x86_64-linux-gnu/libprotobuf.so;-lpthread (found version "3.0.0")
-- Found PROTOBUF Compiler: /usr/bin/protoc
CMake Error at proto/CMakeLists.txt:17 (ADD_EXECUTABLE):
add_executable called with incorrect number of arguments

CMake Error at proto/CMakeLists.txt:18 (TARGET_LINK_LIBRARIES):
Cannot specify link libraries for target "su" which is not built by this
project.

-- Configuring incomplete, errors occurred!
See also "/home/ice/shareVR/deepLearningCode/kymo/SUDL/build/CMakeFiles/CMakeOutput.log".
See also "/home/ice/shareVR/deepLearningCode/kymo/SUDL/build/CMakeFiles/CMakeError.log".
`
请问,这是代码根目录里面的CMakeLists.txt有错误还是什么原因?

程序编译错误

hi,我这两天在看这份代码,今天打算运行一下,发现有编译错误,我运行的是example/wordseg里面的例子,刚开始make的时候提示wordseg.cpp中的SeqLossLayer找不到,我看了下源码,好像layers目录下面没有定义这个类,不知道是不是这个类废弃了但是代码没更新?
我把SeqLossLayer换成CrossEntropyLossLayer后继续make,遇到如下错误:
g++ -pg -w -DDEBUGALL -I. -I../../matrix -I../../layers -I../../utils -I../../net -o test_mnist ./wordseg.o
Undefined symbols for architecture x86_64:
"sub_dl::GruCell::GruCell(int, int)", referenced from:
sub_dl::BiCellWrapper<sub_dl::GruCell>::BiCellWrapper(int, int, int) in wordseg.o
"sub_dl::RnnCell::RnnCell(int, int)", referenced from:
sub_dl::BiCellWrapper<sub_dl::RnnCell>::BiCellWrapper(int, int, int) in wordseg.o
"sub_dl::LstmCell::LstmCell(int, int, bool)", referenced from:
sub_dl::BiCellWrapper<sub_dl::LstmCell>::BiCellWrapper(int, int, bool, bool, int) in wordseg.o
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
make: *** [build] Error 1

完整的日志如下:
g++ -c -v -pg -w -DDEBUGALL -I. -I../../matrix -I../../layers -I../../utils -I../../net ./wordseg.cpp
Apple LLVM version 8.0.0 (clang-800.0.42.1)
Target: x86_64-apple-darwin15.5.0
Thread model: posix
InstalledDir: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin
"/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang" -cc1 -triple x86_64-apple-macosx10.12.0 -Wdeprecated-objc-isa-usage -Werror=deprecated-objc-isa-usage -emit-obj -mrelax-all -disable-free -disable-llvm-verifier -discard-value-names -main-file-name wordseg.cpp -mrelocation-model pic -pic-level 2 -mthread-model posix -mdisable-fp-elim -masm-verbose -munwind-tables -target-cpu penryn -target-linker-version 274.2 -v -dwarf-column-info -debugger-tuning=lldb -coverage-file /Users/songwei/machineLearning/SUDL/example/wordseg/wordseg.cpp -resource-dir /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../lib/clang/8.0.0 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.12.sdk -D DEBUGALL -I . -I ../../matrix -I ../../layers -I ../../utils -I ../../net -stdlib=libc++ -w -fdeprecated-macro -fdebug-compilation-dir /Users/songwei/machineLearning/SUDL/example/wordseg -ferror-limit 19 -fmessage-length 203 -pg -stack-protector 1 -fblocks -fobjc-runtime=macosx-10.12.0 -fencode-extended-block-signature -fcxx-exceptions -fexceptions -fmax-type-align=16 -fdiagnostics-show-option -fcolor-diagnostics -o wordseg.o -x c++ ./wordseg.cpp
clang -cc1 version 8.0.0 (clang-800.0.42.1) default target x86_64-apple-darwin15.5.0
ignoring nonexistent directory "/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.12.sdk/usr/include/c++/v1"
ignoring nonexistent directory "/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.12.sdk/usr/local/include"
ignoring nonexistent directory "/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.12.sdk/Library/Frameworks"
#include "..." search starts here:
#include <...> search starts here:
.
../../matrix
../../layers
../../utils
../../net
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../lib/clang/8.0.0/include
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.12.sdk/usr/include
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.12.sdk/System/Library/Frameworks (framework directory)
End of search list.
g++ -pg -w -DDEBUGALL -I. -I../../matrix -I../../layers -I../../utils -I../../net -o test_mnist ./wordseg.o
Undefined symbols for architecture x86_64:
"sub_dl::GruCell::GruCell(int, int)", referenced from:
sub_dl::BiCellWrapper<sub_dl::GruCell>::BiCellWrapper(int, int, int) in wordseg.o
"sub_dl::RnnCell::RnnCell(int, int)", referenced from:
sub_dl::BiCellWrapper<sub_dl::RnnCell>::BiCellWrapper(int, int, int) in wordseg.o
"sub_dl::LstmCell::LstmCell(int, int, bool)", referenced from:
sub_dl::BiCellWrapper<sub_dl::LstmCell>::BiCellWrapper(int, int, bool, bool, int) in wordseg.o
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
make: *** [build] Error 1

对c++不太熟,在网上找到的方法都没解决。
还请帮忙看下是哪里的问题。
多谢!

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.