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

AssertionError when running generate.py with humanml dataset #2

Open
XGraphKhipu opened this issue May 24, 2024 · 1 comment
Open

Comments

@XGraphKhipu
Copy link

XGraphKhipu commented May 24, 2024

I'm encountering an error while trying to execute the generate.py script with the humanml dataset. Below are the command and the parameters I used:

python generate.py dataset=humanml model_path=./pretrained/humanml_trans_enc_512/model000475000.pt input_text=./assets/example_text_prompts.txt

result:

`******** Using data from the command line

Error executing job with overrides: ['dataset=humanml', 'model_path=./pretrained/humanml_trans_enc_512/model000475000.pt', 'input_text=./assets/example_text_prompts.txt']

Traceback (most recent call last):
File "motionfm/generate.py", line 125, in main
assert os.path.exists(cfg.input_text)
AssertionError

Set the environment variable HYDRA_FULL_ERROR=1 for a complete stack trace.
`

Any guidance on resolving this issue would be greatly appreciated.

@xiaweijiexox
Copy link

Just define the path cfg.input_text and cfg.model_path in the generate.py, the command line has no effect.

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