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

I added --shapes=True to your hints, but in the end I didn't find the ply file, what can I do to get the 3d model? #9

Open
XuanNui opened this issue Jul 31, 2023 · 14 comments

Comments

@XuanNui
Copy link

XuanNui commented Jul 31, 2023

I added --shapes=True to your hints, but in the end I didn't find the ply file, what can I do to get the 3d model?
image
image

@MustafaHilmiYAVUZHAN
Copy link

%cd /content/PanoHead
!python shape_utils.py /content/output/easy-khair-180-gpc0.8-trans10-025000.pkl/0/PTI_render/ --level 25

@MustafaHilmiYAVUZHAN
Copy link

/content/output/easy-khair-180-gpc0.8-trans10-025000.pkl/0/PTI_render/

@MustafaHilmiYAVUZHAN
Copy link

@XuanNui

@wangchenwc
Copy link

/content/output/easy-khair-180-gpc0.8-trans10-025000.pkl/0/PTI_render/

run this,but still not find the ply file

@BigRabit12138
Copy link

hello, there are some reasons for this:
firstly, --num-steps=200 --num-steps-pti=200, these paras should set blow 300, for eaxample i set 200;
sencondly, in projector_withseg.py: 391, you shoud set max_batch = 100000;
finaly, in projector_withseg.py: 427, set output_ply = True.
in the end, you will find /content/output/easy-khair-180-gpc0.8-trans10-025000.pkl/0/geometry.ply

@aspiring3dmodeler
Copy link

hello, there are some reasons for this: firstly, --num-steps=200 --num-steps-pti=200, these paras should set blow 300, for eaxample i set 200; sencondly, in projector_withseg.py: 391, you shoud set max_batch = 100000; finaly, in projector_withseg.py: 427, set output_ply = True. in the end, you will find /content/output/easy-khair-180-gpc0.8-trans10-025000.pkl/0/geometry.ply

I can't find the code?, where do you add it and when?

@aspiring3dmodeler
Copy link

Checked it and all the text you wrote is the same, it still didn't work

@BigRabit12138
Copy link

Checked it and all the text you wrote is the same, it still didn't work

hi , you should add --shapes=True firstly.
捕获

@aspiring3dmodeler
Copy link

Checked it and all the text you wrote is the same, it still didn't work

hi , you should add --shapes=True firstly. 捕获

Hi, already did that

@BigRabit12138
Copy link

Hi, already did that

hi, I tried again.I got a Ctrl-C in the ends without a ply file.With opening Resource Panel, I found System RAM was overhead, so the program was terminated(that why it was ended with Ctrl-C).Therefore I turned down "max_batch = 1000 voxel_resolution = 256" in projector_withseg.py in 391 392.After that, it works.
By the way, you could not get a nice 3D model in such a setting.If you want to get a useful 3D model , you need more powerful machine than google free T4.

@aspiring3dmodeler
Copy link

Ah ok, so free isn't good. Got it!

@aspiring3dmodeler
Copy link

Is it possible to skip the mp4 and only generate the ply?

@aspiring3dmodeler
Copy link

aspiring3dmodeler commented Nov 30, 2023

Hi, already did that

hi, I tried again.I got a Ctrl-C in the ends without a ply file.With opening Resource Panel, I found System RAM was overhead, so the program was terminated(that why it was ended with Ctrl-C).Therefore I turned down "max_batch = 1000 voxel_resolution = 256" in projector_withseg.py in 391 392.After that, it works. By the way, you could not get a nice 3D model in such a setting.If you want to get a useful 3D model , you need more powerful machine than google free T4.

Which gpu would i need and how many compute units does each use cost?

EDIT: facepalm question but should i clone it to drive first?

@BigRabit12138
Copy link

BigRabit12138 commented Dec 1, 2023

Hi, already did that

hi, I tried again.I got a Ctrl-C in the ends without a ply file.With opening Resource Panel, I found System RAM was overhead, so the program was terminated(that why it was ended with Ctrl-C).Therefore I turned down "max_batch = 1000 voxel_resolution = 256" in projector_withseg.py in 391 392.After that, it works. By the way, you could not get a nice 3D model in such a setting.If you want to get a useful 3D model , you need more powerful machine than google free T4.

Which gpu would i need and how many compute units does each use cost?

EDIT: facepalm question but should i clone it to drive first?

  1. If you only want to get ply file , you need to comment out the related code in projector_withseg.py.
  2. I didn't do a try for more powerful GPU because there is no free except Google T4.
  3. No matter in local PC or Google Colab, colning the code is the first step(the file of colab notebook version already has cloning step).

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

5 participants