nottombrown / rl-teacher

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

Prevent video writing from stealing focus on OSX #9

Open nottombrown opened 6 years ago

nottombrown commented 6 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.