How to correctly upload 160 RL models?
See original GitHub issueHi! For people who upload a lot of models on the Hub, I’m working on the upload of about 160 RL models (rl-trained-agents) 🔥 so I will not do it by hand 😅
The github repository containing all the models is like this:
rl-trained-agents
/a2c/Acrobot-v1_1
/a2c/CartPole-v1_1
...
/ppo/CartPOle-v1_1
Each model is like this (for instance /ppo/SpaceInvadersNoFrameskip-v4
:
├── SpaceInvadersNoFrameskip-v4_1/
│ ├── SpaceInvadersNoFrameskip-v4.zip
│ ├── monitor.csv
│ ├── evaluations.npz
│ ├── SpaceInvadersNoFrameskip-v4/
│ ├── args.yml
│ ├── config.yml
│ ├── vecnormalize.pkl
The process I’m defining is this way (pseudocode) for each {algo}/{env_id}:
# Step 1: Create Repo on the Hub using Repository
sb3/{algo}-{env_id}: for instance `sb3/ppo-CartPole-v1`
# Step 2: Clone the Repo to a folder
# Step 3: Move the corresponding rl-trained-agents/algo/env to Repo
# Step 4: Go to the Repo and generate the model card
# Step 5: Generate the video (using a script)
# Step 6: Push to Hub the repo
Do you think it’s a good process or you have some better solutions? Thanks for your feedback
Issue Analytics
- State:
- Created 2 years ago
- Reactions:1
- Comments:5 (5 by maintainers)
Top Results From Across the Web
Models, Preprocessors, and Action Distributions — Ray 2.2.0
We start with an Environment , which - given an action - produces an observation. The observation is preprocessed by a Preprocessor and...
Read more >Save and Load Machine Learning Models in Python with scikit ...
Save Model Using Pickle. import pandas. from sklearn import model_selection. from sklearn.linear_model import LogisticRegression.
Read more >master PDF - Stable Baselines3 Documentation
RL Baselines3 Zoo provides a collection of pre-trained agents, scripts for training, evaluating agents, tuning hyperpa- rameters, plotting ...
Read more >An Introduction to Deep Reinforcement Learning - Hugging Face
Deep RL is a type of Machine Learning where an agent learns how to behave in an ... to land correctly on the...
Read more >Combined model-free and model-sensitive reinforcement ...
Contemporary reinforcement learning (RL) theory suggests that potential ... leading us to develop a novel Hybrid+ model (see below), which accurately ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
i agree that you should store the uncompressed files whenever possible (to get git history etc)
This is super cool, really looking forward to this!