Difference between revisions of "ML links"

From Interaction Station Wiki
Jump to navigation Jump to search
Line 19: Line 19:
  
  
 +
*Training with other corpus of text
 +
*Modify file cfg/rnn.train.cfg and set:
 +
batch = 50
  
 
*Training with other corpus of text
 
  
  

Revision as of 03:36, 4 January 2019

RNNs with Darknet

  • Getting some calculated weights from several writers:
wget https://pjreddie.com/media/files/shakespeare.weights
wget https://pjreddie.com/media/files/kant.weights
wget https://pjreddie.com/media/files/shakespeare.weights
wget https://pjreddie.com/media/files/shakespeare.weights
  • Generating new text
cd darknet
./darknet rnn generate cfg/rnn.cfg shakespeare.weights -srand 0
  • Parameters:
-srand N -> N determines the random seed
-


  • Training with other corpus of text
  • Modify file cfg/rnn.train.cfg and set:
batch = 50


  • Some online corpus of text:
George Meredith
http://www.gutenberg.org/ebooks/4500
Mark Twain
http://www.gutenberg.org/ebooks/3200
More
http://www.gutenberg.org/ebooks/search/?query=The+Complete+Works+of


Tutorial generative models

Nvidia Fake Celebrities Generation

RNN Story generator from Images

  • Seems you don't have an important repository in your sources.list enabled.
  • Add this line:
  • deb http://archive.ubuntu.com/ubuntu/ xenial-updates main universe multiverse
  • to /etc/apt/sources.list, then use sudo apt update.
  • it should do the trick.


http://www.nltk.org/install.html

Installing Caffe Ubuntu 16.04 https://chunml.github.io/ChunML.github.io/project/Installing-Caffe-Ubuntu/

For CUDA follow Docker internal guide

https://groups.google.com/forum/#!topic/caffe-users/3NHh06RhWd4

  • sudo apt-get install python-protobuf