Skip to content

Commit

Permalink
updated installation instructions
Browse files Browse the repository at this point in the history
  • Loading branch information
aparrish committed Nov 17, 2020
1 parent 93dbbcf commit 1a356ae
Showing 1 changed file with 25 additions and 0 deletions.
25 changes: 25 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,3 +18,28 @@ A quick example:
Please see [the documentation](https://pincelate.readthedocs.io/en/latest/) for
more information!

I also did [a series of tutorials on Pincelate for PyCon
2020](https://github.com/aparrish/nonsense-verse-pycon-2020).

## Installation

Machine learning moves fast and breaks things, including backwards
compatibility with models like this. So installation is a bit tricky. You'll
need to install *particular versions* of Tensorflow and Keras to get Pincelate
to work. (For this reason, I highly recommend installing Pincelate in a virtual
environment or conda environment.)

This should do the trick:

pip install tensorflow==1.15.0 keras==2.2.5 "h5py<3.0.0"

After you've done this, you can install Pincelate:

pip install pincelate

This will install the code and the pre-trained model.

Pincelate requires *Python 3.6* or later. (It might work on other versions, but
I haven't tested it.) As of this writing, Python 3.8 and later are not yet
supported (because of incompatibilities in some of the required libraries).

0 comments on commit 1a356ae

Please sign in to comment.