-
Notifications
You must be signed in to change notification settings - Fork 502
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
Accuracy issue #21
Comments
Hi @taewookim,
[1] R. Rothe, R. Timofte, and L. V. Gool, "DEX: Deep EXpectation of apparent age from a single image," ICCV, 2015. |
ah oops.. completely forgot about that. Thank you @yu4u |
By the way, how do you figure out the upper limit on how far this architecture can be taken? I'm sure this is more of a hardware limitation as well as how much time I'm willing to wait on, but are there any guidelines? |
Did you mean how to determine the size of the network? |
I tried changing img_size to 224 and the model is performing really bad. For each of the 3 dense layers (i.e. classifying 3 things), loss was anywhere between 9 and 20 .. and accuracy didnt go anywhere even above 0.25. I didn't even bother finishing 30 epochs (i stopped at 28) I am re-training with img_size at 64, but do you have any idea where I might have gone wrong and what are some things that I can tweak? EDIT: Lowering to 32 img_size helped to lower loss ... currently on epoch 7: Epoch 7/30 - loss: 3.7325 |
Currently, my implementation is not suitable for larger sizes of images (e.g. 224) for several reasons: 1) it saves and loads all raw images; it requires large amount of memory, 2) the stride of the network is only 4 (before pool (8, 8)) because small image size is assumed. If you use the image size 224, it seems good idea to use officially supported pre-trained models: |
so what's the largest possible that would you'd recommend w/your implementation? im on Google compute w/12gb VRAM K80 GPU w/ 30gb RAM |
I think 64x64 is good enough because there seem to be many low resolution images in the dataset. |
Hi, I tried this project with your pretrained model with default depth and width but it is giving the wrong prediction. for example it is predicting age 43 F of a 80-year female lady. It is predicting wrong on each and every image. |
Please confirm that your backend and channel order are consistent with the pretrained model. |
I am using your pretrained model and my hardware specs are different from your one. Is that an issue? |
What is your backend? |
Hi, I'd like to ask you where I can see the calculation of this model? because its accuracy is bad from 0.2 to 0.4 |
Thank you for your reply. But I mean train and test(validation) accuracy. |
The validation accuracy is automatically calculated by Keras using |
When I run this model on video, i've noticed the prediction changes pretty wildly from frame to frame, depending on the face dimensions, lighting, position, etc. But as soon as the face becomes closed to the camera, the predictions are more consistent.
Two questions
The text was updated successfully, but these errors were encountered: