google-deepmind / google-deepmind/deepmind-research

Learning To Simulate: unable to create animation

Open
#354 2 comments 0 reactions 1 assignee Claimed by @alvarosg View on GitHub
Dominant language
Jupyter Notebook
Stars
15.2k
Forks
2.9k
PR merge metrics
No merged PRs in 30d

Description

I was trying to recreate the 'learning to simulate example', and when I finished training the model and try to plot the trajectory using

`
python -m learning_to_simulate.render_rollout \
--rollout_path=/tmp/rollouts/WaterRamps/rollout_test_0.pkl
`

The error message was

`
Figure(1000x500)
/usr/local/lib/python3.7/site-packages/matplotlib/animation.py:888: UserWarning: Animation was deleted without rendering anything. This is most likely not intended. To prevent deletion, assign the Animation to a variable, e.g. `anim`, that exists until you have outputted the Animation using `plt.show()` or `anim.save()`.
`

What should I do to plot the animation?

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.