nottombrown / rl-teacher

Code for Deep RL from Human Preferences [Christiano et al]. Plus a webapp for collecting human feedback
MIT License
559 stars 95 forks source link

Prevent video writing from stealing focus on OSX #9

Open nottombrown opened 7 years ago

nottombrown commented 7 years ago

We currently lose focus whenever we write a video. This makes running the system locally difficult.

It seems that we don't face this issue when running everything in a single thread. It's plausible that focus is only stolen when a new thread is initialized, so keeping a couple long-lived worker threads may solve the issue.