Skip to content

Latest commit

 

History

History
40 lines (30 loc) · 1.22 KB

r3271.humblecore_pytorch113.md

File metadata and controls

40 lines (30 loc) · 1.22 KB

jetson-ros-pytorch:1.13-humble-core-r32.7.1

Pull or Build

Pull the docker container

docker pull ghcr.io/kalanaratnayake/jetson-ros-pytorch:1.13-humble-core-r32.7.1

Build the docker container

docker buildx build --load --platform linux/arm64 -f ros-pytorch-images/r3271.humblecore_pytorch113.Dockerfile -t jetson-ros-pytorch:1.13-humble-core-r32.7.1 .

Start

Start the docker container

docker run --rm -it --runtime nvidia --network host --gpus all -e DISPLAY ghcr.io/kalanaratnayake/jetson-ros-pytorch:1.13-humble-core-r32.7.1 bash

Test

Run the following commands inside the docker container to confirm that the container is working properly.

python3 -c "import torch; print(torch.__version__)"
python3 -c "import torchvision; print(torchvision.__version__)"

Run the following commands inside the docker container to confirm that the container is working properly.

ros2 run demo_nodes_cpp talker

Run the following commands on another instance of ros container or another Computer/Jetson device installed with ROS humble to check connectivity over host network and discoverability (while the above command is running).

ros2 run demo_nodes_py listener