prajitr / fast-pixel-cnn Goto Github PK
View Code? Open in Web Editor NEWSpeed up PixelCNN++ image generation by up to a 183 times
License: MIT License
Speed up PixelCNN++ image generation by up to a 183 times
License: MIT License
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)
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.
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?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.