Skip to content

Errors in the examples #24

@chrismaliszewski

Description

@chrismaliszewski

I'm not able to run the code under conda.

I tried installing the module with pip install gans2[tensorflow] but gans nor gans2 modules are available. So I downloaded the code from GitHub but the example "pre-defined models" crashes because of several errors:

  1. TypeError: __init__() got an unexpected keyword argument 'visualization_type' (fixed by commenting the line out),
  2. TypeError: __init__() missing 1 required positional argument: 'validation_dataset' (fixed by changing several files' content, mainly gans/datasets/mnist.py),
  3. W tensorflow/core/framework/op_kernel.cc:1655] OP_REQUIRES failed at summary_kernels.cc:57 : Not found: Failed to create a directory: ./outputs\VANILLA_GAN_MNIST; No such file or directory, I gave up on that one and didn't check what causes it.

2 questions:

  1. How should one install the code in Conda so the module is visible?
  2. Could you please provide an example of code that doesn't break?

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