Skip to main content

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

Stars GitLab Forks Contributors Licence Issues Licence

EVO car

Table of Contents

  1. Objective
  2. Key Advantages
  3. Usage
  4. Idea behind

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

drfc_manager-0.1.0.tar.gz (46.9 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

drfc_manager-0.1.0-py3-none-any.whl (63.2 kB view details)

Uploaded Python 3

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

Hashes for drfc_manager-0.1.0.tar.gz
Algorithm Hash digest
SHA256 190b9642d6fae8b0f7f8195fc99be98114c4f07bd2940a83a68ad9aacf981d7a
MD5 2455043552cc5bf144a95fe5cfce0e6b
BLAKE2b-256 f278d59554e4f98a9732be5a3a8968e37af14870627515197dbd43478e7b565a

See more details on using hashes here.

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

Hashes for drfc_manager-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 c17096c4673a4da6f0b242a7417e2f2f0b19ec38b3bd5696db4957fe1bca8169
MD5 01ffd835cfe0626f38338939fa5117ba
BLAKE2b-256 408ea1a68351a13e94fcaf2476e9af36bdf499ba0adf205c39933812f6a076e2

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page