Comments (7)
Yes, you can run it on CPU.
pip uninstall tensorflow-gpu
pip install tensorflow
Replace pip
with whatever you are using, probably pip3
or pip3.6
from nmt-chatbot.
Thanks, it worked.
But I had to use tensorflow==1.4 to make it run properly.
With 1.7 I had some errors.
from nmt-chatbot.
Can you tell me more about those errors? I think i might know what your issues are.
Also can you tell me what CPU are you using (model of CPU)?
from nmt-chatbot.
Hello,
My processor is Intel® Core™ i7-6600U CPU @ 2.60GHz × 4
I actually cannot tell you more about those errors because now It is working also with Tensorflow-1.7
(I am using Ubuntu 16.04)
The inference script now works properly using your model. Is it normal that I don't get proper answers right?
Like this is the answer to "How are you doing?":
"Yo^o^o^o^o^o^o^o^o^o^o^o^e^o^o"
from nmt-chatbot.
So the problem was not what i was thinking it is.
As for responses - it's pretty normal at the training begionning. How many training pairs and how log model is training now?
from nmt-chatbot.
from nmt-chatbot.
Oh, so it's a very simple model trained quickly, as i didn't have resources for a longer training.
You can train more, you need to prepare your training set ang go through all steps to prepare and train your model. The reason for that is preparation steps makes files (training data and vocab files) for training set you are using.
from nmt-chatbot.
Related Issues (20)
- Chatbot only produces 1 answer despite beam width being 20 HOT 4
- Can't run train.py HOT 7
- Train.py says it's finished training after 1 second. HOT 2
- ERROR: cannot import name 'nmt' from 'nmt' HOT 2
- FileNotFoundError: [Errno 2] No such file or directory: 'data//corpus_size'
- nmt: [ deleted ] while training
- Trained Model ? HOT 1
- does this work with tensorflow 2.0?
- is it supposed to just be stopped on this
- 2021-05-06 22:03:17.947802: I tensorflow/core/kernels/shuffle_dataset_op.cc:121] Shuffle buffer filled.
- decoding to output F:\Nebula0.0.5\nmt-chatbot\model\output_dev.
- from nmt import nmt : error
- TypeError: 'encoding' is an invalid keyword argument for this function HOT 1
- Inference returning the same empty answer to everything i type HOT 1
- bot producing only one translation per input
- Cannot Downgrade Tensorflow 1.x on Google Colab
- how do i make it train more epoch like 10000
- cannot import name 'nmt' from 'nmt'
- Issue with tensorflow api and pip installation candidate missing before 2.x
- cannot import name 'lookup_ops' from 'tensorflow.python.ops'
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 nmt-chatbot.