CGAN_jittor
Overview
This project contains the Jittor implementation of Conditional GAN. The key feature of this project is training a Conditional GAN on the MNIST dataset. By inputting a random vector ( z ) and additional auxiliary information ( y ) (such as class labels), it generates images of specific digits.
Installation
Environment
- Ubuntu 20.04 LTS
- Python >= 3.7
- Jittor >= 1.3.0
Installing Dependencies
Run the following command to install the Python dependencies:
pip install -r requirements.txt
Also, run the following commands to install Jittor:
sudo apt install python3.7-dev libomp-dev
python3.7 -m pip install jittor
python3.7 -m jittor.test.test_example
Usage
To test the implementation, use the following command:
python3 CGAN.py
This command runs the Conditional GAN on the MNIST dataset, generating images based on the specified conditions.
CGAN_jittor
Overview
This project contains the Jittor implementation of Conditional GAN. The key feature of this project is training a Conditional GAN on the MNIST dataset. By inputting a random vector ( z ) and additional auxiliary information ( y ) (such as class labels), it generates images of specific digits.
Installation
Environment
Installing Dependencies
Run the following command to install the Python dependencies:
Also, run the following commands to install Jittor:
Usage
To test the implementation, use the following command:
This command runs the Conditional GAN on the MNIST dataset, generating images based on the specified conditions.