Closed gosiqueira closed 2 years ago
Hi~ I guess you are using the newer OpneGait code.
If you want to run GREW successfully, you have two options:
1) Please download the source code for this repo and run sh misc/run_pretreatment_grew.sh
with the original directory structure that GREW decompressed.
Then, please refer to the train /test file and rewrite the command as follows:
For training:
CUDA_VISIBLE_DEVICES=0,1,2,3 python -m torch.distributed.launch --nproc_per_node=4 lib/main.py --cfgs ./config/gaitset_64pixel_GREW_office_split.yaml --phase train
For testing:
CUDA_VISIBLE_DEVICES=0,1,2,3 python -m torch.distributed.launch --nproc_per_node=4 lib/main.py --cfgs ./config/gaitset_64pixel_GREW_office_split.yaml --phase test
In addition, you can change the config file to gaitset_64pixel_GREW_our_split.yaml
to implement localization testing, as used in our paper.
2) Download the latest OpneGait source code and follow their tutorial.
I'm trying to run GREW pretreatment code but it generates no
GREW-pkl
folder at the end of the process. I debugged myself and checked if the--dataset
flag is set properly and theto_pickle
list size before saving the pickle file. The flag is well set but the size of the list is always 0.I downloaded the GREW dataset from the link you guys sent me and made de
GREW-rearranged
folder using the code provided. I'll keep investigating what is causing such an error and if I find I'll set a fixing PR.