1 Star 0 Fork 0

lekmao / BidirectionalGAN

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
贡献代码
同步代码
取消
提示: 由于 Git 不支持空文件夾,创建文件夹后会生成空的 .keep 文件
Loading...
README

Bidirectional GAN - Pytorch implementation

This is the pytorch implementation of Bidirectional GAN(BiGAN). Unlike ordinary GANs which are focused on generating data, the Bidirectional GAN is focused on creating an embedding of the original data. The model has an additional "Encoder" Structure from the original GAN which helps to encode original data. The descriminator will then discriminate the joint distribution of the latent vector and original data. The paper theoretically proves that the latent embedding will become an inverse mapping of the original input data when trained properly.

Implementation Notes

There are not many, but a few, references for BiGAN. However, I wasn't able to find a pytorch version and without a convolutional structure. My codes are implemented in MLP style where the image is flattened. The model structure were referenced from this great github repo. However, I made some minor adjustments as the implemented model struck on mode collapse.

Requirements

Main dependencies (with python=3.6)  
pytorch = 1.6.0  
torchvision = 0.7.0  

Installation

pip install requirements.txt

Run

python main.py

Results

Epoch 1
Image1
Epoch 69
Image1
Epoch 250
Image1
Epoch 399
Image1

空文件

简介

取消

发行版

暂无发行版

贡献者

全部

近期动态

加载更多
不能加载更多了
1
https://gitee.com/lekmao/BidirectionalGAN.git
git@gitee.com:lekmao/BidirectionalGAN.git
lekmao
BidirectionalGAN
BidirectionalGAN
main

搜索帮助

53164aa7 5694891 3bd8fe86 5694891