idejie / PersonSearcher

Searching Person Using Any Input

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Person Search with Natural Language Description

0.DataSet

1.Train

  • you can update the parameters for the preprocess in utils/config.py, like batch_size, epoch, ...., and set action value "train"
  • then run:
    python main.py
  • if you want to use multi-gpu:
    CUDA_VISIBLE_DEVICES=[YOUR_GPU_IDs] python -m torch.distributed.launch --nproc_per_node=[YOUR_GPU_COUNT] main.py
    # exmaple:
    CUDA_VISIBLE_DEVICES=0,1 python -m torch.distributed.launch --nproc_per_node=2 main.py

2.Test

3.Visualization

4.TODO:

  • Preprocess
    • create the vocabulary of the dataset
    • encode the captions
  • DataLoader
    • CUDK-PEDES dataset
  • Model
    • train
    • valid
    • test
    • metrics
    • checkpoints
  • Accelerate
    • AMP: automatic mixed precision
    • Parallel
  • Web Visualization
    • API
    • Front End
    • Prettify

About

Searching Person Using Any Input


Languages

Language:Python 98.1%Language:HTML 1.9%