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

problem when running viz.py #45

Open
ZhangRenkai opened this issue Mar 24, 2021 · 0 comments
Open

problem when running viz.py #45

ZhangRenkai opened this issue Mar 24, 2021 · 0 comments

Comments

@ZhangRenkai
Copy link

python viz.py --architecture gcn --non_local --evaluate checkpoint/pretrained/ckpt_semgcn_nonlocal.pth.tar --viz_subject S11 --viz_action Walking --viz_camera 0 --viz_output output.gif --viz_size 3 --viz_downsample 2 --viz_limit 60

When I do this step above, I encountered the following problem and I don't know how to solve it.

==> Loading dataset... ==> Preparing data... ==> Loading 2D detections... ==> Creating model... ==> Total parameters: 0.43M ==> Loading checkpoint 'checkpoint/pretrained/ckpt_semgcn_nonlocal.pth.tar' ==> Loaded checkpoint (Epoch: 16 | Error: 41.1463412364) ==> Rendering... Generating 1621 poses...

Traceback (most recent call last): File "viz.py", line 192, in <module> main(parse_args()) File "viz.py", line 141, in main input_video_skip=args.viz_skip) File "/root/SemGCN-master/common/visualization.py", line 180, in render_animation anim.save(output, dpi=80, writer='imagemagick') File "/usr/local/lib/python2.7/dist-packages/matplotlib/animation.py", line 1200, in save writer.grab_frame(**savefig_kwargs) File "/usr/lib/python2.7/contextlib.py", line 24, in __exit__ self.gen.next() File "/usr/local/lib/python2.7/dist-packages/matplotlib/animation.py", line 241, in saving self.finish() File "/usr/local/lib/python2.7/dist-packages/matplotlib/animation.py", line 563, in finish .format(self._proc.returncode)) RuntimeError: Error creating movie, return code: 1

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

1 participant