Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

GREW pretreatment to_pickle has size 0 #6

Closed
gosiqueira opened this issue May 10, 2022 · 1 comment
Closed

GREW pretreatment to_pickle has size 0 #6

gosiqueira opened this issue May 10, 2022 · 1 comment

Comments

@gosiqueira
Copy link

gosiqueira commented May 10, 2022

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 the to_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.

@JinkaiZheng
Copy link
Collaborator

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants