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

Issue on Applying Custom Model on Android #52

Open
haqkiemdaim opened this issue Sep 21, 2021 · 0 comments
Open

Issue on Applying Custom Model on Android #52

haqkiemdaim opened this issue Sep 21, 2021 · 0 comments

Comments

@haqkiemdaim
Copy link

Hi there. I would say good repo you open-sourced here!
Just want to ask why the app crashes when I used another model?
It works only with your deconv_fin_munet.tflite

The 'another model' that I mentioned above accepts input frame with size 224 x 224.
So I change the below declaration (in ImageSegmentorFloatMobileUnet.java) to 224:

int opsize = 224
getImageSizeX() {return 224;}
getImageSizeY() {return 224;}

It successfully built with few warnings. When I click the app on my device, it crash.

Your response regarding this is so much appreciated. 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