Skip to main content

A package for managing DeepRacer training and evaluation

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.0.1.tar.gz (46.6 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.0.1-py3-none-any.whl (64.0 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: drfc_manager-0.0.1.tar.gz
  • Upload date:
  • Size: 46.6 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.0.1.tar.gz
Algorithm Hash digest
SHA256 3a3df9f64bb1073b831e865d1e22a6de32880abc1fb1a5b42934c0951be78097
MD5 44e1d819c459163041919cdf38155355
BLAKE2b-256 c29fa121d551c7522c231243ee6840109f3ac5aeb79063316ad4ffdf9a87bc62

See more details on using hashes here.

File details

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

File metadata

  • Download URL: drfc_manager-0.0.1-py3-none-any.whl
  • Upload date:
  • Size: 64.0 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.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 1dfb009c7b8a361007c7cf3167e688237a4d21dd31509dc1f52d389c1fd71f09
MD5 c4019b73f8a58db9f45a47eb5aca2adc
BLAKE2b-256 75d8d0c0984d42e2bcd2f3da4b1997e79218481d9d1d4f02cc73ac3333de1000

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