tmrl
wandb
Our great sponsors
tmrl | wandb | |
---|---|---|
11 | 16 | |
420 | 8,190 | |
9.5% | 3.6% | |
6.3 | 9.8 | |
15 days ago | 3 days ago | |
Python | Python | |
MIT License | MIT License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
tmrl
-
Problem with Truncated Quantile Critics (TQC) and n-step learning algorithm.
Hi all! I'm implementing a TQC with n-step learning in Trackmania (I forked original repo from here: https://github.com/trackmania-rl/tmrl, my modified version here: https://github.com/Pheoxis/AITrackmania/tree/main). It compiles, but I am pretty sure that I implemented n-step learning incorrectly, but as a beginner I don't know what I did wrong. Here's my code before implementing n-step algorithm: https://github.com/Pheoxis/AITrackmania/blob/main/tmrl/custom/custom_algorithms.py. If anyone checked what I did wrong, I would be very grateful. I will also attach some plots from my last training and outputs from printed lines (print.txt), maybe it will help :) If you need any additional information feel free to ask.
- Training an unbeatable AI in Trackmania [video]
- Can you beat trackmania AI?
-
Python RL Environments on Windows
I don't know if it fits your need : https://github.com/trackmania-rl/tmrl
-
New to reinforcement learning.
Hi, if you are gonna train a deep RL algorithm on a real robot and you are a beginner, I suggest you try out tmrl. This will allow you to try out a readily available algorithm (Soft Actor-Critic) in real-time on a real video-game (TrackMania), as real-world-like proxy for all the concerns you will encounter on real robot, and to rather easily develop your own robot-learning pipeline from there for your own robot. The repo has a huge tutorial exactly for this purpose.
-
AI Learns Mario Kart Wii (Rainbow DQN)
I see, and how did you handle the simulator and dynamics? Did you "step" the game or did you capture screenshots with constant time interval in real-time? I am asking because tmrl uses the second option in TrackMania, which makes the approach generalizable to all video games including MarioKart, but so far we met no such success training CNNs with the Soft Actor-Critic familly. The setting is a bit more difficult because it uses continuous input inckuding the gas and break (I suppose you always send gas to the maximum?) and we don't use punishments for collisions and this kind of tricks, but still, if it works that well in your setting I think it should work similarly in ours.
-
Have you used any good DRL library?
I am very disappointed these guys don't cite tmrl :D
-
osu!
If you just want to make a Gym environment, focus on rtgym. You will want to have a way of retrieving observations, say, raw images for instance. You can do this with pywin32 as done here. You will also want to grab a reward signal, which will probably be the most challenging thing to do because you will have to compute that from screenshots since you don't have access to the game internals (in fact you could because the game is opensource, but I assume you don't want to go down this path). If there is something like a score counter that's not moving somewhere, I suggest you capture that and read the numbers individually with the 1-NN algorithm (which is done in the un-supported "trackmania nation forever" versions of the tmrl encironment btw if you need help doing that). Then you will need to input controls. I see that osu is controller by the mouse and keyboard, there are several solutions for that. You can use pywin32 I think, pyautogui, keyboard, and probably others. Once you have these basic building blocks, it will be fairly straightforward to use the rtgym API in order to build you real time Gym environment.
-
Is replay buffer can remove "done"?
Sometimes it is more than okay, it may be necessary. For instance in tmrl we do exactly that, because we are in a partially observable environment where we cannot say whether the next state will be terminal or not, and where what we try to actually optimize is an infinite sum of discounted rewards.
-
[P] DeepForSpeed: A self driving car in Need For Speed Most Wanted with just a single ConvNet to play ( inspired by nvidia )
Cool project. Shameless self-advertising here but you can use vgamepad to control the game with a virtual gamepad instead of key presses, which enables analog policies. We do this in TrackMania :)
wandb
-
A list of SaaS, PaaS and IaaS offerings that have free tiers of interest to devops and infradev
Weights & Biases — The developer-first MLOps platform. Build better models faster with experiment tracking, dataset versioning, and model management. Free tier for personal projects only, with 100 GB of storage included.
- Northlight makes Alan Wake 2 shine
-
The last sentence of Lowes conveniently missing from OpenAI...
HuggingFace and wandb.ai (both competitors of OpenAI) both also have "do own research"
-
Efficient way to tune a network by changing hyperparameters?
Wandb is the best! https://wandb.ai/
-
[D] Monitoring production image models
To track stuff I've used wandb.ai in a company in the past, as someone else pointed out. Regarding metrics... This is really specific to your domain, and it is such a broad question. You could count color pixels, the distribution of intensity histograms, etc etc.
-
How to use the colab notebook version of Dall-E mini and bypass the traffic limit - A guide
Step 1: The colab notebook uses wandb.ai, so you need to register for a wandb.ai account beforehand if you want to use the colab notebook. After registering you need to go to your homepage and copy the API key and paste/keep it somewhere.
-
Roadmap for learning MLOps (for DevOps engineers)
I want to take a look at tools like https://wandb.ai/ and they would integrate into some of the pipelines I'm playing with.
-
What's a sequel that got you thinking "the people who made this COMPLETELY missed the point of the first one"?
does current cgi and ai tech can bring back leslie nielsen? might use unreal engine and https://www.resemble.ai/ or https://wandb.ai/?
-
What MLOps tools and processes do you use?
I'm currently working for a MLOps company so I'm heavily using their tools (Weights & Biases) but I've used custom C++ for deployment, Pytorch + fastai for quick experimentation, Weights & Biases for experiment tracking, hyper-parameter tuning + model versioning (hence why I went to work for them), custom database + data pipeline, HoloViz for data visualisation (really nice dashboarding tool), Jenkins for CI/CD, I also love Github Actions.
- [D] Best resources or tools to draw nicer table for comparing different models/frameworks performance
What are some alternatives?
drqv2 - DrQ-v2: Improved Data-Augmented Reinforcement Learning
tensorboard - TensorFlow's Visualization Toolkit
tm-dashboard - Dashboard for Trackmania displaying a bunch of vehicle information on screen.
aim - Aim 💫 — An easy-to-use & supercharged open-source experiment tracker.
acme - A library of reinforcement learning components and agents
stable-baselines3 - PyTorch version of Stable Baselines, reliable implementations of reinforcement learning algorithms.
softlearning - Softlearning is a reinforcement learning framework for training maximum entropy policies in continuous domains. Includes the official implementation of the Soft Actor-Critic algorithm.
guildai - Experiment tracking, ML developer tools
vgamepad - Virtual XBox360 and DualShock4 gamepads in python
pytorch-summary - Model summary in PyTorch similar to `model.summary()` in Keras
alf - Agent Learning Framework https://alf.readthedocs.io
cleanrl - High-quality single file implementation of Deep Reinforcement Learning algorithms with research-friendly features (PPO, DQN, C51, DDPG, TD3, SAC, PPG)