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 set reasonable parameters #4

Open
vaeXu opened this issue May 8, 2018 · 3 comments
Open

How to set reasonable parameters #4

vaeXu opened this issue May 8, 2018 · 3 comments

Comments

@vaeXu
Copy link

vaeXu commented May 8, 2018

@michalfaber Thanks for sharing, I want to try this training but I don't know how to set parameters,what should i do ? thank you.
params.stride=8;
params.crop_size_x=368;
params.crop_size_y=368;
params.target_dist=0.6;
params.scale_prob=1;
params.scale_min=0.5;
params.scale_max=1.1;
params.max_rotate_degree=40;
params.center_perterb_max=40;
params.do_clahe=false;
params.num_parts_in_annot=17;
params.num_parts=56;
params.mirror = true;

@michalfaber
Copy link
Owner

The defaults which you can modify are here

params.stride=8;
but this repo will be soon deprecated. I work on tensorpack based mechanism for augmenting/serving dataset - all in python.

@vaeXu
Copy link
Author

vaeXu commented May 8, 2018

@michalfaber thanks for your quick reply.But how can I use Python to modify it? i took 12hours to train ./rmpe_dataset_server ../../keras_Realtime_Multi-Person_Pose_Estimation/dataset/val_dataset.h5 5556,but it keep
Epoch 1
curr_sample/total_samples/curr_epoch = 1/2645/1

what should i do? thank you.

@michalfaber
Copy link
Owner

@GAVANXU You should start training generator on port 5555 : ./rmpe_dataset_server ../../keras_Realtime_Multi-Person_Pose_Estimation/dataset/training_dataset.h5 5555
Currently validation set is disabled but you can try to enable it https://github.com/michalfaber/keras_Realtime_Multi-Person_Pose_Estimation/blob/e05cb7d3bb9da6bd2e95d2a04a146514ed87b673/training/train_pose.py#L169

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

2 participants