Skip to content

Commit 4106866

Browse files
committed
Add TensorFlow dependency to requirements
1 parent 48c51cf commit 4106866

File tree

4 files changed

+7
-13
lines changed

4 files changed

+7
-13
lines changed

README.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,8 @@ Generate Shakespeare poems with 4 lines of code.
66

77
## Installation
88

9-
`tensorlm` is written in / for Python 3.4+
9+
`tensorlm` is written in / for Python 3.4+ and TensorFlow 1.1+
1010

11-
pip3 install tensorflow>=1.1
1211
pip3 install tensorlm
1312

1413
## Basic Usage

README.rst

Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -3,16 +3,13 @@ tensorlm
33

44
Generate Shakespeare poems with 4 lines of code.
55

6-
\ |showcase of the package|\
7-
86
Installation
97
------------
108

11-
``tensorlm`` is written in / for Python 3.4+
9+
``tensorlm`` is written in / for Python 3.4+ and TensorFlow 1.1+
1210

1311
::
1412

15-
pip3 install tensorflow>=1.1
1613
pip3 install tensorlm
1714

1815
Basic Usage
@@ -42,7 +39,7 @@ This should output something like:
4239

4340
::
4441

45-
The eee ee ee ee e e ee ee e e e e e e e e e e
42+
The ee e e e e e e e e e e e e e e e e e e e e e e e e e e e e e e e e e e e e e e e e e e e e e e e e
4643

4744
Command Line Usage
4845
------------------
@@ -156,6 +153,3 @@ This should output something like:
156153
Sampled: "The ee e e e e e e e e e e e e e e e e e e e e e e e e e e e "
157154
Epoch: 19, Step: 500, Train Loss: 2.444502, Dev Loss: 2.479753
158155
Sampled: "The an an an on on on on on on on on on on on on on on on on on on on on on o"
159-
160-
.. |showcase of the package| image:: http://i.cubeupload.com/8Cm5RQ.gif
161-
:target: http://www.mlowl.com/post/character-language-model-lstm-tensorflow/

requirements.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
numpy==1.13.1
2-
# tensorflow==1.1.0
2+
tensorflow>=1.1.0
33
nltk==3.2.4
44
python-dateutil==2.6.1

setup.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,15 +11,15 @@
1111
setup(
1212
name="tensorlm",
1313
packages=find_packages(exclude=["examples"]),
14-
version="0.4.1",
14+
version="0.4.2",
1515
description="TensorFlow wrapper for deep neural text generation on character or word level "
1616
"with RNNs / LSTMs",
1717
long_description=long_description,
1818
author="Kilian Batzner",
1919
author_email="tensorlm@kilians.net",
2020
license="MIT",
2121
url="https://github.com/batzner/tensorlm",
22-
download_url="https://github.com/batzner/tensorlm/archive/v0.4.1.tar.gz",
22+
download_url="https://github.com/batzner/tensorlm/archive/v0.4.2.tar.gz",
2323
keywords=["tensorflow", "text", "generation", "language", "model", "rnn", "lstm", "deep",
2424
"neural", "char", "word"],
2525
classifiers=[
@@ -31,6 +31,7 @@
3131
],
3232
install_requires=[
3333
"numpy==1.13.1",
34+
"tensorflow>=1.1.0",
3435
"nltk==3.2.4",
3536
"python-dateutil==2.6.1",
3637
],

0 commit comments

Comments
 (0)