john-rocky / CoreML-Models

Converted CoreML Model Zoo.
1.37k stars 129 forks source link

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

Open ioskevinshah opened 2 years ago

ioskevinshah commented 2 years ago

https://github.com/Honlan/BeautyGAN

john-rocky commented 2 years ago

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: @.***>

ioskevinshah commented 2 years ago

is this possible to do in iOS?

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

john-rocky commented 2 years ago

also failed🥺

john-rocky commented 2 years ago

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

ioskevinshah commented 2 years ago

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

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

ioskevinshah commented 2 years ago

How about this?

https://github.com/TencentARC/GFPGAN

to CoreML

john-rocky commented 2 years ago

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

john-rocky commented 2 years ago

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

ioskevinshah commented 2 years ago

Also, please check style transfer link for Colab.

image

https://colab.research.google.com/drive/1f6KOh9fuOmCP9vbNldqmyX6lqReGVtr4?usp=sharing

ioskevinshah commented 2 years ago

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 commented 2 years ago

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 commented 2 years ago

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 commented 2 years ago

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

ioskevinshah commented 2 years ago

Hello @john-rocky ,

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

Thanks, Kevin Shah