Skip to content

carolineh101/debiasing-images

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

debiasing-images

Project for CS 335.

Install dependencies

pip install -r requirements.txt

Run training

python src/train.py

Example with more command line parameters

python src/train.py --out-dir output --subset-percentage 0.01 --batch-size 16 -lr 0.0001 --hidden-size 512

To train the baseline model

python src/train.py --out-dir output --subset-percentage 1.0 --batch-size 32 -lr 0.00001 --hidden-size 512 --num-epochs 10 --baseline

Evaluate model

python src/test.py --weights output/best.pkl

Pre-trained weights

Baseline model: Google Drive Our model: Coming soon

About

Project for CS 335.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published