Pixel2Mesh
Pixel2Mesh copied to clipboard
upgrade to Python 3
As Python 2 has reached the end of its life, as of the 1st of January 2020, it would be good to see Pixel2Mesh updated to support Python 3. Has there been any work in this direction?
Cheers, Robin
Deprication message from pip:
DEPRECATION: Python 2.7 reached the end of its life on January 1st, 2020. Please upgrade your Python as Python 2.7 is no longer maintained. A future version of pip will drop support for Python 2.7. More details about Python 2 support in pip, can be found at https://pip.pypa.io/en/latest/development/release-process/#python-2-support
Hi, @mewmew . We do have plan to upgrade to python3, we are working in progress to complete the codebase. After the update, I will inform everyone.
Hi, @mewmew . We do have plan to upgrade to python3, we are working in progress to complete the codebase. After the update, I will inform everyone.
Hi @walsvid,
Thanks for the update. That's amazing news!
Happy coding!
Cheers, Robin
I was able to run the demo in Python 3.6 and Tensorflow 1.15 with very little changes:
Fix the only print
at the end of demo.py and use pickle (replace import cPickle as pickle
line with import pickle
), with this adjustment when loading for compatibility
pkl = pickle.load(open('Data/ellipsoid/info_ellipsoid.dat', 'rb'), encoding='latin1')
我能够在Python 3.6和Tensorflow 1.15中运行该演示,而几乎没有什么变化:
修复_demo.py_
import cPickle as pickle
行import pickle
),并在加载时进行此调整以实现兼容性pkl = pickle.load(open('Data/ellipsoid/info_ellipsoid.dat', 'rb'), encoding='latin1')
excuse me ,may I ask which version of CUDA you used? CUDA8.0?
我能够在Python 3.6和Tensorflow 1.15中运行该演示,而几乎没有什么变化: 修复_demo.py_
import cPickle as pickle
行import pickle
),并在加载时进行此调整以实现兼容性pkl = pickle.load(open('Data/ellipsoid/info_ellipsoid.dat', 'rb'), encoding='latin1')
excuse me ,may I ask which version of CUDA you used? CUDA8.0?
Hi, @lkf1996 Yes, CUDA 8.0 is suitable for this algorithm.