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

Monitoring wrapper does not record full videos anymore #832

Closed
danijar opened this issue Jan 19, 2018 · 3 comments
Closed

Monitoring wrapper does not record full videos anymore #832

danijar opened this issue Jan 19, 2018 · 3 comments
Labels

Comments

@danijar
Copy link

danijar commented Jan 19, 2018

After updating Gym, all recorded videos have a maximum length of 14 seconds and include black frames:

Recorded video as GIF

(Original video: video.zip)

Is this a known issue? What could cause this?

$ pip3 freeze | grep gym
gym==0.9.4
$ ffmpeg --version
ffmpeg version 3.3.3-3 Copyright (c) 2000-2017 the FFmpeg developers
  built with gcc 6.3.0 (Debian 6.3.0-18) 20170516
  configuration: --prefix=/usr --extra-version=3 --toolchain=hardened --libdir=/usr/lib/x86_64-linux-gnu --incdir=/usr/include/x86_64-linux-gnu --enable-gpl --disable-stripping --enable-avresample --enable-avisynth --enable-gnutls --enable-ladspa --enable-libass --enable-libbluray --enable-libbs2b --enable-libcaca --enable-libcdio --enable-libflite --enable-libfontconfig --enable-libfreetype --enable-libfribidi --enable-libgme --enable-libgsm --enable-libmp3lame --enable-libopenjpeg --enable-libopenmpt --enable-libopus --enable-libpulse --enable-librubberband --enable-libshine --enable-libsnappy --enable-libsoxr --enable-libspeex --enable-libssh --enable-libtheora --enable-libtwolame --enable-libvorbis --enable-libvpx --enable-libwavpack --enable-libwebp --enable-libx265 --enable-libxvid --enable-libzmq --enable-libzvbi --enable-omx --enable-openal --enable-opengl --enable-sdl2 --enable-libdc1394 --enable-libiec61883 --enable-chromaprint --enable-frei0r --enable-libopencv --enable-libx264 --enable-shared
  libavutil      55. 58.100 / 55. 58.100
  libavcodec     57. 89.100 / 57. 89.100
  libavformat    57. 71.100 / 57. 71.100
  libavdevice    57.  6.100 / 57.  6.100
  libavfilter     6. 82.100 /  6. 82.100
  libavresample   3.  5.  0 /  3.  5.  0
  libswscale      4.  6.100 /  4.  6.100
  libswresample   2.  7.100 /  2.  7.100
  libpostproc    54.  5.100 / 54.  5.100
Unrecognized option '-version'.
Error splitting the argument list: Option not found
@cwbeitel
Copy link

You can dump dependency versions with the following:

  import pip
  pprint.pprint(sorted(["%s==%s" % (i.key, i.version) for i in pip.get_installed_distributions()]))
  os.system("ffmpeg -version")

I observe short ~2s renders when providing a logdir that does not contain a model (which is expected), sounds like this is distinct from the issue you're seeing.

@danijar
Copy link
Author

danijar commented Jan 19, 2018

Thanks for the hint, I added version information to the first post.

@jkterry1
Copy link
Collaborator

PR #2762 is about to be merged, introducing V4 MuJoCo environments using new bindings and a dramatically newer version of the engine. If this issue still persists with the V4 ones, please create a new issue for it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

4 participants