Open burtman opened 6 years ago
Can you run any other tensorflow code (say a tutorial)?
Hello @shentianxiao,
Thanks for your reply.
Yes I have been able to run the code examples in this repo without any issue (including autoencoders and Convolutional Neural Network) : https://github.com/aymericdamien/TensorFlow-Examples
Can you run classifier.py
and language_model.py
in this repo? The commands are:
python classifier.py --train ../data/yelp/sentiment.train --dev ../data/yelp/sentiment.dev --vocab ../tmp/yelp.vocab --model ../tmp/model.cls
python language_model.py --train ../data/yelp/sentiment.train.0 --dev ../data/yelp/sentiment.dev.0 --vocab ../tmp/yelp.vocab --model ../tmp/model.lm
Yes both of these commands work perfectly !
Can you run the testing command (with randomly initialized model, but yelp.vocab
is required):
python style_transfer.py --test ../data/yelp/sentiment.test --output ../tmp/sentiment.test --vocab ../tmp/yelp.vocab
I haven't encountered this problem before, and the error message doesn't have much information. Are you using the CPU version? That might be a difference, but I'm not sure what's the problem there.
Hello,
I think that's where the problem is coming from. I am indeed using the CPU version. This command is not running (or is so slow that I see nothing happening ...).
Is there a way to make it work with the CPU version or is the GPU mandatory ?
Hi,
Unfortunately I think a GPU is necessary to train a model...
I just uploaded a pretrained model (see the readme file and run download_model.sh), you can try it on a small test file (keep a few sentences). I think that should be able to run out.
Hello,
Thanks for the amazing work, I've been trying to run your code with Python 2.7 and TensorFlow 1.5.
However, I have a segmentation fault (core dumped) error that stops the process. When using docker it only displays "Killed"
There is a similar issue here : https://github.com/tensorflow/tensorflow/issues/2034 But it does not seem to be related to this issue.
Do you have any idea what's happening ?