Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Errors in the examples #24

Open
chrismaliszewski opened this issue Dec 13, 2020 · 0 comments
Open

Errors in the examples #24

chrismaliszewski opened this issue Dec 13, 2020 · 0 comments

Comments

@chrismaliszewski
Copy link

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?
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant