adepierre / caffe-char-rnn Goto Github PK
View Code? Open in Web Editor NEWMulti-layer Recurrent Neural Networks (with LSTM) for character-level language models in Caffe
Multi-layer Recurrent Neural Networks (with LSTM) for character-level language models in Caffe
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.
I trained a Chinese article, test out all garbled, ask how to deal with, thank you!
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
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,_
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.