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.1.tar.gz (46.7 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.1-py3-none-any.whl (64.2 kB view details)

Uploaded Python 3

File details

Details for the file drfc_manager-0.1.1.tar.gz.

File metadata

  • Download URL: drfc_manager-0.1.1.tar.gz
  • Upload date:
  • Size: 46.7 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.1.tar.gz
Algorithm Hash digest
SHA256 b0cafd5dea34e5a9e91a9515b878805960a39d189a612ff667dee5e7d967b3c5
MD5 7d2e2de789f8f31a34f9a5e54d7e6081
BLAKE2b-256 16ab76d9ec36f878c035bfdbf8d9cda40bf9a681bd863e48da8a19c910342c1d

See more details on using hashes here.

File details

Details for the file drfc_manager-0.1.1-py3-none-any.whl.

File metadata

  • Download URL: drfc_manager-0.1.1-py3-none-any.whl
  • Upload date:
  • Size: 64.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.1-py3-none-any.whl
Algorithm Hash digest
SHA256 776343272c498deb347a251b6f25f6afa475fb49c6dd7b1e7334f5c03ecba323
MD5 59a3e7706f04c3dd048b6d476e514edd
BLAKE2b-256 ef842912c47a544d05a6a85a29a7fc488d21a62bb7d1ed1b9ac2e06f266cfc61

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