Skip to content

snigdhsanjivani/xAI-BachGAN

Repository files navigation

xAI-BachGAN

xAI

Using DeepSHAP to mask gradients generated from the output of the PatchGAN generator. Used to deliver a more information rich feedback through gradients. Achieved by altering the backward_hook function in torch.nn class. Achieving strong convergence on fractional amount of data. Done using Captum package.

BachGAN

Model that generates images using inputs of class labeled saliency maps rather than the traditional segmented inputs. A background retrieval module hallucinates a background for the foreground objects. The hallicinated background is passed through to the traditional GAN architectures. Available modes use Pix2pix, Pix2pixHD, SPADE and ResNet architectures.

We aim to combine the best of both worlds to build a image generating model which can be trained on small datasets, and that too only having bounding boxes as inputs. Such a system will rapidly speed prototyping of generative models, with little annotation work (object detection to get the bounding boxes) required on the dataset.

Citations

Original works on BachGAN: https://github.com/Cold-Winter/BachGAN.

Original works on xAIGAN: https://github.com/explainable-gan/XAIGAN.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published