Giter Club home page Giter Club logo

fast-pixel-cnn's People

Contributors

mbz avatar pkhorrami4 avatar prajitr avatar tomlepaine avatar

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  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  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

fast-pixel-cnn's Issues

How to understand sample from softmax?

I have no idea of this line about sampling from softmax. Can you give me a help?

sel = tf.one_hot(tf.argmax(logit_probs - tf.log(-tf.log(tf.random_uniform(logit_probs.get_shape(), minval=1e-5, maxval=1. - 1e-5, seed=seed))), 3), depth=nr_mix, dtype=tf.float32)

Generating conditioned images

I want to commend the team on their fantastic work. This addition to the PixelCNN++ makes it much more usable for integrators like myself.

I've been attempting to use your package to produce conditioned images. That is, I used the CIFAR-10 pre-trained model available on PixelCNN++, and passed a one-hot vector to 'h' in your model. I receive the following error:

NotFoundError (see above for traceback): Tensor name "model/conditional_weights_11/hw/ExponentialMovingAverage" not found in checkpoint files /home/da/tensorflow3/pixel-cnn/params_cifar.ckpt

Is this because the pretrained model provided by PixelCNN++ was not trained with the conditional labels? I can see you're restoring variables using variables_to_restore around like 70 of generate.py, but the behavior of this function is complex. As an example, if I restore all variables instead of using the method you employ, the model cannot load v_stack_cache.

Your advice is greatly appreciated.

can't download pretrain data

hello,I have a problem when I download the pretrain data,I found when I download 45%,the Download speed dropped to 0. Can you give me a help?

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.