Skip to content
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

Python2.7 or Python3.x to run the KittiSeg code #36

Closed
huaiyanggongzi opened this issue Apr 9, 2017 · 5 comments
Closed

Python2.7 or Python3.x to run the KittiSeg code #36

huaiyanggongzi opened this issue Apr 9, 2017 · 5 comments

Comments

@huaiyanggongzi
Copy link

Hi Marvin,

Would you like to let me know which Python version is required to run the KittiSeg code? In this thread, @Bendidi and @lemhell mention that Python 2.7 is supported. My development environment is Python 3.x, so I am curious to know whether I need to re-build the environment.

Many Thanks!
Huaiyanggongzi

@WPSanberg
Copy link

WPSanberg commented Apr 10, 2017

My python3.5 environment gave me trouble, with python 2.7 it worked directly (issue #35).

@huaiyanggongzi
Copy link
Author

Hi WPSanberg, thanks for the reply. By the way, my python development is Python 3.4.5. How did you let your Python 3.5 environment to support Python 2.7? Did you use virtualenv?I was trying to create a virtual environment under Python 3.4.5, which support 3.4.5 by default. Are there any setting I should take care when using virtualenv? Thanks.

@huaiyanggongzi
Copy link
Author

Hi WPSanberg, one more question, I once read a notes mentioning that tensorflow1.0 GPU version only works under Python 2.7, is that right?

@WPSanberg
Copy link

Hi, I am using separate virtual environments for tensorflow with python 3.5 and 2.7, without any special settings or so that I am aware of... I do not know whether tensorflow1.0 GPU is only compatible with python 2.7.

@MarvinTeichmann
Copy link
Owner

Python 2.7 works. 3.5 does not work right now. There seams to be an issue with commentjson.

Modifing the code to be compatible with python 3.5 should not be a big issue and I am very happy to receive a pull request, if you made it work and tested. In KittiBox, the pull request introducing python 3.5 support only needed to change a couple of lines.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants