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

missing module "optutils" #7

Closed
gabinsane opened this issue Nov 25, 2021 · 1 comment
Closed

missing module "optutils" #7

gabinsane opened this issue Nov 25, 2021 · 1 comment

Comments

@gabinsane
Copy link

Hi, thank you for the code, I have already trained some models and would like to visualize the results. However, the scripts visualize_latent_space.py and visualize_sequence.py are trying to import the module optutils, which seems to be missing from the repository. Could you please add this module?

@Mathux
Copy link
Owner

Mathux commented Nov 25, 2021

Hi @gabinsane,

If you want to view the results, please follow the instructions in the README.md file.
This command will generate rows and columns of stick figures.

python -m src.visualize.visualize_checkpoint PATH/TO/CHECKPOINT.tar --num_actions_to_sample 5  --num_samples_per_action 5  

Or if you want to generate meshes, you must first generate the sequences in .npy data:

python -m src.generate.generate_sequences PATH/TO/CHECKPOINT.tar --num_samples_per_action 10                                             

and then use this script to render:

python -m src.render.rendermotion PATH/TO/generation.npy 

The scripts visualize_latent_space.py and visualize_sequence.py are leftovers, so their use is deprecated. I will remove them soon.

@Mathux Mathux closed this as completed Nov 30, 2021
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

2 participants