-
Notifications
You must be signed in to change notification settings - Fork 15
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Train model & Tensorflow version #6
Comments
Hello Alex! I could not replicate the error... I added a requirements.txt file that worked for running the pretrained model, I hope that can help you! Note that I did not use the gpu version for that, so you might want to change that if you're going to train a model |
Hi Charles, thank you so much for your fast answer, better with a requirement.txt :) This is the error I get when using pre-trained data, I tried from my mac and from my RHEL server, same error.
|
Hello Alex, this is weird I get the same error, I can confirm the checkpoints files were working when I uploaded them so something must be wrong with the requirements.txt file (I uploaded the file I found on my server, but I did not play with this model in a while...) my guess is the tensorflow version is not the right one if I have some time this week I'll try to fix it but meanwhile, you can try the different versions of tensorflow and see if you can get it to work (see https://pypi.python.org/pypi/yolk/0.4.3). |
Thanks, I will also make some test in the upcoming week. Fyi this is the error I get after training the model for a few minutes:
|
Yeah, it has to be a problem with the requirements.txt file, I can't believe I forgot to add it initially, I'll try to fix it this week, thanks for the heads up! By the way, if you manage to find the right packages before I do, please let me know hah! |
I made some tests and it seems that the Stanford dataset is faulty. I took a small batch out of it, converted to UTF-8 from another file (with BBEdit) and then launched the training, with a few modifications as the batch was smaller. It completed and I was able to make sentiment analysis using --sentences. Now I made the same thing with the full dataset and the training is running. I'll let you know if it works. |
Hello Alex! I fixed the issue, you can clone the new version now. Keep in mind that I only tested it using |
Hello, i am also getting this error. I am using tensorflow cpu i don't know if that's the problem or if its the dataset that causes this. out[mask] = np.concatenate(data) |
@andresiggesjo Hey, can you open a new issue with the complete output of the error you're getting? Thanks! |
I get an error while training the model:
lib/data_utils.py", line 160, in numpy_fillna
out[mask] = np.concatenate(data)
ValueError: all the input arrays must have same number of dimensions
By the way can you tell us which version of Tensorflow you use?
Thanks for your great work!
The text was updated successfully, but these errors were encountered: