Pixel2Mesh
Pixel2Mesh copied to clipboard
On the issues of Pixel2Mesh dependencies
Hi everybody, I would like to ask you about dependencies of Pixel2Mesh so that I can apply the code to be used in python 3.6.9 since the example in github is for python 2.7 though.
Furthermore, my system also use tensorflow 1.14, and tflearn 0.3.2 as shown in the attached image.
When I tried to run Pixel2Mesh example in demo.py, I still got error "No module named layers" at api.py in p2m directory. How can I deal with this kind of problem?
Hope there will be solution for this problem
Just use "from .layers import *" (add a dot) and also in layers.py do from .inits import * But after that i am getting this error:
Traceback (most recent call last):
File "demo.py", line 73, in
@WisarutBholsithi your issue is because they import without specifying the python module. Adding the p2m repo to the python path fixes all such issues.
For the unicode error can be an incompatibility with pickle between python 2.7 and 3.x I fixed using the following line
pkl = pickle.load(open('Data/ellipsoid/info_ellipsoid.dat', 'rb'), encoding='latin1')