This project is to create a code template for image classification, object detection and segmentation. It's based on pytorch API, it supports to change the pretrained backbone on given config yaml file.
README ................... This file
config ................... directory contains config yaml files
core ................... directory contains classification/detection/segmentation part code and dataset.py
utils ................... directory contains some common functions and detection specific functions
data ................... directory contains your customerized data, it should be organized by specific format
logs ................... directory contains log file
models ................... directory contains best models
- python 3.x
- intel-ipex 1.2
- pytorch 1.7
This code is verified by hymenoptera_data and pascal_voc2007
python -c config/resnet50.yml --train python -c config/resnet50.yml --train --ipex(if ipex enabled)
python -c config/resnet50.yml -d path of your data python -c config/resnet50.yml -d path of your data --ipex(if ipex enabled)
object detection is only support faster_rcnn topology, SSD could be integrated in this project