Mathux/TEMOS

File Not Found Error

Closed this issue · 5 comments

Hi,
Thank you for sharing the official codes. I followed the instructions in the README.md file. However, when I tried to run the train.py, I met a File Not Found Error and I would like to know what makes this error and how to fix it.

Many thanks for your kind help.

微信截图_20220608201221

Hello,

It seems that your problem occur when the data module is being loaded: when it try to load few samples from the training set.

To make sure your data is correctly prepared, can you send me the output of:

tree -d datasets
ls datasets/kit-splits/

and

find datasets/kit/* -name . -o -prune | head -20

Many thanks for your rapid reply.
Their outputs are:
微信截图_20220608202448

I got the problem, you are missing the following files XXXXX_fke.csv.
I should make the README a bit more explicit.

To be able to compare with prior works, we need to get the same exact same data. Both repository (Ghosh and JL2P) are preprocessing the data to convert the axis-angle representation into xyz joints coordinates (fke means "forward kinematics") with a similar code (Ghosh is actually a fork of JL2P).

Basically, you need to download their repository (one of them), and process the data with data.py. Then you can copy the XXXXX_fke.csv files (or move the folder, or make a symlink).

Many thanks for your kind help. This error is fixed.

Hi, I followed the data preprocessing steps in JL2P and then copied over the files to your repo. But I still get the same error as OP.

The steps you mentioned above give the following results:
command: tree -d datasets
output: datasets ├── AMASS ── kit ── kit-splits

command: ls datasets/kit-splits/
output:gtest human-study test train val visu

command: find datasets/kit/* -name . -o -prune | head -20
output:

datasets/kit/00001_meta.json                                                                                      
datasets/kit/00001_mmm.xml                                                                              
datasets/kit/00001_quat.csv                                                                                           
datasets/kit/00001_quat.fke                                                                                            
datasets/kit/00001_quat.rifke                                                                                          
datasets/kit/00001_raw.c3d                                                                                         
datasets/kit/00002_annotations.json                                                                                    
datasets/kit/00002_meta.json                                                                                          
datasets/kit/00002_mmm.xml                                                                                            
datasets/kit/00002_quat.csv                                                                                          
datasets/kit/00002_quat.fke                                                                                            
datasets/kit/00002_quat.rifke                                                                                          
datasets/kit/00002_raw.c3d                                                                                             
datasets/kit/00003_annotations.json                                                                                  
datasets/kit/00003_meta.json                                                                                          
datasets/kit/00003_mmm.xml                                                                                         
datasets/kit/00003_quat.csv                                                                                            
datasets/kit/00003_quat.fke                                                                                         
datasets/kit/00003_quat.rifke