Skip to content

dungnb1333/Pose-Bowl-Spacecraft-Detection

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Pose-Bowl-Spacecraft-Detection

Alt text

2nd place solution for Pose Bowl: Spacecraft Detection Challenge

General

The key of solution is based on synthetic data generation and yolov8 model.

System

  • Operating System: Ubuntu 22.04
  • Nvidia Driver Version: 545.23.08
  • Cuda: Version 11.3
  • GPU: 1xNvidia A100 40GB
  • RAM: 64GB
  • Train duration: yolov8s 1280 (~60 hours), yolov8n 1280 (~24hours)
  • Inference duration: yolov8s 1280(1 hour 40 minutes), yolov8n 1280(46 minutes)

Environment

conda create -n venv python=3.9.6
conda activate venv
conda install pytorch=1.12.1 torchvision=0.13.1 torchaudio=0.12.1 cudatoolkit=11.3 -c pytorch
pip install -r requirements.txt

Data preparation

And run following scripts

cd src
python prepare_drivendata_spacecraft.py
python prepare_external_data.py
python generate_synthetic_data.py

Train model

Change line 1 in file ./src/spacecraft_data.yaml to absolute path of folder ./dataset/ in your system

And run following scripts

cd src
rm -rf runs
python train.py

Export model to openvino

Change path of trained model in file ./src/export_to_openvino.py

cd src
python export_to_openvino.py

Inference

Step by step to generate submission file

Result

Public LB Private LB Runtime
yolov8s 1280 0.9285 0.9226 1 hour 40 minutes
yolov8n 1280 0.9173 0.9098 46 minutes

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Packages

No packages published