All Projects → swamiviv → Lsd Seg

swamiviv / Lsd Seg

Learning from Synthetic Data: Addressing Domain Shift for Semantic Segmentation

Programming Languages

python
139335 projects - #7 most used programming language

Projects that are alternatives of or similar to Lsd Seg

Adaptsegnet
Learning to Adapt Structured Output Space for Semantic Segmentation, CVPR 2018 (spotlight)
Stars: ✭ 654 (+560.61%)
Mutual labels:  generative-adversarial-network, semantic-segmentation, domain-adaptation
Dcgan Tensorflow
A Tensorflow implementation of Deep Convolutional Generative Adversarial Networks trained on Fashion-MNIST, CIFAR-10, etc.
Stars: ✭ 70 (-29.29%)
Mutual labels:  gan, generative-adversarial-network
Pacgan
[NeurIPS 2018] [JSAIT] PacGAN: The power of two samples in generative adversarial networks
Stars: ✭ 67 (-32.32%)
Mutual labels:  gan, generative-adversarial-network
Pytorch Fid
Compute FID scores with PyTorch.
Stars: ✭ 1,175 (+1086.87%)
Mutual labels:  gan, generative-adversarial-network
Hypergan
Composable GAN framework with api and user interface
Stars: ✭ 1,104 (+1015.15%)
Mutual labels:  gan, generative-adversarial-network
Cyclegan Qp
Official PyTorch implementation of "Artist Style Transfer Via Quadratic Potential"
Stars: ✭ 59 (-40.4%)
Mutual labels:  gan, generative-adversarial-network
Tagan
An official PyTorch implementation of the paper "Text-Adaptive Generative Adversarial Networks: Manipulating Images with Natural Language", NeurIPS 2018
Stars: ✭ 97 (-2.02%)
Mutual labels:  gan, generative-adversarial-network
Relativistic Average Gan Keras
The implementation of Relativistic average GAN with Keras
Stars: ✭ 36 (-63.64%)
Mutual labels:  gan, generative-adversarial-network
Calogan
Generative Adversarial Networks for High Energy Physics extended to a multi-layer calorimeter simulation
Stars: ✭ 87 (-12.12%)
Mutual labels:  gan, generative-adversarial-network
Seanet
Self-Ensembling Attention Networks: Addressing Domain Shift for Semantic Segmentation
Stars: ✭ 90 (-9.09%)
Mutual labels:  semantic-segmentation, domain-adaptation
Doppelganger
[IMC 2020 (Best Paper Finalist)] Using GANs for Sharing Networked Time Series Data: Challenges, Initial Promise, and Open Questions
Stars: ✭ 97 (-2.02%)
Mutual labels:  gan, generative-adversarial-network
Cyclegan Tensorflow
An implementation of CycleGan using TensorFlow
Stars: ✭ 1,096 (+1007.07%)
Mutual labels:  gan, generative-adversarial-network
Acgan Pytorch
Pytorch implementation of Conditional Image Synthesis with Auxiliary Classifier GANs
Stars: ✭ 57 (-42.42%)
Mutual labels:  gan, generative-adversarial-network
Pix2pix
Image-to-image translation with conditional adversarial nets
Stars: ✭ 8,765 (+8753.54%)
Mutual labels:  gan, generative-adversarial-network
Gandlf
Generative Adversarial Networks in Keras
Stars: ✭ 46 (-53.54%)
Mutual labels:  gan, generative-adversarial-network
Man
Multinomial Adversarial Networks for Multi-Domain Text Classification (NAACL 2018)
Stars: ✭ 72 (-27.27%)
Mutual labels:  gan, domain-adaptation
Sprint gan
Privacy-preserving generative deep neural networks support clinical data sharing
Stars: ✭ 92 (-7.07%)
Mutual labels:  gan, generative-adversarial-network
Image To Image Papers
🦓<->🦒 🌃<->🌆 A collection of image to image papers with code (constantly updating)
Stars: ✭ 949 (+858.59%)
Mutual labels:  gan, generative-adversarial-network
Tensorflow Srgan
Tensorflow implementation of "Photo-Realistic Single Image Super-Resolution Using a Generative Adversarial Network" (Ledig et al. 2017)
Stars: ✭ 33 (-66.67%)
Mutual labels:  gan, generative-adversarial-network
Ganspace
Discovering Interpretable GAN Controls [NeurIPS 2020]
Stars: ✭ 1,224 (+1136.36%)
Mutual labels:  gan, generative-adversarial-network

README

Code for Semantic Segmentation for Unsupervised Domain Adaptation

Prerequisites:

Install pytorch (Version 0.2) and torchvision
Install fcn (pip install fcn)
Install OpenCV (pip install opencv-python)

Datasets:

We will need two datasets for our experiments - SYNTHIA and CITYSCAPES. Please download the datasets into data folder from the following links

Please download SYNTHIA-RAND-CITYSCAPES subset of the SYNTHIA dataset. SYNTHIA: http://synthia-dataset.net/download-2/

CITYSCAPES: https://www.cityscapes-dataset.com/

To run the code, go to code folder and run the following command:

python run_script.py

This assumes that the data is downloaded and paths are set accordingly. Options can be modified directly in the train.py script.

Please change the dataroot path, and logdir path accordingly. This will run the code and save the models in logdir folder.

To evaluate the trained model, run

python eval_cityscapes.py --dataroot [] --model\_file [] -- method []
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].