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

Code of mobile app #1

Closed
BounharAbdelaziz opened this issue Jul 12, 2021 · 4 comments
Closed

Code of mobile app #1

BounharAbdelaziz opened this issue Jul 12, 2021 · 4 comments

Comments

@BounharAbdelaziz
Copy link

Hi,

Thank you for sharing your code with the community!
I wanted to ask you if it's possible for you to share the implementation of the mobile application? Also which model is used in this later?

Many thanks in advance!
With best,

@yhjo09
Copy link
Owner

yhjo09 commented Jul 13, 2021 via email

@BounharAbdelaziz
Copy link
Author

Thank you for your quick response!

In fact I tried Model_S_x4_3bit_int8.npy on a server CPU and it takes arround 7 seconds to upscale x4 (from 128² to 512²) but it was really fast when done on a Samsung S10 using the provided APK, I get arround 70ms which is really quick!

Do you get the same inference time if you run it on a CPU ?

However, parallel execution explains the fact that it's faster surelly, can you please give some hints how it's done (parallel execution) in the mobile app?

Thanks again for your valuable time!
With best,

@yhjo09
Copy link
Owner

yhjo09 commented Jul 16, 2021 via email

@BounharAbdelaziz
Copy link
Author

Surely! That's the way I thaught of it too, you parralelize the computation by taking multiple patches of 2x2.
Thanks again for your valuable time!

With best,
Abdelaziz

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