tridi icon indicating copy to clipboard operation
tridi copied to clipboard

Problem with the data preprocessing

Open paulhinzer opened this issue 7 months ago • 0 comments

Hi, thank you for publishing the code of this interesting work.

I am trying to reproduce your results, however, I am struggling with the preprocessing step. In the documentation, it says the preprocessing scripts are in tridi/preprocessing, which is true. However, when I run the suggested command

python -m hoigen.preprocessing.preprocess_grab -g -c ./config/env.yaml \
  grab.subjects=["s1","s2","s3","s4","s5","s6","s7","s8"] \
  grab.downsample="10fps" grab.split="train"

I get an error:

Error while finding module specification for 'hoigen.preprocessing.preprocess_behave' (ModuleNotFoundError: No module named 'hoigen')

I also tried adjusting the command, such that it points to the preprocessing script mentioned in the documentation, however the tridi/preprocessing/preproces_grab.py script seems to need different command line arguments. Calling

python -m tridi.preprocessing.preprocess_grab -g -c ./config/env.yaml \
  grab.subjects=["s1","s2","s3","s4","s5","s6","s7","s8"] \
  grab.downsample="10fps" grab.split="train"

yields

usage: preprocess_grab.py [-h] [--config [CONFIG ...]] [overrides ...]
preprocess_grab.py: error: unrecognized arguments: -g

Could you please provide the correct preprocessing script, or change the documentation such that I call the preprocessing scripts provided?

paulhinzer avatar Apr 09 '26 09:04 paulhinzer