Skip to content

Model Training

michiganrobosub edited this page Jan 14, 2025 · 8 revisions

Processing scripts are in the mrobosub_ml repo

  • Use VideoToImages.py to turn GoPro videos into images
    • usage: python3 VideoToImages.py PATHTOVIDEOFILE [wb]
  • Use Preprocessing.py to resize image to desired size
  • Use LabelBox to generate a JSON file for training
  • Use LabelAndPartition.py to turn JSON file into image (png files, moves original image files) and label (.txt files) path
    • usage: python3 generateTrainingFiles.py [JSONFILE]

Training runs on HPC Cluster, scripts are in mrobosub_ml/slurm-scripts

  • Run setup.sh
    • "USAGE: ./setup.sh [training data git url] [test data git url]"
    • Clones yolo repo
    • Clones dataset repo
    • Setup Venv for training
  • Edit Parameters.txt for training params
  • Run ./sbatch.sh & to submit job
  • More details in the README

Common Terms

Competition Overview

Electronics

        AHRS

        E Stop

        DVL

        IMU

        Submarine Essentials

        Thruster Controller Board

FAQ

        Base Station

Home

Project Versions

Setting up Development Environment

Software

        High Level Diagram

        Jetson

        Perception

                Competition Tasks

                Model Training

        Runbook

        Thruster Mixing

        DVL

Deprecated

        Pixhawk

        Old Thruster Mixing

        Companion

Clone this wiki locally