Awesome-GANs icon indicating copy to clipboard operation
Awesome-GANs copied to clipboard

Following instructions in README.md to train a GAN does nothing

Open bisraelsen opened this issue 2 years ago • 0 comments

Describe the bug Trying to follow the README.md and code does nothing.

To Reproduce Steps to reproduce the behavior:

  1. Follow README.md instructions to train GANs

python3 -m awesome_gans.acgan

  1. Nothing happens

Expected behavior GAN should train

Additional context This isn't entirely unexpected since the code for awesome_gans.acgan (i.e. acgan/__main__.py) is essentially blank as shown below. I'm wondering if this ever worked, or if something is very out of date.

from awesome_gans.config import parse_args
from awesome_gans.utils import set_seed

def main():
    config = parse_args()

    set_seed(config.seed)

    if config.mode == 'train':
        pass
    elif config.mode == 'inference':
        pass
    else:
        raise ValueError()


main()

bisraelsen avatar Sep 27 '22 16:09 bisraelsen