Closed bibbygoodwin closed 4 years ago
@bibbygoodwin Hi, what i suggest is trying to use cv2
to do the visualisation
import cv2
...
for i in range(max_frame):
cv2.imshow('demo', video[i])
cv2.waitKey(100)
Closing due to inactivity
Currently something in the package is resulting in this error when I run the mocap_demo script. The error seems to be the same as #deepmind/dm_control#62, and given that the author of that issue put it down to something involving matplotlib it is possible that this is the root cause.
One of the replies to that issue from @saran-t (https://github.com/deepmind/dm_control/issues/62#issuecomment-438239756_) failed to reproduce the error because, it seems, they ran into the more standard matplotlib on OSX in virtualenvs problem, where a "ImportError: Python is not installed as a framework." error is thrown. If @saran-t sets the matplotlib backend to 'TkAgg' following the solution here: https://stackoverflow.com/questions/21784641/installation-issue-with-matplotlib-python then they should be able to reproduce this error?
The minimal script required to trigger the error:
If instead I call the last 2 lines in the other order I get no error i.e.
Output: