Skip to content

yuedongli1/DINO-ms

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

39 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

DINO-ms

DINO: DETR with Improved DeNoising Anchor Boxes for End-to-End Object Detection

network

Installation

The code requires python>=3.7 and mindspore>=2.1 and currently supports GPU platform. Please follow the instructions here to install mindspore dependencies.

Clone the repository locally and install with

git clone https://github.com/Mark-ZhouWX/models.git
pip install -r requirements.txt

Train

First put your dataset under {project_root}/datasets (currently only COCO is supported), and download pretrained model from here, then run:

python train.py

for single card training, or

mpirun --allow-run-as-root -n 8 python train.py

for multi-card training

Inference

For inference, please run:

python eval.py --eval_model_path /path/to/model

About

DINO implemented in mindspore

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 99.8%
  • Shell 0.2%