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

predict result issue #15

Open
konioyxgq opened this issue Dec 12, 2019 · 8 comments
Open

predict result issue #15

konioyxgq opened this issue Dec 12, 2019 · 8 comments

Comments

@konioyxgq
Copy link

I used my own data set. First, the picture work with preprocess-cacd.py, and then using cacd-coral.py to get the age prediction. I tested 5 pictures and it didn't work well. But the results from the test pictures you provided are very good. Is this a problem with the generalization of the model? Or others?

@rasbt
Copy link
Member

rasbt commented Dec 12, 2019

Yes it could be. The model wasn't trained for generalization across different datasets. To get better performance in that respect, one could combine all datasets into a single one and train a model based on that. Also see the related discussion here: #14

@konioyxgq
Copy link
Author

I was testing on cacd-coral.py. I think the cacd dataset has about 160,000 data, which is a relatively large data set and should have good generalization capability. Do you think should do separate training in a specific use case?

@rasbt
Copy link
Member

rasbt commented Dec 13, 2019

You may have to. I am not sure if preprocess-cacd.py works on different datasets -- haven't tested it. You have to make sure that your images look ok after preprocessing, after running your script. The reason we do preprocessing at all is that we wanted to compare our method directly to Niu et al's method, which did preprocessing as well.

@konioyxgq
Copy link
Author

Well, thank you very much. In addition, I would like to ask why in the paper, only 14-62 age classification. Is it because there are very few samples in other age categories? For data balancing?

@rasbt
Copy link
Member

rasbt commented Dec 13, 2019

I would like to ask why in the paper, only 14-62 age classification. Is it because there are very few samples in other age categories?

Yes. that's correct. I think there were only 1-10 examples for some classes.

@konioyxgq
Copy link
Author

In fact, if I add edged the categories with a small number of other samples, would it be worse than the results in the article? I think it has almost no effect, or it doesn't have much impact. It's just that the category with a small sample has poor effect. Is that what I think? Will increasing the number of classifications have an impact on the outcome?

@rasbt
Copy link
Member

rasbt commented Dec 13, 2019

I think you are right and it would have almost 0 impact because there are only so few examples for the edge cases. If you look at the appendix, we have also done experiments with an even narrow range of classes such that the dataset was balanced. The results are almost the same.

@konioyxgq
Copy link
Author

Thank you very much for your patient response.

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