Training Models

Google Colab

How to download files from Google Colab to your computer.

from google.colab import files
files.download('example.txt')

How to link your Google Drive in your Google Colab notebook.

from google.colab import drive
drive.mount('/content/gdrive')

Copy weights from the YOLOv5 notebook to Google Drive. Right click and Copy to get the file path.

%cp /content/yolov5/runs/exp0_yolov5s_results/weights/best.pt /content/gdrive/My\ Drive

Copy weights from our Google Drive to a folder called "weights" in our YOLO5 directory.

%cp /content/gdrive/My\ Drive/best.pt /content/yolov5/weights

Darknet install Jetson

See Jetson Nano YOLO Object Detection with TensorRT

Also change the following to the Makefile before making.

NVCC=/usr/local/cuda/bin/nvcc

Make sure you have git lfs installed.

References