point2mesh icon indicating copy to clipboard operation
point2mesh copied to clipboard

"manifold_script_path" not found

Open miaoqiz opened this issue 4 years ago • 5 comments

Hi,

Thank you for the excellent framework.

Running "bash ./scripts/examples/giraffe.sh" and got the error below when it gets to "1000" iteration:


Traceback (most recent call last): File "main.py", line 85, in mesh = utils.manifold_upsample(mesh, opts.save_path, Mesh, File "point2mesh/utils.py", line 18, in manifold_upsample raise FileNotFoundError(f'{manifold_script_path} not found') FileNotFoundError: ~/code/Manifold/build/manifold not found


Any advise is appreciated!

Thanks so much and have a good day!

miaoqiz avatar Aug 26 '20 22:08 miaoqiz

Hi @miaoqiz --

Did you install the manifold software if so where did you install it? If it is in a different location than ~/code/Manifold/build/manifold Then you should change line 6 in options.py to be the full path of the manifold/build location

ranahanocka avatar Oct 27 '20 08:10 ranahanocka

I met the same problem. Maybe you can try to change

MANIFOLD_DIR = r'~/code/Manifold/build' in options.py to

MANIFOLD_DIR = r'/home/USER/code/Manifold/build' (change USER to your user name)

d289760860 avatar Nov 21 '20 16:11 d289760860

I met the same problem. You could try to change

if not os.path.exists(manifold_script_path):

in utils.py to

if not os.path.exists(MANIFOLD_DIR):

This worked for me. Getting this error means that "/code/Manifold/build/manifold" is not a path. If you did install manifold in "/code/Manifold/build", you could remove 'manifold' and retry.

maque-hub avatar Nov 30 '20 07:11 maque-hub

hello ,I met the same problem. then,i changed line 6 in options.py to be the full path of the manifold/build location:

MANIFOLD_DIR = 'F:\\point2mesh\\point2mesh\\code\\Manifold\\build'

I use Windows system。Running "main.py" and got the error below when it gets to "1000" iteration:

'F:\point2mesh\point2mesh\code\Manifold\build\manifold' �����ڲ����ⲿ���Ҳ���ǿ����еij��� ���������ļ��� 'F:\point2mesh\point2mesh\code\Manifold\build\simplify' �����ڲ����ⲿ���Ҳ���ǿ����еij��� ���������ļ��� Traceback (most recent call last): File "F:/point2mesh/point2mesh/main.py", line 85, in mesh = utils.manifold_upsample(mesh, opts.save_path, Mesh, File "F:\point2mesh\point2mesh\utils.py", line 27, in manifold_upsample m_out = Mesh(temp_file, hold_history=True, device=mesh.device) File "F:\point2mesh\point2mesh\models\layers\mesh.py", line 24, in init self.vs, self.faces = load_obj(file) File "F:\point2mesh\point2mesh\utils.py", line 59, in load_obj f = open(file) FileNotFoundError: [Errno 2] No such file or directory: './checkpoints/guitar\tempdcb80901-3103-45eb-9bfa-c0f2fbfa0381.obj'

cxy747254545 avatar Jan 21 '21 03:01 cxy747254545

hi,I use windows systems.how to install

hello ,I met the same problem. then,i changed line 6 in options.py to be the full path of the manifold/build location:

MANIFOLD_DIR = 'F:\\point2mesh\\point2mesh\\code\\Manifold\\build'

I use Windows system。Running "main.py" and got the error below when it gets to "1000" iteration:

'F:\point2mesh\point2mesh\code\Manifold\build\manifold' �����ڲ����ⲿ���Ҳ���ǿ����еij��� ���������ļ��� 'F:\point2mesh\point2mesh\code\Manifold\build\simplify' �����ڲ����ⲿ���Ҳ���ǿ����еij��� ���������ļ��� Traceback (most recent call last): File "F:/point2mesh/point2mesh/main.py", line 85, in mesh = utils.manifold_upsample(mesh, opts.save_path, Mesh, File "F:\point2mesh\point2mesh\utils.py", line 27, in manifold_upsample m_out = Mesh(temp_file, hold_history=True, device=mesh.device) File "F:\point2mesh\point2mesh\models\layers\mesh.py", line 24, in init self.vs, self.faces = load_obj(file) File "F:\point2mesh\point2mesh\utils.py", line 59, in load_obj f = open(file) FileNotFoundError: [Errno 2] No such file or directory: './checkpoints/guitar\tempdcb80901-3103-45eb-9bfa-c0f2fbfa0381.obj'

hi,I also use windows system.did you solute the problem? I cannot run it with the same problem

zgc1135147247 avatar Mar 24 '21 09:03 zgc1135147247