Skip to content

AmanKrishna171/Pedestrian-Detection-With-Age-Classification-Pipeline

Repository files navigation

Pedestrian-Detection-With-Age-Classification-Pipeline

Minimum Requirements

  • Linux OS (Ubuntu)
  • 16GB of RAM
  • Nvidia GPU with 4GB or more VRAM

Instructions

  1. For environment setup please follow instructions from here

  2. Download the model and config files from here

  3. Download pretrained model from here and place in model folder

  4. Download pretrained model from here and place in main directory of repository

  5. Running the pipeline

Download my models from here, then run

python detect.py -i "path to image" --config "path to config" --model "path to model"

For exmaple,

python detect.py -i 1.png --config Mymodels/Model_2/Model_2_config.py --model Mymodels/Model_2/Model_2.pth

Please check the instructions for information

Note

For training the models, I have used code from [here]. To train the models further:

  1. Cone that repository
  2. Download cityscapes dataset from here
  3. Use the configuration files
  4. Then run
python tools/train.py config_file_path –resume-from model_file_path

References:

  • Pedestrian Detection Code from [1] [2]

  • Pedestrian Attribute Classification Code from [1]

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages