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

Visualization #16

Open
sauradip opened this issue Jun 21, 2024 · 4 comments
Open

Visualization #16

sauradip opened this issue Jun 21, 2024 · 4 comments

Comments

@sauradip
Copy link

sauradip commented Jun 21, 2024

Hi,

Sorry to bother again. Is it possible to share the script where you render the animation with rotation of the character like link

Is this in visualize.py ?

@BilendM
Copy link

BilendM commented Jun 21, 2024

Was looking for the same thing!

I completed a whole cycle of main.py which resulted in two folders, logs and valid.

The logs folder contains:

|─ logs
│    |─ panda8000
│    │    |── deformation_accum.pth
│    │    |── deformation_table.pth
│    │    |── deformation.pth
│    │    |── model.ply
│    |── panda_model.ply

And the valid folder contains:

|─ valid
│    |─ panda
│    │    |── 500_back
│    │    |── 500_font
...
│    │    |── 8000_back
│    │    |── 8000_front

Same as @sauradip, I am not really sure how the novel views are generated/how we can view them

@sauradip
Copy link
Author

@BilendM i think what you are asking is basically this line

STAG4D/main.py

Line 259 in da04c4b

if self.step%self.opt.valid_interval == 0:

If you change the camera params like 0,90,180,270 etc i guess you can get different views with rotations. I will still wait for the author to confirm this. But my question is how to combine the videos where the object is moving as well as rotating.

@BilendM
Copy link

BilendM commented Jun 21, 2024

Ahhh that's great thank you! Looking forward for an answer for your question as well :D

@zeng-yifei
Copy link
Owner

zeng-yifei commented Jun 25, 2024

You can paste this paragraph into visualize.py.
render_teaser_example.txt

I didn't carefully check it. This is what I use before to generate those rendered pngs. If you meet with some problems, please tell me.

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

3 participants