{"about":{"site":"https://codewithpapers.app","non_affiliation":"Code with Papers and Syntology are not affiliated with, endorsed by, or sponsored by Papers with Code, Meta, or the pwc-archive mirror.","licence":"CC BY-SA 4.0","licence_url":"https://creativecommons.org/licenses/by-sa/4.0/legalcode","attribution":"https://codewithpapers.app/attribution","modified":"archive material modified by Syntology; see the attribution page"},"url":"/paper/conditional-image-generation-with-pixelcnn","title":"Conditional Image Generation with PixelCNN Decoders","arxiv_id":"1606.05328","date":"2016-06-16","proceeding":"NeurIPS 2016 12","authors":["Aaron van den Oord","Nal Kalchbrenner","Oriol Vinyals","Lasse Espeholt","Alex Graves","Koray Kavukcuoglu"],"abstract":"This work explores conditional image generation with a new image density\nmodel based on the PixelCNN architecture. The model can be conditioned on any\nvector, including descriptive labels or tags, or latent embeddings created by\nother networks. When conditioned on class labels from the ImageNet database,\nthe model is able to generate diverse, realistic scenes representing distinct\nanimals, objects, landscapes and structures. When conditioned on an embedding\nproduced by a convolutional network given a single image of an unseen face, it\ngenerates a variety of new portraits of the same person with different facial\nexpressions, poses and lighting conditions. We also show that conditional\nPixelCNN can serve as a powerful decoder in an image autoencoder. Additionally,\nthe gated convolutional layers in the proposed model improve the log-likelihood\nof PixelCNN to match the state-of-the-art performance of PixelRNN on ImageNet,\nwith greatly reduced computational cost.","url_abs":"http://arxiv.org/abs/1606.05328v2","url_pdf":"http://arxiv.org/pdf/1606.05328v2.pdf","source":{"archive":"pwc-archive (Hugging Face), CC BY-SA 4.0","snapshot":"2025-07-28","licence_url":"https://creativecommons.org/licenses/by-sa/4.0/legalcode","row_kind":"abstracts"},"code_links":[{"paper_slug":"conditional-image-generation-with-pixelcnn","repo_url":"https://github.com/PsorTheDoctor/microarray-data","is_official":0,"mentioned_in_paper":0,"mentioned_in_github":1,"framework":"tf","reach":null},{"paper_slug":"conditional-image-generation-with-pixelcnn","repo_url":"https://github.com/SJHNJU/Gated_PixelCNN","is_official":0,"mentioned_in_paper":0,"mentioned_in_github":1,"framework":"tf","reach":{"status":"ok"}},{"paper_slug":"conditional-image-generation-with-pixelcnn","repo_url":"https://github.com/SJHNJU/gated-pixelcnn","is_official":0,"mentioned_in_paper":0,"mentioned_in_github":1,"framework":"tf","reach":{"status":"ok"}},{"paper_slug":"conditional-image-generation-with-pixelcnn","repo_url":"https://github.com/anordertoreclaim/PixelCNN","is_official":0,"mentioned_in_paper":0,"mentioned_in_github":1,"framework":"pytorch","reach":null},{"paper_slug":"conditional-image-generation-with-pixelcnn","repo_url":"https://github.com/chandlersupple/Tensorflow-PixelCNN","is_official":0,"mentioned_in_paper":0,"mentioned_in_github":1,"framework":"tf","reach":null},{"paper_slug":"conditional-image-generation-with-pixelcnn","repo_url":"https://github.com/eyalbetzalel/pytorch-generative","is_official":0,"mentioned_in_paper":0,"mentioned_in_github":1,"framework":"pytorch","reach":{"status":"ok","spdx":"MIT"}},{"paper_slug":"conditional-image-generation-with-pixelcnn","repo_url":"https://github.com/eyalbetzalel/pytorch-generative-v2","is_official":0,"mentioned_in_paper":0,"mentioned_in_github":1,"framework":"pytorch","reach":{"status":"ok","spdx":"MIT"}},{"paper_slug":"conditional-image-generation-with-pixelcnn","repo_url":"https://github.com/kamenbliznashki/pixel_models","is_official":0,"mentioned_in_paper":0,"mentioned_in_github":1,"framework":"pytorch","reach":null},{"paper_slug":"conditional-image-generation-with-pixelcnn","repo_url":"https://github.com/kkleidal/gatedpixelcnnpytorch","is_official":0,"mentioned_in_paper":0,"mentioned_in_github":1,"framework":"pytorch","reach":{"status":"ok","spdx":"MIT"}},{"paper_slug":"conditional-image-generation-with-pixelcnn","repo_url":"https://github.com/openai/pixel-cnn","is_official":0,"mentioned_in_paper":0,"mentioned_in_github":1,"framework":"tf","reach":{"status":"ok","spdx":"NOASSERTION"}},{"paper_slug":"conditional-image-generation-with-pixelcnn","repo_url":"https://github.com/rampage644/wavenet","is_official":0,"mentioned_in_paper":0,"mentioned_in_github":1,"framework":"tf","reach":{"status":"ok","spdx":"Apache-2.0"}},{"paper_slug":"conditional-image-generation-with-pixelcnn","repo_url":"https://github.com/vocong25/gated_pixelcnn","is_official":0,"mentioned_in_paper":0,"mentioned_in_github":1,"framework":"tf","reach":null},{"paper_slug":"conditional-image-generation-with-pixelcnn","repo_url":"https://github.com/EugenHotaj/pytorch-generative/blob/master/pytorch_generative/models/autoregressive/gated_pixel_cnn.py","is_official":0,"mentioned_in_paper":0,"mentioned_in_github":0,"framework":"pytorch","reach":null},{"paper_slug":"conditional-image-generation-with-pixelcnn","repo_url":"https://github.com/sarus-tech/tf2-published-models/tree/master/gated_pixelcnn","is_official":0,"mentioned_in_paper":0,"mentioned_in_github":0,"framework":"tf","reach":null}],"tasks":[{"task_slug":"conditional-image-generation","task_name":"Conditional Image Generation"},{"task_slug":"decoder","task_name":"Decoder"},{"task_slug":"density-estimation","task_name":"Density Estimation"},{"task_slug":"descriptive","task_name":"Descriptive"},{"task_slug":"image-generation","task_name":"Image Generation"}],"methods":[{"method_slug":"lstm","method_name":"LSTM"},{"method_slug":"masked-convolution","method_name":"Masked Convolution"},{"method_slug":"pixelcnn","method_name":"PixelCNN"},{"method_slug":"pixelrnn","method_name":"PixelRNN"},{"method_slug":"sigmoid-activation","method_name":"Sigmoid Activation"},{"method_slug":"tanh-activation","method_name":"Tanh Activation"}],"datasets_introduced":[],"methods_introduced":[],"results":[{"leaderboard":"/sota/density-estimation-on-cifar-10","task":"Density Estimation","dataset":"CIFAR-10","model":"Pixel CNN","rank_in_archive_order":10,"of":15,"metrics":{"NLL (bits/dim)":"3.03"},"uses_additional_data":false},{"leaderboard":"/sota/image-generation-on-imagenet-32x32","task":"Image Generation","dataset":"ImageNet 32x32","model":"Gated PixelCNN","rank_in_archive_order":25,"of":35,"metrics":{"bpd":"3.83"},"uses_additional_data":false},{"leaderboard":"/sota/image-generation-on-imagenet-64x64","task":"Image Generation","dataset":"ImageNet 64x64","model":"Gated PixelCNN (van den Oord et al., [2016c])","rank_in_archive_order":50,"of":65,"metrics":{"Bits per dim":"3.57"},"uses_additional_data":false}],"syntology":{"atlas_url":"https://app.syntology.ai/?focus=1606.05328","mcp":{"get_harvested_code_for_paper":{"arxiv_id":"1606.05328"}},"developers":"https://syntology.ai/developers","read_at":"2026-09-24T18:15:14+00:00","read_at_is":"when the build read Syntology's graph, not when any sample ran","claim":"Per-sample execution status on synthesized fixtures; not a correctness claim about the paper. Samples come from repositories linked to the paper, official or community; repo_kind says which.","repos":[{"provenance":"external:paperswithcode_snapshot_2025-07-28","url":"https://github.com/eyalbetzalel/pytorch-generative-v2","reach":{"status":"ok","spdx":"MIT"}},{"provenance":"external:paperswithcode_snapshot_2025-07-28","url":"https://github.com/SJHNJU/Gated_PixelCNN","reach":{"status":"ok"}},{"provenance":"external:paperswithcode_snapshot_2025-07-28","url":"https://github.com/anordertoreclaim/PixelCNN","reach":null},{"provenance":"external:paperswithcode_snapshot_2025-07-28","url":"https://github.com/kkleidal/gatedpixelcnnpytorch","reach":{"status":"ok","spdx":"MIT"}},{"provenance":"external:paperswithcode_snapshot_2025-07-28","url":"https://github.com/eyalbetzalel/pytorch-generative","reach":{"status":"ok","spdx":"MIT"}},{"provenance":"external:paperswithcode_snapshot_2025-07-28","url":"https://github.com/chandlersupple/Tensorflow-PixelCNN","reach":null},{"provenance":"external:paperswithcode_snapshot_2025-07-28","url":"https://github.com/kamenbliznashki/pixel_models","reach":null},{"provenance":"external:paperswithcode_snapshot_2025-07-28","url":"https://github.com/EugenHotaj/pytorch-generative/blob/master/pytorch_generative/models/autoregressive/gated_pixel_cnn.py","reach":null},{"provenance":"external:paperswithcode_snapshot_2025-07-28","url":"https://github.com/openai/pixel-cnn","reach":{"status":"ok","spdx":"NOASSERTION"}},{"provenance":"external:paperswithcode_snapshot_2025-07-28","url":"https://github.com/SJHNJU/gated-pixelcnn","reach":{"status":"ok"}},{"provenance":"external:paperswithcode_snapshot_2025-07-28","url":"https://github.com/rampage644/wavenet","reach":{"status":"ok","spdx":"Apache-2.0"}},{"provenance":"external:paperswithcode_snapshot_2025-07-28","url":"https://github.com/PsorTheDoctor/microarray-data","reach":null},{"provenance":"external:paperswithcode_snapshot_2025-07-28","url":"https://github.com/sarus-tech/tf2-published-models/tree/master/gated_pixelcnn","reach":null},{"provenance":"external:paperswithcode_snapshot_2025-07-28","url":"https://github.com/vocong25/gated_pixelcnn","reach":null}],"summary":{"ran_fixture":1,"ran_draft_wrong":1,"ran_honours":2,"unverified":10},"by_repo_kind":{"listed":{"samples":14,"ran":4,"repositories":5}},"repo_kind_vocabulary":{"official":"The archive marks this repository official for the paper","named_in_paper":"The archive records that the paper mentions this repository; it is not marked official","listed":"In the archive's code links for this paper, not marked official and not recorded as mentioned in the paper","found_in_text":"Syntology found this repository in the paper's own text; whether it is the authors' implementation is not asserted","community":"Not in the archive's code links for this paper; a community repository Syntology harvested"},"n_pointer_only_for_licence":3,"samples":[{"code_sha256_prefix":"bd3e6d44a59d468d","entry":"loss_fn","repo":"kamenbliznashki/pixel_models","repo_kind":"listed","path":"pixelcnn.py","file_url":"https://github.com/kamenbliznashki/pixel_models/blob/HEAD/pixelcnn.py","link_basis":"first_harvest_node","language":"python","status":"ran_fixture","verification_level":1,"contract_check":"RAISES","metamorphic_tier":"invariant","behaviour_fingerprint":false,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"bd3e6d44a59d468d"}},{"code_sha256_prefix":"1e14e324863c2ccd","entry":"mask","repo":"chandlersupple/Tensorflow-PixelCNN","repo_kind":"listed","path":"pixelcnn.py","file_url":"https://github.com/chandlersupple/Tensorflow-PixelCNN/blob/HEAD/pixelcnn.py","link_basis":"first_harvest_node","language":"python","status":"ran_draft_wrong","verification_level":1,"contract_check":"MISDECLARED","metamorphic_tier":"well_formed","behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"1e14e324863c2ccd"}},{"code_sha256_prefix":"68cdfbf37a172d13","entry":"pixelcnn_gate","repo":"kamenbliznashki/pixel_models","repo_kind":"listed","path":"pixelcnn.py","file_url":"https://github.com/kamenbliznashki/pixel_models/blob/HEAD/pixelcnn.py","link_basis":"first_harvest_node","language":"python","status":"ran_honours","verification_level":1,"contract_check":"HONOURS","metamorphic_tier":"invariant","behaviour_fingerprint":true,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"68cdfbf37a172d13"}},{"code_sha256_prefix":"b2d883de2fd93619","entry":"same_padding","repo":"kkleidal/gatedpixelcnnpytorch","repo_kind":"listed","path":"models/components/pixelcnn.py","file_url":"https://github.com/kkleidal/gatedpixelcnnpytorch/blob/HEAD/models/components/pixelcnn.py","link_basis":"first_harvest_node","language":"python","status":"ran_honours","verification_level":1,"contract_check":"HONOURS","metamorphic_tier":"well_formed","behaviour_fingerprint":true,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"b2d883de2fd93619"}},{"code_sha256_prefix":"7486d39d659887c7","entry":"animate","repo":"eyalbetzalel/pytorch-generative","repo_kind":"listed","path":"pytorch_generative/colab_utils.py","file_url":"https://github.com/eyalbetzalel/pytorch-generative/blob/HEAD/pytorch_generative/colab_utils.py","link_basis":"harvester_set","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"7486d39d659887c7"}},{"code_sha256_prefix":"54d26252e3d6b564","entry":"compute_receptive_field","repo":"eyalbetzalel/pytorch-generative","repo_kind":"listed","path":"pytorch_generative/debug.py","file_url":"https://github.com/eyalbetzalel/pytorch-generative/blob/HEAD/pytorch_generative/debug.py","link_basis":"harvester_set","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"54d26252e3d6b564"}},{"code_sha256_prefix":"a88f8690106036a3","entry":"generate_fn","repo":"kamenbliznashki/pixel_models","repo_kind":"listed","path":"pixelcnn.py","file_url":"https://github.com/kamenbliznashki/pixel_models/blob/HEAD/pixelcnn.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"a88f8690106036a3"}},{"code_sha256_prefix":"97ff1e90a6a32884","entry":"image_positional_encoding","repo":"eyalbetzalel/pytorch-generative","repo_kind":"listed","path":"pytorch_generative/nn.py","file_url":"https://github.com/eyalbetzalel/pytorch-generative/blob/HEAD/pytorch_generative/nn.py","link_basis":"harvester_set","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"97ff1e90a6a32884"}},{"code_sha256_prefix":"6e93d4d24f711246","entry":"load_image","repo":"eyalbetzalel/pytorch-generative","repo_kind":"listed","path":"pytorch_generative/colab_utils.py","file_url":"https://github.com/eyalbetzalel/pytorch-generative/blob/HEAD/pytorch_generative/colab_utils.py","link_basis":"harvester_set","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"6e93d4d24f711246"}},{"code_sha256_prefix":"e1fa075299151e23","entry":"negative_log_likelihood","repo":"kkleidal/gatedpixelcnnpytorch","repo_kind":"listed","path":"mnist_pixelcnn_train.py","file_url":"https://github.com/kkleidal/gatedpixelcnnpytorch/blob/HEAD/mnist_pixelcnn_train.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"e1fa075299151e23"}},{"code_sha256_prefix":"48694d3cb7b430fb","entry":"preprocess","repo":"kkleidal/gatedpixelcnnpytorch","repo_kind":"listed","path":"mnist_pixelcnn_train.py","file_url":"https://github.com/kkleidal/gatedpixelcnnpytorch/blob/HEAD/mnist_pixelcnn_train.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"48694d3cb7b430fb"}},{"code_sha256_prefix":"1c783a15bde67d51","entry":"quantisize","repo":"kkleidal/gatedpixelcnnpytorch","repo_kind":"listed","path":"mnist_pixelcnn_train.py","file_url":"https://github.com/kkleidal/gatedpixelcnnpytorch/blob/HEAD/mnist_pixelcnn_train.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"1c783a15bde67d51"}},{"code_sha256_prefix":"f5e294f7c52471d8","entry":"reproduce","repo":"EugenHotaj/pytorch-generative","repo_kind":"listed","path":"pytorch_generative/models/autoregressive/gated_pixel_cnn.py","file_url":"https://github.com/EugenHotaj/pytorch-generative/blob/HEAD/pytorch_generative/models/autoregressive/gated_pixel_cnn.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"f5e294f7c52471d8"}},{"code_sha256_prefix":"1eef18f20b4c3e7d","entry":"reproduce","repo":"EugenHotaj/pytorch-generative","repo_kind":"listed","path":"pytorch_generative/models/autoregressive/pixel_cnn.py","file_url":"https://github.com/EugenHotaj/pytorch-generative/blob/HEAD/pytorch_generative/models/autoregressive/pixel_cnn.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"1eef18f20b4c3e7d"}}]},"arxiv_metadata":null,"syntology_extracted_results":null}