Skip to content

Commit

Permalink
Fixed issue GuyTevet#42
Browse files Browse the repository at this point in the history
  • Loading branch information
GuyTevet committed Nov 23, 2022
1 parent aa3b05a commit ca08fd9
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 1 deletion.
3 changes: 3 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,8 @@ If you find this code useful in your research, please cite:

## News

📢 **23/Nov/22** - Fixed issue evaluation issue (#42) - Please pull and run `bash prepare/download_t2m_evaluators.sh` from the top of the repo to adapt.

📢 **4/Nov/22** - Added sampling, training and evaluation of unconstrained tasks.
Note slight env changes adapting to the new code. If you already have an installed environment, run `bash prepare/download_unconstrained_assets.sh; conda install -y -c anaconda scikit-learn
` to adapt.
Expand Down Expand Up @@ -72,6 +74,7 @@ Download dependencies:
```bash
bash prepare/download_smpl_files.sh
bash prepare/download_glove.sh
bash prepare/download_t2m_evaluators.sh
```
</details>

Expand Down
2 changes: 1 addition & 1 deletion data_loaders/humanml/networks/evaluator_wrapper.py
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,7 @@ def __init__(self, dataset_name, device):
'dim_pose': 263 if dataset_name == 'humanml' else 251,
'dim_movement_enc_hidden': 512,
'dim_movement_latent': 512,
'checkpoints_dir': '/disk1/guytevet/text-to-motion/checkpoints',
'checkpoints_dir': '.',
'unit_length': 4,
}

Expand Down
9 changes: 9 additions & 0 deletions prepare/download_t2m_evaluators.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
echo -e "Downloading T2M evaluators"
gdown --fuzzy https://drive.google.com/file/d/1DSaKqWX2HlwBtVH5l7DdW96jeYUIXsOP/view
rm -rf t2m

unzip t2m.zip
echo -e "Cleaning\n"
rm t2m.zip

echo -e "Downloading done!"

0 comments on commit ca08fd9

Please sign in to comment.