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

AttributeError: 'TRACE' object has no attribute 'smpl_model_path' #484

Open
IotaCZE opened this issue Aug 29, 2023 · 1 comment
Open

AttributeError: 'TRACE' object has no attribute 'smpl_model_path' #484

IotaCZE opened this issue Aug 29, 2023 · 1 comment

Comments

@IotaCZE
Copy link

IotaCZE commented Aug 29, 2023

Hi, when trying to run trace inference, I am encountering this error:

File "/venv/bin/trace2", line 33, in <module>
    sys.exit(load_entry_point('simple-romp==2.0.2', 'console_scripts', 'trace2')())
  File "/venv/lib/python3.8/site-packages/simple_romp-2.0.2-py3.8-linux-x86_64.egg/trace2/main.py", line 141, in main
    trace.save_results(outputs, tracking_results, kp3d_results, imgpaths)
  File "/venv/lib/python3.8/site-packages/simple_romp-2.0.2-py3.8-linux-x86_64.egg/trace2/main.py", line 133, in save_results
    visualize_predictions(outputs[seq_name], imgpaths[seq_name], self.FOV, save_paths.seq_save_dir, self.smpl_model_path)
  File "/venv/lib/python3.8/site-packages/torch/nn/modules/module.py", line 947, in __getattr__
    raise AttributeError("'{}' object has no attribute '{}'".format(
AttributeError: 'TRACE' object has no attribute 'smpl_model_path'

I have just installed TRACE and am trying to reproduce infering the provided demo data (the parkour running man).
This happens only when I am specifying --save_video. It also looks like no output file is produced to the specified location (no video nor .npz file). Other than that, inference looks running okay.
Thanks

@IotaCZE IotaCZE closed this as completed Aug 29, 2023
@IotaCZE IotaCZE reopened this Aug 29, 2023
@nguyenquivinhquang
Copy link

You can change self.smpl_model_path in this line to self.smpl_path

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