Skip to content

Is there any environment setup file? #2

@cmyguel

Description

@cmyguel

I'm trying to replicate this work for a research I am working on, but there´s been multiple problems that I am trying to fix, but there seems to be no end to it.
Most of them seem to be caused by environment incompatibilities.
here are some of the latest I've found:

  • Problems downloading datasets

  • PacGAN\stacked_MNIST_experiments\VEEGAN_experiment\model.py", line 156, in train

      writer.writeheader()
    

    ...
    TypeError: a bytes-like object is required, not 'str'

  • PacGAN\stacked_MNIST_experiments\VEEGAN_experiment\model.py", line 200, in train      
      }, **feed_dict_z))
    

    TypeError: keywords must be strings

  • PacGAN\stacked_MNIST_experiments\VEEGAN_experiment\model.py", line 281, in log_metrics
      if len(results) + len(new_results) > self.num_test_sample:
    

    TypeError: object of type 'zip' has no len()

  • PacGAN\stacked_MNIST_experiments\VEEGAN_experiment\utils.py", line 67, in imsave      
      return scipy.misc.imsave(path, image)
    

    AttributeError: module 'scipy.misc' has no attribute 'imsave'

  • PacGAN\stacked_MNIST_experiments\VEEGAN_experiment\model.py", line 297, in log_metrics
    p[0:num_mode] = map.values()
    TypeError: float() argument must be a string or a number, not 'dict_values'

Is there any conda environment.yml or requirements.txt file one can use to replicate the original environment?
Or probably a newer/alternative repository for this work?
Just in case, attached you´ll find the last version of my requirements.txt file for the stacked MNIST experiments.
requirements.txt

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