CoreML-Models icon indicating copy to clipboard operation
CoreML-Models copied to clipboard

Can you please create new CoreML model for this BeautyGan?

Open ioskevinshah opened this issue 2 years ago • 14 comments

https://github.com/Honlan/BeautyGAN

ioskevinshah avatar Apr 01 '22 12:04 ioskevinshah

I tried but failed.

2022年4月1日(金) 21:13 ioskevinshah @.***>:

https://github.com/Honlan/BeautyGAN

— Reply to this email directly, view it on GitHub https://github.com/john-rocky/CoreML-Models/issues/14, or unsubscribe https://github.com/notifications/unsubscribe-auth/AFRTLEF66JPKV3UDRGGAGILVC3R6DANCNFSM5SIQHZPA . You are receiving this because you are subscribed to this thread.Message ID: @.***>

john-rocky avatar Apr 01 '22 12:04 john-rocky

is this possible to do in iOS?

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

ioskevinshah avatar Apr 01 '22 12:04 ioskevinshah

also failed🥺

john-rocky avatar Apr 01 '22 12:04 john-rocky

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

john-rocky avatar Apr 01 '22 12:04 john-rocky

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

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

ioskevinshah avatar Apr 01 '22 12:04 ioskevinshah

How about this?

https://github.com/TencentARC/GFPGAN

to CoreML

ioskevinshah avatar Apr 01 '22 12:04 ioskevinshah

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

john-rocky avatar Apr 01 '22 12:04 john-rocky

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

john-rocky avatar Apr 01 '22 12:04 john-rocky

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

ioskevinshah avatar Apr 01 '22 12:04 ioskevinshah

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.

ioskevinshah avatar Apr 01 '22 12:04 ioskevinshah

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.

john-rocky avatar Apr 01 '22 12:04 john-rocky

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 avatar Apr 01 '22 12:04 ioskevinshah

Also, please check out. https://github.com/john-rocky/CoreML-Models/issues/10#issuecomment-1085849579

ioskevinshah avatar Apr 01 '22 12:04 ioskevinshah

Hello @john-rocky ,

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

Thanks, Kevin Shah

ioskevinshah avatar Apr 03 '22 10:04 ioskevinshah