Skip to content

Results not reproducible #4

@fjulian

Description

@fjulian

Thanks for sharing this repo.

Running the code (main.py, 200 epochs, parameters as mentioned in readme, only fixing the the issue mentioned in #1), I couldn't reproduce the results shown in https://github.com/EmilienDupont/wgan-gp/blob/master/gifs/mnist_200_epochs.gif. Instead, the generated samples look as follows:

training_200_epochs

Any hints on what would need to be changed to make the training successful?

One step towards reproducibility would be to fix random seeds in the beginning of main.py, e.g. with the following code:

import random
import numpy as np
import torch
random_seed = 42
random.seed(random_seed)
np.random.seed(random_seed)
torch.manual_seed(random_seed)
torch.cuda.manual_seed_all(random_seed)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions