Skip to content

Dracilem/AttGAN

Repository files navigation

Implementation DMT1909215

Commands Load the project: !git clone https://github.com/Dracilem/AttGAN

import os os.chdir('/content/AttGAN/')

!pip install -r requirements.txt

Train:

!python train.py --dataroot ./datasets/Mydatasets --name ModelName --vgg --self_attention

Test:

!python test.py --dataroot datasets/Mydatasets/testA --name ModelName --self_attention --self_attention_thresh 0.8 --no_dropout

Evaluate:

import os os.chdir('/content/AttGAN/evaluation') !python evaluate.py --org_img_path D:/Github/AttGAN/evaluation/input/ --pred_img_path D:/Github/AttGAN/evaluation/Improved40 --metric psnr (--org_img_path is the absolute path of original images, --pred_img_path is the absolute path of improved images)

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages