TDS Archive

An archive of data science, data analytics, data engineering, machine learning, and artificial intelligence writing from the former Towards Data Science Medium publication.

Follow publication

AWS DeepRacer : A Practical Guide to Reducing the Sim2Real Gap — Part 1 || Preparing the Track

Shrey Pareek, PhD
TDS Archive
Published in
8 min readAug 21, 2024

--

Video demo of AWS DeepRacer on real track. Video by author.

The Car and Sensors

AWS DeepRacer. Image by author.
DeepRacer view in RGB (Left) and Greyscale (Right). Even though the camera captures images in RGB, they are converted to Greyscale for inference. Notice the creases on the track and light reflection which increases the sim2real gap. Video by author.
Actual camera view (Left) and simulation View (Right) in RGB space. These images are converted to grey scale before inference. Source².

DeepRacer’s sim2real Performance Gap

Track — Build v/s Buy

Track Review — Do Not Buy

The track is of terribly low quality and I would not recommend buying it. The surface is very creased, flimsy, and highlly reflective. Image by author.

Build Your Own Track (If Possible)

Preparing Your Space — Lighting and Distractions

Track preparation steps - (a) I reduced ambient lighting by pulling down all blinds and switching off ceiling lights. A couple of lights could not be switched off as they were always on for emergencies. (b) Barriers help reduce background distractions and reflections. Colored barriers work better than black ones. Green barriers are the most effective. I did not have enough green ones so I used them around more difficult turns. Image by author.

Minimize Ambient Lights

Colorful Interlocking Barriers

What’s Next?

Acknowledgements

References

--

--

TDS Archive
TDS Archive

Published in TDS Archive

An archive of data science, data analytics, data engineering, machine learning, and artificial intelligence writing from the former Towards Data Science Medium publication.

Shrey Pareek, PhD
Shrey Pareek, PhD

Written by Shrey Pareek, PhD

Scientist, Professor, Editor. 2 Cats, 1 Wife.

No responses yet

Write a response