Comments (3)
I've had a similar issue with train.py calling tensorflow.contrib
Solved by running python -m pip install tensorflow==1.14 from inside the python venv I was using.
Ubuntu 18.04 LTS
Tensorflow 1.14
Python 3.6.9
Hope this helps with your issue.
from word-rnn-tensorflow.
Defaulting to user installation because normal site-packages is not writeable
ERROR: Could not find a version that satisfies the requirement tensorflow==1.14 (from versions: 2.2.0rc1, 2.2.0rc2, 2.2.0rc3, 2.2.0rc4, 2.2.0, 2.3.0rc0, 2.3.0rc1, 2.3.0rc2, 2.3.0)
ERROR: No matching distribution found for tensorflow==1.14
$uname -a
Linux 5.7.12-200.fc32.x86_64 #1 SMP Sat Aug 1 16:13:38 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux
from word-rnn-tensorflow.
Interesting. The only way I could replicate the error message is by misspelling the package name, but by your reply I can see it was spelt correctly.
I installed a fresh copy of Ubuntu 18.04 on a machine and setup Word-RNN-Tensorflow.
Here are all the commands I used to set it up in a Python venv, hopefully one of these are your fix.
# Update the OS software and grab some Python packages.
sudo apt update && sudo apt upgrade -y
sudo apt install python3-dev python3-pip python3-venv git
# Make a directory and start a Python virtual environment in it
mkdir projectfolder
python3 -m venv --system-site-packages projectfolder/
source projectfolder/bin/activate
# Move in to the folder, get the needed Python modules and clone the git
cd projectfolder/
pip install --upgrade pip setuptools tensorflow==1.14
git clone https://github.com/hunkim/word-rnn-tensorflow.git
# Start Word-RNN using the provided example set
cd word-rnn-tensorflow
python train.py
Good luck!
EDIT: Forgot about markdown, changed formatting.
from word-rnn-tensorflow.
Related Issues (20)
- how to encode Korean text input file? HOT 1
- Output format. HOT 2
- How I can continue train.py after reboot? HOT 3
- TensorBoard - Embedding Projector
- Writing the output into a file instead of printing in console
- Retrain with new input files?
- Vocab index ordering?
- Word Embeddings
- Pause training HOT 1
- UnicodeEncodeError When Training With Different Encoding
- Seperate graphes when not restoring old dataset
- Not sure where to go from here, please help.
- Error when trying to train. HOT 5
- My project and sample output
- How to predict the best word from set of words?
- How can i get the probability of each word?
- Hello, any idea for creating a new article with the same meaning according to the given articles HOT 1
- Not Training/Sampling Properly
- can we use it to predict the next word(token) while the user are inputting?
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from word-rnn-tensorflow.