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

Can you please create new CoreML model for this BeautyGan? #14

Open
ioskevinshah opened this issue Apr 1, 2022 · 14 comments
Open

Can you please create new CoreML model for this BeautyGan? #14

ioskevinshah opened this issue Apr 1, 2022 · 14 comments

Comments

@ioskevinshah
Copy link

https://github.com/Honlan/BeautyGAN

@john-rocky
Copy link
Owner

john-rocky commented Apr 1, 2022 via email

@ioskevinshah
Copy link
Author

is this possible to do in iOS?

https://rockyshikoku.medium.com/refine-rough-segmentation-a24c9bdf1b42

@john-rocky
Copy link
Owner

also failed🥺

@john-rocky
Copy link
Owner

But I want to convert those, so I will revenge .

@ioskevinshah
Copy link
Author

(https://developer.apple.com/documentation/arkit/armattegenerator)

Apple is providing matte generator, but this limited to ARKit. also, I tired but not accurate.

@ioskevinshah
Copy link
Author

How about this?

https://github.com/TencentARC/GFPGAN

to CoreML

@john-rocky
Copy link
Owner

I tried, but color taste of output was bad.
I think I missed toRGB ops.

@john-rocky
Copy link
Owner

For segment people, is it not enough to use person segmentation of Vision?

@ioskevinshah
Copy link
Author

Also, please check style transfer link for Colab.
image
https://colab.research.google.com/drive/1f6KOh9fuOmCP9vbNldqmyX6lqReGVtr4?usp=sharing

@ioskevinshah
Copy link
Author

ioskevinshah commented Apr 1, 2022

For segment people, is it not enough to use person segmentation of Vision?
-> Yes, I've also modified the u2net to 512*512 because the edges were not smooth in 320 by your model.

That's why I ask for refine rough segmentation. Apple iOS 15 vision fair enough, but is limited to person only.

@john-rocky
Copy link
Owner

Sorry, I lost conversion script.
Please refer this.

https://rockyshikoku.medium.com/coreml-conversion-that-enables-fast-neural-style-transfer-to-be-used-on-ios-and-macos-d66f02a2489f

Thank you for let me know.

@ioskevinshah
Copy link
Author

ioskevinshah commented Apr 1, 2022

Thanks, you are doing amazing work. Sooner, I'll notified with my own app. Just final testing is going on. I think you will going to love this app.

@ioskevinshah
Copy link
Author

Also, please check out.
#10 (comment)

@ioskevinshah
Copy link
Author

ioskevinshah commented Apr 3, 2022

Hello @john-rocky ,

Can please provide, UGATIT on 512 and 768 input image size models?.

Thanks,
Kevin Shah

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