-
Notifications
You must be signed in to change notification settings - Fork 418
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
Inference runs much slower in python 2.7 than 3.6 #105
Comments
|
|
Interestingly enough, I don't think that the python versions are the issue. I installed the necessary pip packages and ran the code on another machine (mac OS), and python 2.7 and 3.7 have very similar timings. Whereas this is running on my ubuntu machine and has very different timings. I'm not sure if it has something to do with the setup / install of pydensecrf or some dependency or what. Any ideas are helpful at this point. I've been trying everything I can think of. |
I am currently running the same python code doing inference in two different python versions with very different efficiencies. First I run it in python 2.7, which is the target version of this code. Second, I run it in python 3.6. I use timeit to get the performance time. It takes 10 times as long to compute the inference in python 2.7 as it does in python 3.6. I'm wondering why that might be.
I can provide the code and dependency details if needed, but I'm wondering if it is something that is a known consequence of using pydensecrf inference.
The text was updated successfully, but these errors were encountered: