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

Mask overlay calculator CPU #41

Open
Nerdyvedi opened this issue Jan 6, 2021 · 1 comment
Open

Mask overlay calculator CPU #41

Nerdyvedi opened this issue Jan 6, 2021 · 1 comment

Comments

@Nerdyvedi
Copy link

Hi,
I am trying to run the model on CPU, I wrote a custom calculator, which simply multiplies input with mask and background with bitwise_not of mask, But the output I am getting is not good.

But, when I build the model for Android and use the mask overlay calculator, The result is much better.
Help would mean a lot.
Thanks

@anilsathyan7
Copy link
Owner

Mask overlay calculator will have feathering around the edges by default, so it would look nicer. Also, i beleive it runs on GPU so it should run faster. Otherwise both should produce similar results, as long as the internlal logic is same.

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