-
Notifications
You must be signed in to change notification settings - Fork 591
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
Allow transparent interpolation animation generation #82
Comments
ok done ad5d07a |
That code just converts the transparent images back to normal RGB. Won't that cause the generated GIF images to continue having the black background? |
@NickAcPT i don't think GIFs support transparency, which is why you were getting the black background, so I'm converting each frame to an RGB (without the transparency) before the GIF conversion |
GIFs do support transparency, but I feel like it isn't the best format to be used here. Proposed formats:
In the case there is no way to implement the last two, I feel like the frame-by-frame should be implemented to make it so we can use external tools to make them. |
@NickAcPT oh oops you are right is your goal simply to have a white background? I think I can get it to work without having to reach for one of these less supported extensions |
Not really. My goal is basically to have a way to deal with the transparency of the images myself. |
@NickAcPT ok, let's do the frame by frame approach |
@NickAcPT whatcha training on? any cool results? |
Nothing special, really haha. Got bored of seeing the same skins people use in Minecraft (yes, that children game lmao). So, why not try this. Although my results haven't been that great because I've focused much on training the model.
Thanks so much :D |
@NickAcPT try the new augmentation feature! it should greatly improve results if you are working with a small dataset |
Well, my dataset has some repeated files (which I'll delete before retraining), but in total I got near to 400k files. It'll just take forever to train since I don't own any good hardware and am instead using Google Colab (yes, shame on me) |
@NickAcPT ohhh 400k is more than enough lol |
Closing as it was implemented. Thanks again for your amazing work! |
Currently, when using the
--generate-interpolation
argument, the output GIF file will have a black background if the images have a transparent background.The text was updated successfully, but these errors were encountered: