Are you sure you want to delete this task? Once this task is deleted, it cannot be recovered.
Jinkai Zheng eb4fb80e99 | 1 year ago | |
---|---|---|
.idea | 3 years ago | |
GaitSet | 3 years ago | |
lib | 3 years ago | |
packages | 3 years ago | |
.gitignore | 3 years ago | |
Experiment.sh | 3 years ago | |
LICENSE | 3 years ago | |
README.md | 1 year ago | |
collect_fn.py | 3 years ago | |
configs.py | 3 years ago | |
logger.py | 3 years ago | |
main.py | 3 years ago | |
requirements | 3 years ago |
This is the code for the paper "Jinkai Zheng, Xinchen Liu, Chenggang Yan, Jiyong Zhang, Wu Liu, Xiaoping Zhang and Tao Mei: TraND: Transferable Neighborhood Discovery for
Unsupervised Cross-domain Gait Recognition. ISCAS 2021" (MSA-TC “Best Paper Award - Honorable Mention”)
You can replace the second command from the bottom to install
pytorch
based on your CUDA version.
git clone https://github.com/JinkaiZheng/TraND.git
cd TraND
conda create --name py37torch110 python=3.7
conda activate py37torch110
conda install pytorch==1.1.0 torchvision==0.3.0 cudatoolkit=10.0 -c pytorch
pip install -r requirements
pretreatment_casia.py
and pretreatment_oulp.py
use the alignment method in
this paper.
In the case of CASIA-B dataset, you need to run the command:
python GaitSet/pretreatment_casia.py --input_path='root_path_of_raw_dataset' --output_path='./data/CASIA-B'
After the pretreatment, the data structure under the directory should like this
./data
├── CASIA-B
│ ├── 001
│ ├── bg-01
│ ├── 000
│ └── 001-bg-01-000-001.png
├── OULP
│ ├── 0000024
│ ├── Seq00
│ ├── 55
└── 00000061.png
Training the GaitSet model in the source domain, run this command:
python GaitSet/train.py --data "casia-b"
Our models: CASIA_best_model and OULP_best_model
Fine-tuning the GaitSet model in the target domain with TraND method, run this command:
sh Experiment.sh
Our models: CASIA2OULP_best_model and OULP2CASIA_best_model
Testing the model in self domain, such as CASIA-B dataset, run this command:
python GaitSet/test.py --data "casia-b"
Testing the model in cross domain, such as CASIA-B -> OU-LP dataset, run this command:
python GaitSet/test_cross.py --source "casia-b" --target "oulp"
Download the model at here (code: 6vd1h8).
Download the model at here (code: 3pgcwl).
Download the model at here (code: f4c71h).
Download the model at here (code: 9qbd5t).
Please cite this paper in your publications if it helps your research:
@article{DBLP:journals/corr/abs-2102-04621,
author = {Jinkai Zheng and
Xinchen Liu and
Chenggang Yan and
Jiyong Zhang and
Wu Liu and
Xiaoping Zhang and
Tao Mei},
title = {TraND: Transferable Neighborhood Discovery for Unsupervised Cross-domain
Gait Recognition},
journal = {ISCAS},
year = {2021}
}
This is the code for the paper "Jinkai Zheng, Xinchen Liu, Chenggang Yan, Jiyong Zhang, Wu Liu, Xiaoping Zhang and Tao Mei: TraND: Transferable Neighborhood Discovery for Unsupervised Cross-domain Gait Recognition. ISCAS 2021" (Best Paper Award - Honorable Mention)
Python Shell
Dear OpenI User
Thank you for your continuous support to the Openl Qizhi Community AI Collaboration Platform. In order to protect your usage rights and ensure network security, we updated the Openl Qizhi Community AI Collaboration Platform Usage Agreement in January 2024. The updated agreement specifies that users are prohibited from using intranet penetration tools. After you click "Agree and continue", you can continue to use our services. Thank you for your cooperation and understanding.
For more agreement content, please refer to the《Openl Qizhi Community AI Collaboration Platform Usage Agreement》