Deepracer-utils

Latest version: v1.0.9

Safety actively analyzes 638773 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 3 of 3

1.0.1

1.0.0

Major feature update - includes a set of new capabilities, including the ability to read logs directly from Console and S3 bucket.

1.0.0rc1

0.10

After you install this version from pypi, run

python -m deepracer install-cli

and then

aws deepracer help

(assuming you have aws-cli installed for that to work)

0.9

If you have AWS DeepRacer console logs downloaded extracted in folder `model-name`, simply do

from deepracer.logs import DeepRacerLog
log = DeepRacerLog("path/to/model-name")
log.load()

df = log.dataframe()

try:
print(log.agent_and_network())
print("-------------")
print(log.hyperparameters())
print("-------------")
print(log.action_space())
except Exception:
print("Robomaker logs not available")

Not that everything but log.load() works only if the robomaker log is also available (so only for console logs for now)

There is a known issue where converting a dataframe into simulation_aggregates fails. This is due to a slight naming mismatch. Until it's fixed you can work around it with

df["throttle"]=df["speed"]
df["timestamp"]=df["tstamp"]
df["steer"]=df["steering_angle"]

Page 3 of 3

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.