aws-solutions-library-samples / guidance-for-training-an-aws-deepracer-model-using-amazon-sagemaker

DeepRacer workshop content. This Guidance demonstrates how software developers can use an Amazon SageMaker Notebook instance to directly train and evaluate AWS DeepRacer models with full control
https://aws.amazon.com/solutions/guidance/training-an-aws-deepracer-model-using-amazon-sagemaker/
MIT No Attribution
1.25k stars 713 forks source link

Update DeepRacer Log Analysis.ipynb #101

Closed kpavitrak closed 1 year ago

kpavitrak commented 1 year ago

Made the following changes to cell 19 in the DeepRacer loganalysis.ipynb

Use Shapely to generate lines for the inner

and outer track borders, and centerline

l_center_line = LineString(waypoints[:,0:2]) l_inner_border = LineString(waypoints[:,2:4]) l_outer_border = LineString(waypoints[:,4:6])

Create a shapely Polygon representing the track

road_poly = Polygon(np.vstack((l_outer_border.coords, np.flipud(l_inner_border.coords)))) road_poly

Issue #, if available:

Description of changes:

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.