Skip to content

pawelbeza/ClothesDetectorModel

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Clothes Detector Model

Convolutional Neural Network Model detecting clothes

Architecture

Faster R-CNN with ResNet+FPN backbone faster-rcnn

Literature

Setup

Clone repository

git clone https://github.com/pawelbeza/ClothesDetectorModel.git

Create conda environment

conda env create --file env.yml
conda activate clothes-detection

Prepare dataset

  1. Download DeepFashion2 dataset to dataset dir from google drive
  2. Create coco annotations
mkdir dataset/detectron_annos  
python3 dataset/deepfashion2_to_coco.py --out_dir ./dataset/detectron_annos/train_annos_all.json --image_dir ./dataset/train/image --annotation_dir ./dataset/train/annos --num_images 191961  
python3 dataset/deepfashion2_to_coco.py --out_dir ./dataset/detectron_annos/validation_annos_all.json --image_dir ./dataset/validation/image --annotation_dir ./dataset/validation/annos --num_images 32153

Training

python3 train_net.py --config configs/Faster_RCNN_R101_FPN_3x.yaml --resume

About

Convolutional Neural Network Model detecting clothes

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published