-
Notifications
You must be signed in to change notification settings - Fork 47
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
No module named config_reader #30
Comments
Exactly. I am also was stuck with this. I tried taking the config_reader python file from the michalfaber initial fork and I guess it worked well. Correct me if I am wrong. |
I'm also trying this, I tried taking the config_reader from the michalfarber fork and I have an issue
KeyError: 'param' |
so i solved this by doing the following copy the following file from michalfarber into the top directory https://github.com/michalfaber/keras_Realtime_Multi-Person_Pose_Estimation/blob/master/config also copy the following file from michalfarber into the top directory then you should be good to go. |
@murrayLuke now I can't seem to find the
|
You can pip install ConfigObj.
|
i have finished training and it didn't exactly work out. I ended up with a lot of NaN's and inf after it seemed to be running succesfully for almost 48 hours. Not sure if it is due to the config issue, or due to my need to decrease the batch size from 10 to 5 since my GPU only has 4gb of memory. |
|
I dont seem to have a |
Turns out you have to change line 6 in config_reader.py from
** Edit: This doesn't work :( Doesn't seem like |
After revisiting @murrayLuke's comment, i realized i forgot to copy the proper |
@anatolix the NaN's and inf were in the validation. Not sure if Keras will stop there, I did see the callback for training, maybe the callback should also exist in validation but not sure. I ran into that issue when training on the original dataset. However I also ran into the issue when training a different dataset. In my second dataset there is no need for a mask so I had mistakenly set the mask to all zeros. Making it all ones so that nothing is masked out seems to fix the issue on my own dataset. I haven't had time to go back and debug the COCO dataset. @anatolix are there plans to get the config stuff fixed for this repo? I can send a pull request but I assume you have the correct files if you ran it yourself. |
I just cloned your repo, tried running on a test image -
python demo_image.py --image sample_images/ski.jpg --model training/weights.best.h5
and get
Am I missing something, or is
config_reader
simply not present?The text was updated successfully, but these errors were encountered: