Finding the ray_results folder in colab

The location of ray_results folder in colab when using RLlib &/or tune.


If you’re NOT using tune.run() but using only RLlib’s python API & if you set the local_dir in RLlib’s config to a non-default directory, (The default is ~/ray_results.) you will only find the results.json file (& your checkpoint folders if you also specify them) in your specified directory. The other files such as the tensorboard event files, the params.pkl & params.json will still be saved in the default directory.

However, if you use tune.run() & set the local_dir argument to your specified directory, all the files will be saved there.

If you’re using colab, the way to access ~/ray_results is to click on a small folder icon on the left of the panel, it will open up a side panel, simply go to root/ray_results. All those files will be saved in there.

Note: It seems like setting the (1)local_dir in RLlib’s config will not automatically set the (2)local_dir in the Experiment class in experiment.py if you’re not using tune.run().



2020

PBT for MARL

47 minute read

My attempt to implement a water down version of PBT (Population based training) for MARL (Multi-agent reinforcement learning).

Back to top ↑

2019

.bash_profile for Mac

13 minute read

This post demonstrates how to create customized functions to bundle commands in a .bash_profile file on Mac.

DPPO distributed tensorflow

68 minute read

This post documents my implementation of the Distributed Proximal Policy Optimization (Distributed PPO or DPPO) algorithm. (Distributed continuous version)

A3C distributed tensorflow

26 minute read

This post documents my implementation of the A3C (Asynchronous Advantage Actor Critic) algorithm (Distributed discrete version).

Distributed Tensorflow

76 minute read

This post demonstrates a simple usage example of distributed Tensorflow with Python multiprocessing package.

N-step targets

76 minute read

This post documents my implementation of the N-step Q-values estimation algorithm.

Dueling DDQN with PER

49 minute read

This post documents my implementation of the Dueling Double Deep Q Network with Priority Experience Replay (Duel DDQN with PER) algorithm.

Dueling DDQN

24 minute read

This post documents my implementation of the Dueling Double Deep Q Network (Dueling DDQN) algorithm.

DDQN

29 minute read

This post documents my implementation of the Double Deep Q Network (DDQN) algorithm.

DQN

24 minute read

This post documents my implementation of the Deep Q Network (DQN) algorithm.

Back to top ↑