Official hands-on course materials for Jetbot course. Get teaching material here. Google Drive
In this example we will control the Jetbot by programming from our web browser some basic motor controls using functions.
In this example we will control the Jetbot by programming from our web browser some basic motor controls using User Interfaces such as sliders and buttons.
In this example we will control the Jetbot remotely by using a gamepad controller and display the live video stream using our Jetbot camera.
- Exercise for Python basic course.
- Learn how to import library, use classes and inheritance, syntax and data containers
- Introduction to classification with PyTorch.
- Build simple classification fr0m scratch to understand the process of building models.
In this example we will train the Jetbot to avoid collisions in a variety of scenarios. The following steps are required:
- Data Collection - Collect image classification dataset which consists of two classes, Blocked and Free.
- Train the model - Perform model training using Transfer Learning technique to detect the two classes and help Jetbot to avoid collisions.
- Optimize the model - Optimize the trained model using TensorRT for faster inference on the Jetson Nano.
- Live demo - Finally, we run the collision avoidance live inference on the Jetbot.
In this example we will apply various image augmentations on a dataset by using PyTorch packages and display the results.
- Learn how to define CNN model for computer vision
- Learn how to use pretrained CNN model for transfer learning
- Build Regression Model from scratch with Pytorch
- Learn the differences when training Classification and Regression model
In this example we will train the Jetbot to follow a path on a track. The following steps are required:
- Data Collection - Collect image regression dataset which consists of image coordinate target points x and y.
- Train the model - Perform model training using Transfer Learning technique to predict two continuous values x and y corresponding to a target point.
- Optimize the model - Optimize the trained model by using TensorRT for faster inference on the Jetson Nano.
- Live demo - Finally, we run the road following live inference on the Jetbot.
- Learn optimization process with TensorRt
- Learn the trade-off of TensorRt optimization
- Learn optimization process with OnnxRuntime
- Learn how to convert pytorch model to Onnx
- Learn the trade-off of OnnxRuntime optimization
In this example we will be combining both Road Following and Collision Avoidance models into one notebook so that we can perform Road Following as well as enable Collision Avoidance at the same time so that our Jetbot will be able to follow a specific path on the track and avoid any collision with obstacles that may come on its way.
Jetbot-labs related scripts have been tested on SD image "jetbot_JP4.3_JL1.24_PT1.30_0115.img"
Hardware is using third party Waveshare Jetbot Kit