Closed philwinder closed 5 years ago
We've never ran it on colab notebook, thanks for trying this out! Seem like the runtime is different than when running from a plain bash shell. I'll push a patch for this
btw, a way to use the optimized conda environment inside colab is to install following the SLM Lab README and run the conda and python command in one line:
!conda activate lab && python run_lab.py slm_lab/spec/demo.json dqn_cartpole dev
I'm attempting to get SLM-Lab working inside a Google Colab instance. I can't get the getting started example working because of a torch error.
To Reproduce Run this notebook
Error logs
I think the solution is to add some exception handling around the
mp.set_start_method('spawn')
call, but I'm not certain about that.Thanks!