Skip to content

Instantly share code, notes, and snippets.

@geyang
Created September 17, 2018 23:29
Show Gist options
  • Save geyang/efba2a0e8a6158cebf8907c87ed49e61 to your computer and use it in GitHub Desktop.
Save geyang/efba2a0e8a6158cebf8907c87ed49e61 to your computer and use it in GitHub Desktop.
Traceback (most recent call last):
File "/Users/ge/machine_learning/berkeley-playground/learning_to_learn_from_imperfect_demonstrations/super_expert/experiments/run.py", line 148, in _
fn(**kwargs)
File "/Users/ge/machine_learning/berkeley-playground/learning_to_learn_from_imperfect_demonstrations/rl/train_ppo.py", line 138, in run_ppo
fps=30)
File "/usr/local/lib/python3.6/dist-packages/ml_logger/ml_logger.py", line 531, in log_video
imageio.mimsave(ntp.name, frame_stack, format=format, fps=fps, **imageio_kwargs)
File "/usr/local/lib/python3.6/dist-packages/imageio/core/functions.py", line 341, in mimwrite
writer.append_data(im)
File "/usr/local/lib/python3.6/dist-packages/imageio/core/format.py", line 492, in append_data
return self._append_data(im, total_meta)
File "/usr/local/lib/python3.6/dist-packages/imageio/plugins/ffmpeg.py", line 648, in _append_data
self._initialize()
File "/usr/local/lib/python3.6/dist-packages/imageio/plugins/ffmpeg.py", line 781, in _initialize
shell=ISWIN)
File "/usr/lib/python3.6/subprocess.py", line 709, in __init__
restore_signals, start_new_session)
File "/usr/lib/python3.6/subprocess.py", line 1275, in _execute_child
restore_signals, start_new_session, preexec_fn)
OSError: [Errno 12] Cannot allocate memory
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment