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

How to fix this error? Plz help #5

Open
Affanabbbas opened this issue Jun 8, 2022 · 1 comment
Open

How to fix this error? Plz help #5

Affanabbbas opened this issue Jun 8, 2022 · 1 comment

Comments

@Affanabbbas
Copy link

usage: python3 -m openpifpaf.train [options]
python3 -m openpifpaf.train: error: unrecognized arguments: --jaad-root-dir C:/Users/VR/Desktop/JAAD_clips.zip --jaad-subset default --jaad-training-set train --jaad-validation-set val --pifpaf-pretraining --detection-bias-prior 0.01 --jaad-head-upsample 2 --jaad-pedestrian-attributes all --fork-normalization-operation power --fork-normalization-duplicates 35 --attribute-regression-loss l1 --attribute-focal-gamma 2

I just gave the path to the output of the model and the data set this way.
Please take a look:

!python3 -m openpifpaf.train
--output C:/Users/VR/Desktop/model
--dataset jaad
--jaad-root-dir C:/Users/VR/Desktop/JAAD_clips.zip
--jaad-subset default
--jaad-training-set train
--jaad-validation-set val
--log-interval 10
--val-interval 1
--epochs 5
--batch-size 4
--lr 0.0005
--lr-warm-up-start-epoch -1
--weight-decay 5e-4
--momentum 0.95
--basenet fn-resnet50
--pifpaf-pretraining
--detection-bias-prior 0.01
--jaad-head-upsample 2
--jaad-pedestrian-attributes all
--fork-normalization-operation power
--fork-normalization-duplicates 35
--lambdas 7.0 7.0 7.0 7.0 1.0 1.0 1.0 1.0 1.0 1.0 1.0 1.0 1.0 1.0 1.0 1.0 1.0 1.0 1.0 1.0 1.0 1.0 1.0 1.0 1.0 1.0 1.0 1.0 1.0 1.0 1.0 1.0 1.0 1.0 1.0
--attribute-regression-loss l1
--attribute-focal-gamma 2
--auto-tune-mtl

@Affanabbbas
Copy link
Author

I have tried both, the zip file and the extracted one

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

1 participant