google-research
..
/
fairness_teaching
9 месяцев назад
9 месяцев назад
9 месяцев назад
9 месяцев назад
README.md
Introduction
Tensorflow implementation of Teaching with Fairness project
Requirements
Python 3.6
TensorFlow 1.14.0
scikit-image
Usage
Part 1: Download the dataset from google drive
Part 2: Train and test with the following code in different folder.
# train and generate fake images with GANcd ganpython train.pypython generate.py
# train the teacher and student model with RLcd rlpython train.pypython restore.py
# compare with the baseline cd baselinepython all_real.py #train with all real datapython all_fake.py #train with all fake datapython random.py #train with random combination of real and fake datapython balance.py #train with balanced combination of real and fake data