|
2 年之前 | |
---|---|---|
.. | ||
.ipynb_checkpoints | 2 年之前 | |
Pytorch | 3 年之前 | |
Tensorflow | 3 年之前 | |
readme.md | 2 年之前 | |
requirements.txt | 3 年之前 |
This repository contains code for Introduction to Generative Adversarial Network in TensorFlow and PyTorch blogpost.
The repository trains the Generative Adversarial Network in both Pytorch and Tensorflow on Fashion-MNIST dataset. It is tested with:
Cuda-11.1
Cudnn-8.0
The Pytorch and Tensorflow scripts require numpy, tensorflow, torch.
To get the versions of these packages you need for the program, use pip: (Make sure pip is upgraded: python3 -m pip install -U pip
)
pip3 install -r requirements.txt
To train the Generative Adversarial Network with Pytorch, please go into the Pytorch
folder and execute either the Python script or the Jupyter Notebook.
To train the Generative Adversarial Network with TensorFlow, please go into the Tensorflow
folder and execute either the Python script or the Jupyter Notebook.
Want to become an expert in AI? AI Courses by OpenCV is a great place to start.