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

length prediction per image > 1 #122

Open
leven101 opened this issue Nov 13, 2020 · 0 comments
Open

length prediction per image > 1 #122

leven101 opened this issue Nov 13, 2020 · 0 comments

Comments

@leven101
Copy link

Hello @XifengGuo ,

Thanks for your code. I'm trying to modify your toolkit to multiple labels per input image. The use case is OCR. If I pass in a image with a string of digits I want to get a prediction for each digit in the image. We right pad to make each prediction the same length.

How can I modify the code so the prediction for each input image output by your CapsNet architecture has a length > 1? So instead of predicting for a single output from 10 choices (0-9) we are predicting for multiple outputs each of them with a chance of being 0-9?

Thank you.

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