
Security News
pnpm 10.12 Introduces Global Virtual Store and Expanded Version Catalogs
pnpm 10.12.1 introduces a global virtual store for faster installs and new options for managing dependencies with version catalogs.
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.
A Pythonic workflow manager and wrapper for DeepRacer for Cloud (DRfC)
The main purpose of this library is to provide a Pythonic, Jupyter-friendly interface to manage your workflow within the DeepRacer for Cloud (DRfC) environment.
This library allows users to optimize the training, evaluation, and management of Reinforcement Learning (RL) models by orchestrating the entire process from Python scripts or Jupyter Notebooks. It supports local, MinIO, and AWS S3 storage, and is designed for multi-user environments (e.g., JupyterHub).
pip install drfc_manager
# or clone and install locally
# git clone https://github.com/joaocarvoli/drfc-manager.git
# cd drfc-manager && pip install .
from drfc_manager.types.hyperparameters import HyperParameters
from drfc_manager.types.model_metadata import ModelMetadata
model_name = 'rl-deepracer-sagemaker'
hyperparameters = HyperParameters()
model_metadata = ModelMetadata()
def reward_function(params):
# Your custom reward logic here
return float(...)
from drfc_manager.pipelines import train_pipeline
train_pipeline(
model_name=model_name,
hyperparameters=hyperparameters,
model_metadata=model_metadata,
reward_function=reward_function,
overwrite=True,
quiet=False
)
from drfc_manager.pipelines import evaluate_pipeline
result = evaluate_pipeline(
model_name=model_name,
run_id=0,
quiet=True,
clone=False,
save_mp4=True
)
from drfc_manager.pipelines import clone_pipeline
clone_pipeline(
model_name=model_name,
new_model_name='my-cloned-model',
quiet=True
)
from drfc_manager.pipelines import stop_training_pipeline, stop_evaluation_pipeline
stop_training_pipeline(run_id=0)
stop_evaluation_pipeline(run_id=0)
from drfc_manager.pipelines import start_metrics_pipeline, stop_metrics_pipeline
start_metrics_pipeline(run_id=0)
stop_metrics_pipeline(run_id=0)
from drfc_manager.pipelines import start_viewer_pipeline, stop_viewer_pipeline
# Start the viewer (for a given run_id)
viewer_result = start_viewer_pipeline(run_id=0, quiet=True)
# Stop the viewer
stop_viewer_pipeline(quiet=True)
/tmp/<username>/
..env
or before running a pipeline..env
or environment is set up correctly.This lib is developed using the same ideas and implementation as the aws-deepracer-community/deepracer-for-cloud repo: "A quick and easy way to get up and running with a DeepRacer training environment using a cloud virtual machine or a local computer".
For more examples and advanced configuration, see the examples/ directory.
FAQs
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.
We found that drfc-manager demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
pnpm 10.12.1 introduces a global virtual store for faster installs and new options for managing dependencies with version catalogs.
Security News
Amaro 1.0 lays the groundwork for stable TypeScript support in Node.js, bringing official .ts loading closer to reality.
Research
A deceptive PyPI package posing as an Instagram growth tool collects user credentials and sends them to third-party bot services.