-
Notifications
You must be signed in to change notification settings - Fork 139
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
OverflowError in 1 Preprocess Data #31
Comments
Are you using the docker container associated with this tutorial? Also make sure you use the exact copy of the fastai library in this repo |
I wasn't using the docker. I prefer to have the ability to reproduce the environment that the code runs on myself. Thanks. |
@briandw, I got the same error as you did, how did you resolve the issue? |
I didn't get it resolved. I've moved on to making my own project to train sentence vectors. Check it out if you are interested. It should be easy to run in a condo environment with Fastai and pytorch 0.4.1 |
Just so I understand what is the downside of using Docker for this tutorial? The web of dependencies can be hard to manage with just requirements.txt |
Like @hamelsmu suggests, using Docker is the best thing to do! However, this issue is just a floating point arithmetic issue. One can workaround it by editing the library file code_gen.py Just change the line "import math" to "from mpmath import mp as math" @briandw |
I changed the following line in function get_function_docstring_pairs, worked for me |
I also get same error : |
I'm trying to run the notebooks in my own python 3.6 conda environment.
I'm running into a problem when running this code:
pairs = flattenlist(apply_parallel(get_function_docstring_pairs_list, df.content.tolist(), cpu_cores=4))
I see the following traceback:
I'm not sure whats going on here. Any help appreciated.
The text was updated successfully, but these errors were encountered: