A comprehensive Python package for managing AWS DeepRacer training workflows, model evaluation, and deployment. Features include pipeline management, custom model training, evaluation metrics, and visualization tools.
Project description
drfc_manager
A wrapper for DeepRacer for Cloud functionalities
Table of Contents
Objective
The main purpose of this library is to provide an easy way to manage your workflow within the DeepRacer for Cloud (DRfC) environment.
This library allows users to optimize the training of their Reinforcement Learning (RL) models by managing the entire process primarily within a Jupyter Notebook. This includes configuring model parameters, creating training pipelines, and utilizing machine learning algorithms to improve training outcomes.
Key Advantages
- Easily set model configuration to training (hyperparameters, model metadata, and reward function)
- Create many model configurations for various training
- Stack multiple training configurations to be executed in a logical sequence
Future ideas :bulb:
- Set a stop criteria for model training (eg. convergence, loss behavior, iteration count, or another)
- Integrate with some hyperparameter tuning techniques from machine learning libs (e.g., Sckit Learning)
Usage
Define configuration model data
# Default values set from official documentation
model_name = 'rl-deepracer-sagemaker'
hyperparameters = Hyperparameters()
model_metadata = ModelMetadata()
Define the reward function
def reward_function():
reward = ...
return float(reward)
Run pipeline
first_train = train_pipeline(model_name, hyperparameters, model_metadata, bytes_io_reward_function)
first_train()
Idea behind
This lib is being developed directly using the same ideas and implementation of the repo https://github.com/aws-deepracer-community/deepracer-for-cloud according to its description: "A quick and easy way to get up and running with a DeepRacer training environment using a cloud virtual machine or a local computer".
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file drfc_manager-0.1.0.tar.gz.
File metadata
- Download URL: drfc_manager-0.1.0.tar.gz
- Upload date:
- Size: 46.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/2.1.3 CPython/3.11.12 Linux/6.11.0-1014-azure
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
190b9642d6fae8b0f7f8195fc99be98114c4f07bd2940a83a68ad9aacf981d7a
|
|
| MD5 |
2455043552cc5bf144a95fe5cfce0e6b
|
|
| BLAKE2b-256 |
f278d59554e4f98a9732be5a3a8968e37af14870627515197dbd43478e7b565a
|
File details
Details for the file drfc_manager-0.1.0-py3-none-any.whl.
File metadata
- Download URL: drfc_manager-0.1.0-py3-none-any.whl
- Upload date:
- Size: 63.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/2.1.3 CPython/3.11.12 Linux/6.11.0-1014-azure
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
c17096c4673a4da6f0b242a7417e2f2f0b19ec38b3bd5696db4957fe1bca8169
|
|
| MD5 |
01ffd835cfe0626f38338939fa5117ba
|
|
| BLAKE2b-256 |
408ea1a68351a13e94fcaf2476e9af36bdf499ba0adf205c39933812f6a076e2
|