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

Anyone runs this repo with python3 successfully? #118

Open
sisrfeng opened this issue Nov 14, 2020 · 3 comments
Open

Anyone runs this repo with python3 successfully? #118

sisrfeng opened this issue Nov 14, 2020 · 3 comments

Comments

@sisrfeng
Copy link

tf_xxx_compile.sh specifies /usr/local/lib/python2.7.
I am afraid that there remains more modify

Being syntax compatible with Python 3 does not mean that the port to Python 3 is complete.

@AllenPu
Copy link

AllenPu commented Dec 17, 2020

yes, and you have to revise all three sh files to your own python path and cuda path
i strongly encourage you to use tensorflow-gpu 1.8+python3.6 which can save a lot of trouble

@chaoyu1999
Copy link

@AllenPu 你好,你使用py3.6复现成功了吗?我使用py3.6的时候在train/provider.pyimport cPickle as pickle的时候,显示py3不支持cPickle,于是我换成pickle但是在加载数据的时候出现了错误Traceback (most recent call last): File "train/train.py", line 68, in <module> rotate_to_center=True, random_flip=True, random_shift=True, one_hot=True) File "/home/cy/F-PointNet/frustum-pointnets-master/train/provider.py", line 142, in __init__ self.box2d_list = pickle.load(fp) UnicodeDecodeError: 'ascii' codec can't decode byte 0xb1 in position 2: ordinal not in range(128) ,请问你是怎么解决的?

@GondorFu
Copy link

@AllenPu 你好,你使用py3.6复现成功了吗?我使用py3.6的时候在train/provider.pyimport cPickle as pickle的时候,显示py3不支持cPickle,于是我换成pickle但是在加载数据的时候出现了错误Traceback (most recent call last): File "train/train.py", line 68, in <module> rotate_to_center=True, random_flip=True, random_shift=True, one_hot=True) File "/home/cy/F-PointNet/frustum-pointnets-master/train/provider.py", line 142, in __init__ self.box2d_list = pickle.load(fp) UnicodeDecodeError: 'ascii' codec can't decode byte 0xb1 in position 2: ordinal not in range(128) ,请问你是怎么解决的?

这个你别用他提供的处理数据,自己处理一遍就行了

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

4 participants