Skip to content

Instantly share code, notes, and snippets.

@ceteri
Created July 7, 2020 05:15
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ceteri/3165df769f3f11a80740842746d6ea65 to your computer and use it in GitHub Desktop.
Save ceteri/3165df769f3f11a80740842746d6ea65 to your computer and use it in GitHub Desktop.
import shutil
CHECKPOINT_ROOT = "tmp/ppo/taxi"
shutil.rmtree(CHECKPOINT_ROOT, ignore_errors=True, onerror=None)
ray_results = os.getenv("HOME") + "/ray_results/"
shutil.rmtree(ray_results, ignore_errors=True, onerror=None)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment