Giter VIP home page Giter VIP logo

figr's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

figr's Issues

Ask for the training curves

Hi, I tried to reproduce your results on MNIST dataset, but the model seems to diverge.
I simply clone your repo and run python train.py --dataset Mnist.

Here are my loss curves and generated samples.
loss
sample

Can you share your loss curves and generated samples during training?
(I'm using PyTorch v1.1)

Tensorboard dimension mismatch

In validation_run method in train.py, at line 99 and 115 np.expand_dims method create an unnecessary dimension. It causes the following error.

  File "train.py", line 223, in <module>
    env.training()
  File "train.py", line 165, in training
    self.validation_run()
  File "train.py", line 120, in validation_run
    self.writer.add_image('Validation_generated', img, self.eps)
  File ".../tensorboardX/writer.py", line 427, in add_image
    image(tag, img_tensor, dataformats=dataformats), global_step, walltime)
  File ".../tensorboardX/summary.py", line 211, in image
    tensor = convert_to_HWC(tensor, dataformats)
  File ".../tensorboardX/utils.py", line 98, in convert_to_HWC
    assert(len(tensor.shape) == len(input_format)), "size of input tensor and input format are different"
AssertionError: size of input tensor and input format are different

add_image method has the dataformats parameter and its default value is CHW (channel-height-width). The code sends a four-dimensional tensor to the add_image method. example: (1, 1, 32, 32) [not necessary dimension and causes an error, CHANNEL, HEIGHT, WIDTH]

I tried with all supported datasets.

python train.py --dataset Omniglot
python train.py --dataset Mnist
python train.py --dataset FIGR8

I will send a pull request that resolves this issue.

Segmentation Fault (Core dumped)

Hi, I tried to reproduce your results on MNIST dataset. But while training, it shows segmentation fault at line 83 of train.py (discriminator_loss.backward() ).
All the requirements were successfully installed.

Showing the output error shown while running the code:

error

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.