benjs / hourglass_networks

tf.keras implementation of "Toward fast and accurate human pose estimation via soft-gated skip connections" by Bulat et al. and "Stacked Hourglass Networks for Human Pose Estimation" by Newell et al.
Apache License 2.0
4 stars 0 forks source link

Error while running the training code #1

Open ajmalarasheed opened 2 years ago

ajmalarasheed commented 2 years ago

While running the training code:

python -m hourglass.training -c default_config.yaml -v 0

I get an error saying:

no such file or directory: 'default_config.yaml'

How do I resolve this?

benjs commented 2 years ago

Hey, the config file you submitted as parameter does not exist, as the error message suggests. The config files I used are located in the config directory. When using one of those, you also have to adjust the paths to the MPII dataset.

ajmalarasheed commented 2 years ago

Hi Can you please elaborate what you meant? I tried changing the argument to

python -m hourglass.training -c RTX3070.yaml -v 0 (RTX3070.yaml is one of the config files in configs directory)

However, I'm still getting the error

no such file or directory: 'RTX3070.yaml'.

Where am I going wrong?

benjs commented 2 years ago

Your current working directory is the root of the project, therefore the path to the config file is configs/RTX3070.yaml

ajmalarasheed commented 2 years ago

Thanks a lot for your help! While training the model, what does step refer to?

benjs commented 2 years ago

A step is one forward and backward pass of the model.