Giter Site home page Giter Site logo

adepierre / caffe-char-rnn Goto Github PK

View Code? Open in Web Editor NEW
26.0 2.0 7.0 13.12 MB

Multi-layer Recurrent Neural Networks (with LSTM) for character-level language models in Caffe

CMake 2.60% C++ 94.52% Batchfile 2.88%
caffe lstm neural-network text-generation deep-learning

caffe-char-rnn's Issues

About vocabulary.txt

Hi, thank you for your work.
The vocabulary_62.txt in launch_files is really the vocabulary list for testing? I find it really strange to be as a vocabulary.

Strange output

Hi,

I was able to compile and run your caff-char-rnn design but it does not match the output you have in the README. I tried giving different seeds and temperatures but it always reverts back to the same sentence it repeats. See below:

_To be, or not to be: that is the question:

I will not see the state of the world is a state,
And therefore shall be so for the state,
And therefore shall be so for the state of the
world in the state of the world of the world of the world
and the state of the world of the world of the world,
And the world is a stranger of the state,
And the world is a stranger of the state,
And the world is a stranger of the state,
And the world is a stranger of the state,
And the world is a stranger of the state,
And the world is a stranger of the state,
And the world is a stranger of the state,
And the world is a stranger of the state,
And the world is a stranger of the state,
And the world is a stranger of the state,
And the world is a stranger of the state,
And the world is a stranger of the state,
And the world is a stranger of the state,
And the world is a stranger of the state,
And the world is a stranger of the state,
And the world is a stranger of the state,_

Cannot build code

Hi,
when I try to build the code I get this error

$ make [ 25%] Building CXX object CMakeFiles/caffe_char_rnn.dir/src/Trainer.cpp.o In file included from /usr/include/c++/5/atomic:38:0, from /home/andrewh/caffe/include/caffe/common.hpp:30, from /home/andrewh/caffe/include/caffe/blob.hpp:11, from /home/andrewh/caffe/include/caffe/caffe.hpp:7, from /home/andrewh/caffe-char-rnn/include/Trainer.h:3, from /home/andrewh/caffe-char-rnn/src/Trainer.cpp:1: /usr/include/c++/5/bits/c++0x_warning.h:32:2: error: #error This file requires compiler and library support for the ISO C++ 2011 standard. This support must be enabled with the -std=c++11 or -std=gnu++11 compiler options. #error This file requires compiler and library support \ ^ In file included from /home/andrewh/caffe/include/caffe/common.hpp:48:0, from /home/andrewh/caffe/include/caffe/blob.hpp:11, from /home/andrewh/caffe/include/caffe/caffe.hpp:7, from /home/andrewh/caffe-char-rnn/include/Trainer.h:3, from /home/andrewh/caffe-char-rnn/src/Trainer.cpp:1: /home/andrewh/caffe/include/caffe/util/device_alternate.hpp:10:20: fatal error: nvml.h: No such file or directory compilation terminated. CMakeFiles/caffe_char_rnn.dir/build.make:62: recipe for target 'CMakeFiles/caffe_char_rnn.dir/src/Trainer.cpp.o' failed make[2]: *** [CMakeFiles/caffe_char_rnn.dir/src/Trainer.cpp.o] Error 1 CMakeFiles/Makefile2:67: recipe for target 'CMakeFiles/caffe_char_rnn.dir/all' failed make[1]: *** [CMakeFiles/caffe_char_rnn.dir/all] Error 2 Makefile:83: recipe for target 'all' failed make: *** [all] Error 2

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.