All Projects → dimkastan → ATA-GAN

dimkastan / ATA-GAN

Licence: MIT license
Demo code for Attention-Aware Generative Adversarial Networks paper

Programming Languages

python
139335 projects - #7 most used programming language

Projects that are alternatives of or similar to ATA-GAN

Video Classification
Tutorial for video classification/ action recognition using 3D CNN/ CNN+RNN on UCF101
Stars: ✭ 543 (+4076.92%)
Mutual labels:  transfer-learning, pytorch-tutorial
Fast Pytorch
Pytorch Tutorial, Pytorch with Google Colab, Pytorch Implementations: CNN, RNN, DCGAN, Transfer Learning, Chatbot, Pytorch Sample Codes
Stars: ✭ 346 (+2561.54%)
Mutual labels:  transfer-learning, pytorch-tutorial
Pytorch Nlp Notebooks
Learn how to use PyTorch to solve some common NLP problems with deep learning.
Stars: ✭ 293 (+2153.85%)
Mutual labels:  transfer-learning, pytorch-tutorial
mrnet
Building an ACL tear detector to spot knee injuries from MRIs with PyTorch (MRNet)
Stars: ✭ 98 (+653.85%)
Mutual labels:  transfer-learning, pytorch-tutorial
Custom-CNN-based-Image-Classification-in-PyTorch
No description or website provided.
Stars: ✭ 41 (+215.38%)
Mutual labels:  pytorch-tutorial
Tutorial-Competition-2018
PyTorch KR Tutorial Competition 2018
Stars: ✭ 60 (+361.54%)
Mutual labels:  pytorch-tutorial
Transfer-learning-materials
resource collection for transfer learning!
Stars: ✭ 213 (+1538.46%)
Mutual labels:  transfer-learning
intro-computervision
Notebooks for learning about the layers of a convolutional neural network.
Stars: ✭ 44 (+238.46%)
Mutual labels:  pytorch-tutorial
BA3US
code for our ECCV 2020 paper "A Balanced and Uncertainty-aware Approach for Partial Domain Adaptation"
Stars: ✭ 31 (+138.46%)
Mutual labels:  transfer-learning
PyTorchStepByStep
Official repository of my book: "Deep Learning with PyTorch Step-by-Step: A Beginner's Guide"
Stars: ✭ 314 (+2315.38%)
Mutual labels:  pytorch-tutorial
nlp workshop odsc europe20
Extensive tutorials for the Advanced NLP Workshop in Open Data Science Conference Europe 2020. We will leverage machine learning, deep learning and deep transfer learning to learn and solve popular tasks using NLP including NER, Classification, Recommendation \ Information Retrieval, Summarization, Classification, Language Translation, Q&A and T…
Stars: ✭ 127 (+876.92%)
Mutual labels:  transfer-learning
SimPLE
Code for the paper: "SimPLE: Similar Pseudo Label Exploitation for Semi-Supervised Classification"
Stars: ✭ 50 (+284.62%)
Mutual labels:  transfer-learning
pytorch-examples-cn
用例子学习PyTorch1.0(Learning PyTorch with Examples 中文翻译与学习)
Stars: ✭ 54 (+315.38%)
Mutual labels:  pytorch-tutorial
cups-rl
Customisable Unified Physical Simulations (CUPS) for Reinforcement Learning. Experiments run on the ai2thor environment (http://ai2thor.allenai.org/) e.g. using A3C, RainbowDQN and A3C_GA (Gated Attention multi-modal fusion) for Task-Oriented Language Grounding (tasks specified by natural language instructions) e.g. "Pick up the Cup or else"
Stars: ✭ 38 (+192.31%)
Mutual labels:  transfer-learning
Warehouse Robot Path Planning
A multi agent path planning solution under a warehouse scenario using Q learning and transfer learning.🤖️
Stars: ✭ 59 (+353.85%)
Mutual labels:  transfer-learning
sign2text
Real-time AI-powered translation of American sign language to text
Stars: ✭ 132 (+915.38%)
Mutual labels:  transfer-learning
Land-Cover-Classification-using-Sentinel-2-Dataset
Application of deep learning on Satellite Imagery of Sentinel-2 satellite that move around the earth from June, 2015. This image patches can be trained and classified using transfer learning techniques.
Stars: ✭ 36 (+176.92%)
Mutual labels:  transfer-learning
oreilly-bert-nlp
This repository contains code for the O'Reilly Live Online Training for BERT
Stars: ✭ 19 (+46.15%)
Mutual labels:  transfer-learning
sparsezoo
Neural network model repository for highly sparse and sparse-quantized models with matching sparsification recipes
Stars: ✭ 264 (+1930.77%)
Mutual labels:  transfer-learning
udacity-cvnd-projects
My solutions to the projects assigned for the Udacity Computer Vision Nanodegree
Stars: ✭ 36 (+176.92%)
Mutual labels:  transfer-learning

ATA-GAN

Demo code for our paper on Attention-Aware Generative Adversarial networks (ATA-GANs)- ArXiv- Sumbitted to : IVMSP 2018

Abstract: A new family of generative models named as Generative Adversarial Networks (GANs) has been proposed. Using two neural networks (one that generates samples and one that evaluates them as real or fake), these networks are able to learn a mapping between an input domain and the actual data. However, the ability of the generator to locate the regions of interest has not been studied yet. In this context, here, we are using GANs in order to generate images from HEp-2 cells captured with Indirect Imunofluoresence (IIF) and study the ability of the discriminator to perform a weekly localization of the cell. Our contribution is four-fold. First, we demonstrate that whilst GANs can learn the mapping between the input domain and the target distribution efficiently, the discriminator network is not able to detect the regions of interest. Secondly, we present a novel attention transfer mechanism which allows us to enforce the discriminator to put emphasis on the regions of interest via transfer learning. Thirdly, we show that this can generate more realistic images, as the discriminator learns to put emphasis on the area of interest. Fourthly, the proposed method allows one to generate both images as well as attention maps which can be useful for data annotation e.g in object detection.



Citation:
Dimitris Kastaniotis, Ioanna Ntinou, Dimitris Tsourounis, George Economou and Spiros Fotopoulos, Attention-Aware Generative Adversarial Nerworks (ATA-GANs), arXiv:1802.09070v1 [cs.CV]

Some Results:

Generated versus Real images.

Below, you can see some generated (Left) as well as some real (genuine) images (Right):


Discriminator Attention Maps.

Below, you can see some generated (Left) as well as some real (genuine) images (Right) together with the Soft-Class Activation Maps:


Demo Code (PyTorch)

Try our models and compare with a regular discriminator:

Here we provide the steps required in order to evaluate our discriminator in HEp-2 cell validation images as well as to compare the ATA-GAN discriminator with a regular discriminator trained without Teacher-Attention loss.
First, you need to download the data from here
After download, extract the data in ATA-GAN folder (where the python code is). This will create the following filepath WithoutMasks/TrainVal/val where in val folder there will be six folders corresponding to the six categories.
Then you will need the pretrained models. ATA-GAN models are available here . Regular GAN models are available here

Run the demo- Visualize discriminator Soft-CAM

  • Prerequisities: Anaconda Python 3.6 and PyTorch installed using the instructions from the original site.

  • First select the GAN model (ATA-GAN or Plain-GAN). Copy *.pt files into the folder where is located the DemoATAGan.py.

  • Call the demo

    python DemoATAGan.py

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].