Skip to content

YOLObile framework, a real-time object detection on mobile devices via compression-compilation co-design

Notifications You must be signed in to change notification settings

dsbyprateekg/YOLObile_compression-compilation

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 

Repository files navigation

Environment setup:

  • Python 3.7.3
  • conda install -c conda-forge/label/cf202003 opencv
  • pip install matplotlib
  • pip install seaborn
  • pip install scikit-learn
  • conda install -c pytorch pytorch==1.3.1
  • conda install -c pytorch torchvision==0.4.2

Download weights file and put inside the weights folder

Google Drive: Google Drive Download

Run following script to download the coco datasets(18.8 GB) in root directory, if you want to test the MAP:

YOLObile/data/get_coco2014.sh

Adjust the path in YOLObile\data\coco2017.data

run following command to test:

python test.py --img-size 320 --batch-size 64 --device 0 --cfg cfg/csdarknet53s-panet-spp.cfg --weights weights/best8x-514.pt --data data/coco2017.data

In case of memory error lower the --batch-size

About

YOLObile framework, a real-time object detection on mobile devices via compression-compilation co-design

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published