{"about":{"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.","site":"https://codewithpapers.app","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","syntology":{"site":"https://syntology.ai","developers":"https://syntology.ai/developers","mcp":{"server":"https://syntology.ai/mcp","transport":"streamable-http","server_card":"https://syntology.ai/.well-known/mcp/server-card.json","auth":{"type":"trial token, no account","trial_token":"https://syntology.ai/api/oauth/trial/token","method":"POST","docs":"https://syntology.ai/developers"}},"have":"https://syntology.ai/api/graph/have?x=<method, arXiv id or title> (free, answers coverage only)","paper_base":"https://syntology.ai/paper/","atlas_base":"https://app.syntology.ai/?focus="},"machine_readable":[{"url":"https://codewithpapers.app/llms.txt","what":"the machine catalog: every machine-readable file, counted"},{"url":"https://codewithpapers.app/index/manifest.json","what":"paper-to-code index by arXiv id, with Syntology's counts"},{"url":"https://codewithpapers.app/search/manifest.json","what":"site search index (titles, authors) and its files"},{"url":"https://codewithpapers.app/download","what":"bulk files: Syntology's layer, described there"},{"url":"https://codewithpapers.app/build_manifest.json","what":"the build record: inputs, counts, exclusions, probes"}]},"url":"/paper/taming-transformers-for-high-resolution-image","title":"Taming Transformers for High-Resolution Image Synthesis","arxiv_id":"2012.09841","date":"2020-12-17","proceeding":"CVPR 2021 1","authors":["Patrick Esser","Robin Rombach","Björn Ommer"],"abstract":"Designed to learn long-range interactions on sequential data, transformers continue to show state-of-the-art results on a wide variety of tasks. In contrast to CNNs, they contain no inductive bias that prioritizes local interactions. This makes them expressive, but also computationally infeasible for long sequences, such as high-resolution images. We demonstrate how combining the effectiveness of the inductive bias of CNNs with the expressivity of transformers enables them to model and thereby synthesize high-resolution images. We show how to (i) use CNNs to learn a context-rich vocabulary of image constituents, and in turn (ii) utilize transformers to efficiently model their composition within high-resolution images. Our approach is readily applied to conditional synthesis tasks, where both non-spatial information, such as object classes, and spatial information, such as segmentations, can control the generated image. In particular, we present the first results on semantically-guided synthesis of megapixel images with transformers and obtain the state of the art among autoregressive models on class-conditional ImageNet. Code and pretrained models can be found at https://github.com/CompVis/taming-transformers .","url_abs":"https://arxiv.org/abs/2012.09841v3","url_pdf":"https://arxiv.org/pdf/2012.09841v3.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":"taming-transformers-for-high-resolution-image","repo_url":"https://github.com/CompVis/taming-transformers","is_official":1,"mentioned_in_paper":1,"mentioned_in_github":1,"framework":"pytorch","reach":null},{"paper_slug":"taming-transformers-for-high-resolution-image","repo_url":"https://github.com/YvanG/VQGAN-CLIP","is_official":0,"mentioned_in_paper":0,"mentioned_in_github":1,"framework":"pytorch","reach":null},{"paper_slug":"taming-transformers-for-high-resolution-image","repo_url":"https://github.com/dome272/VQGAN","is_official":0,"mentioned_in_paper":0,"mentioned_in_github":1,"framework":"pytorch","reach":{"status":"unanswered"}},{"paper_slug":"taming-transformers-for-high-resolution-image","repo_url":"https://github.com/dome272/vqgan-pytorch","is_official":0,"mentioned_in_paper":0,"mentioned_in_github":1,"framework":"pytorch","reach":{"status":"unanswered"}},{"paper_slug":"taming-transformers-for-high-resolution-image","repo_url":"https://github.com/hyn2028/llm-cxr","is_official":0,"mentioned_in_paper":0,"mentioned_in_github":1,"framework":"pytorch","reach":{"status":"ok","spdx":"Apache-2.0"}},{"paper_slug":"taming-transformers-for-high-resolution-image","repo_url":"https://github.com/joanrod/ocr-vqgan","is_official":0,"mentioned_in_paper":0,"mentioned_in_github":1,"framework":"pytorch","reach":null},{"paper_slug":"taming-transformers-for-high-resolution-image","repo_url":"https://github.com/joh-fischer/PlantLDM","is_official":0,"mentioned_in_paper":0,"mentioned_in_github":1,"framework":"pytorch","reach":null},{"paper_slug":"taming-transformers-for-high-resolution-image","repo_url":"https://github.com/samb-t/unleashing-transformers","is_official":0,"mentioned_in_paper":0,"mentioned_in_github":1,"framework":"pytorch","reach":null},{"paper_slug":"taming-transformers-for-high-resolution-image","repo_url":"https://github.com/tgisaturday/taming-transformers-tpu","is_official":0,"mentioned_in_paper":0,"mentioned_in_github":1,"framework":"jax","reach":{"status":"unanswered"}},{"paper_slug":"taming-transformers-for-high-resolution-image","repo_url":"https://github.com/v-iashin/SpecVQGAN","is_official":0,"mentioned_in_paper":0,"mentioned_in_github":1,"framework":"pytorch","reach":null},{"paper_slug":"taming-transformers-for-high-resolution-image","repo_url":"https://github.com/xiaoiker/meta_dpm","is_official":0,"mentioned_in_paper":0,"mentioned_in_github":1,"framework":"pytorch","reach":null},{"paper_slug":"taming-transformers-for-high-resolution-image","repo_url":"https://github.com/FaceOnLive/DeepFake-Detection-SDK-Linux","is_official":0,"mentioned_in_paper":0,"mentioned_in_github":0,"framework":"none","reach":{"status":"unanswered"}},{"paper_slug":"taming-transformers-for-high-resolution-image","repo_url":"https://github.com/alibaba/EasyNLP/tree/master/examples/text2image_generation","is_official":0,"mentioned_in_paper":0,"mentioned_in_github":0,"framework":"jax","reach":null}],"tasks":[{"task_slug":"deepfake-detection","task_name":"DeepFake Detection"},{"task_slug":"image-generation","task_name":"Image Generation"},{"task_slug":"image-outpainting","task_name":"Image Outpainting"},{"task_slug":"image-reconstruction","task_name":"Image Reconstruction"},{"task_slug":"image-to-image-translation","task_name":"Image-to-Image Translation"},{"task_slug":"inductive-bias","task_name":"Inductive Bias"},{"task_slug":"text-to-image-generation","task_name":"Text-to-Image Generation"},{"task_slug":"high","task_name":"Vocal Bursts Intensity Prediction"}],"methods":[{"method_slug":"absolute-position-encodings","method_name":"Absolute Position Encodings"},{"method_slug":"adam","method_name":"Adam"},{"method_slug":"attention","method_name":"Attention"},{"method_slug":"bpe","method_name":"BPE"},{"method_slug":"dense-connections","method_name":"Dense Connections"},{"method_slug":"dropout","method_name":"Dropout"},{"method_slug":"label-smoothing","method_name":"Label Smoothing"},{"method_slug":"layer-normalization","method_name":"Layer Normalization"},{"method_slug":"linear-layer","method_name":"Linear Layer"},{"method_slug":"multi-head-attention","method_name":"Multi-Head Attention"},{"method_slug":"position-wise-feed-forward-layer","method_name":"Position-Wise Feed-Forward Layer"},{"method_slug":"residual-connection","method_name":"Residual Connection"},{"method_slug":"softmax","method_name":"Softmax"},{"method_slug":"transformer","method_name":"Transformer"}],"datasets_introduced":[],"methods_introduced":[],"results":[{"leaderboard":"/sota/deepfake-detection-on-fakeavceleb-1","task":"DeepFake Detection","dataset":"FakeAVCeleb","model":"VQGAN","rank_in_archive_order":9,"of":13,"metrics":{"AP":"55.0","ROC AUC":"51.8"},"uses_additional_data":false},{"leaderboard":"/sota/image-generation-on-celeba-256x256","task":"Image Generation","dataset":"CelebA 256x256","model":"VQGAN","rank_in_archive_order":13,"of":17,"metrics":{"FID":"10.2"},"uses_additional_data":false},{"leaderboard":"/sota/image-generation-on-celeba-hq-256x256","task":"Image Generation","dataset":"CelebA-HQ 256x256","model":"VQGAN+Transformer","rank_in_archive_order":13,"of":19,"metrics":{"FID":"10.2"},"uses_additional_data":false},{"leaderboard":"/sota/image-generation-on-ffhq-256-x-256","task":"Image Generation","dataset":"FFHQ 256 x 256","model":"VQGAN+Transformer","rank_in_archive_order":35,"of":51,"metrics":{"FID":"9.6"},"uses_additional_data":false},{"leaderboard":"/sota/image-generation-on-imagenet-256x256","task":"Image Generation","dataset":"ImageNet 256x256","model":"VQGAN+Transformer (k=600, p=1.0, a=0.05)","rank_in_archive_order":88,"of":94,"metrics":{"FID":"5.2"},"uses_additional_data":false},{"leaderboard":"/sota/image-generation-on-imagenet-256x256","task":"Image Generation","dataset":"ImageNet 256x256","model":"VQGAN+Transformer (k=mixed, p=1.0, a=0.005)","rank_in_archive_order":90,"of":94,"metrics":{"FID":"6.59"},"uses_additional_data":false},{"leaderboard":"/sota/image-outpainting-on-lhqc","task":"Image Outpainting","dataset":"LHQC","model":"Taming","rank_in_archive_order":4,"of":4,"metrics":{"Block-FID  (Right Extend)":"22.53","Block-FID (Down Extend)":"26.38","Block-FID (Left Extend)":"-","Block-FID (Up Extend)":"-"},"uses_additional_data":false},{"leaderboard":"/sota/image-reconstruction-on-imagenet","task":"Image Reconstruction","dataset":"ImageNet","model":"Taming-VQGAN (16x16)","rank_in_archive_order":15,"of":15,"metrics":{"FID":"3.64","LPIPS":"0.177","PSNR":"19.93","SSIM":"0.542"},"uses_additional_data":false},{"leaderboard":"/sota/image-reconstruction-on-ultra-high-resolution","task":"Image Reconstruction","dataset":"Ultra-High Resolution Image Reconstruction Benchmark","model":"VQGAN (16x16)","rank_in_archive_order":5,"of":6,"metrics":{"PSNR":"22.91","rFID":"5.95"},"uses_additional_data":false},{"leaderboard":"/sota/image-to-image-translation-on-ade20k-labels","task":"Image-to-Image Translation","dataset":"ADE20K Labels-to-Photos","model":"VQGAN+Transformer","rank_in_archive_order":15,"of":16,"metrics":{"FID":"35.5"},"uses_additional_data":false},{"leaderboard":"/sota/image-to-image-translation-on-coco-stuff","task":"Image-to-Image Translation","dataset":"COCO-Stuff Labels-to-Photos","model":"VQGAN+Transformer","rank_in_archive_order":9,"of":15,"metrics":{"FID":"22.4"},"uses_additional_data":false},{"leaderboard":"/sota/text-to-image-generation-on-conceptual","task":"Text-to-Image Generation","dataset":"Conceptual Captions","model":"VQ-GAN","rank_in_archive_order":5,"of":5,"metrics":{"FID":"28.86"},"uses_additional_data":false},{"leaderboard":"/sota/text-to-image-generation-on-lhqc","task":"Text-to-Image Generation","dataset":"LHQC","model":"Taming","rank_in_archive_order":3,"of":3,"metrics":{"Block-FID":"38.89"},"uses_additional_data":false}],"syntology":{"syntology_url":"https://syntology.ai/paper/2012.09841","atlas_url":"https://app.syntology.ai/?focus=2012.09841","mcp":{"get_harvested_code_for_paper":{"arxiv_id":"2012.09841"},"calls":[{"tool":"get_harvested_code_for_paper","arguments":{"arxiv_id":"2012.09841"},"returns":"the samples harvested from this paper, each with its run record; it does not verify the paper"},{"tool":"get_code","arguments_in":"samples[].code_sha256","returns":"one stored sample by its code_sha256; not shown on this site"}]},"developers":"https://syntology.ai/developers","held":true,"reason":"in_graph_layer","checked_against":null,"agent_calls":[{"tool":"get_harvested_code_for_paper","arguments":{"arxiv_id":"2012.09841"},"call":"get_harvested_code_for_paper(arxiv_id=\"2012.09841\")"},{"tool":"get_code","arguments_in":{"code_sha256":"syntology.samples[].code_sha256"},"call":"get_code(code_sha256=\"…\")"},{"tool":"get_citation_path","arguments":{"paper_1":"2012.09841"},"arguments_in":{"paper_2":"another paper's arXiv id or title"},"call":"get_citation_path(paper_1=\"2012.09841\", paper_2=\"…\")"},{"tool":"get_concepts_for_paper","arguments":{"arxiv_id":"2012.09841"},"call":"get_concepts_for_paper(arxiv_id=\"2012.09841\")"}],"by_repo":[{"repo":"CompVis/taming-transformers","kind":"official","samples":2,"ran":2,"instrument":2,"unverified":0},{"repo":"YvanG/VQGAN-CLIP","kind":"listed","samples":0,"ran":0,"instrument":0,"unverified":0,"harvested_for_other_papers":1,"harvested_for":["2103.00020"],"harvested_for_calls":[{"arxiv_id":"2103.00020","tool":"get_harvested_code_for_paper","arguments":{"arxiv_id":"2103.00020"},"call":"get_harvested_code_for_paper(arxiv_id=\"2103.00020\")"}]},{"repo":"dome272/VQGAN","kind":"listed","samples":0,"ran":0,"instrument":0,"unverified":0},{"repo":"dome272/vqgan-pytorch","kind":"listed","samples":0,"ran":0,"instrument":0,"unverified":0},{"repo":"hyn2028/llm-cxr","kind":"listed","samples":0,"ran":0,"instrument":0,"unverified":0,"harvested_for_other_papers":1,"harvested_for":["2305.11490"],"harvested_for_calls":[{"arxiv_id":"2305.11490","tool":"get_harvested_code_for_paper","arguments":{"arxiv_id":"2305.11490"},"call":"get_harvested_code_for_paper(arxiv_id=\"2305.11490\")"}]},{"repo":"joanrod/ocr-vqgan","kind":"listed","samples":3,"ran":3,"instrument":2,"unverified":0},{"repo":"joh-fischer/PlantLDM","kind":"listed","samples":0,"ran":0,"instrument":0,"unverified":0,"harvested_for_other_papers":2,"harvested_for":["1711.00937","2006.11239"],"harvested_for_calls":[{"arxiv_id":"1711.00937","tool":"get_harvested_code_for_paper","arguments":{"arxiv_id":"1711.00937"},"call":"get_harvested_code_for_paper(arxiv_id=\"1711.00937\")"},{"arxiv_id":"2006.11239","tool":"get_harvested_code_for_paper","arguments":{"arxiv_id":"2006.11239"},"call":"get_harvested_code_for_paper(arxiv_id=\"2006.11239\")"}]},{"repo":"samb-t/unleashing-transformers","kind":"listed","samples":0,"ran":0,"instrument":0,"unverified":0,"harvested_for_other_papers":1,"harvested_for":["2107.03006"],"harvested_for_calls":[{"arxiv_id":"2107.03006","tool":"get_harvested_code_for_paper","arguments":{"arxiv_id":"2107.03006"},"call":"get_harvested_code_for_paper(arxiv_id=\"2107.03006\")"}]},{"repo":"tgisaturday/taming-transformers-tpu","kind":"listed","samples":0,"ran":0,"instrument":0,"unverified":0},{"repo":"v-iashin/SpecVQGAN","kind":"listed","samples":0,"ran":0,"instrument":0,"unverified":0,"harvested_for_other_papers":2,"harvested_for":["1711.00937","2110.08791"],"harvested_for_calls":[{"arxiv_id":"1711.00937","tool":"get_harvested_code_for_paper","arguments":{"arxiv_id":"1711.00937"},"call":"get_harvested_code_for_paper(arxiv_id=\"1711.00937\")"},{"arxiv_id":"2110.08791","tool":"get_harvested_code_for_paper","arguments":{"arxiv_id":"2110.08791"},"call":"get_harvested_code_for_paper(arxiv_id=\"2110.08791\")"}]},{"repo":"xiaoiker/meta_dpm","kind":"listed","samples":0,"ran":0,"instrument":0,"unverified":0,"harvested_for_other_papers":1,"harvested_for":["2107.03006"],"harvested_for_calls":[{"arxiv_id":"2107.03006","tool":"get_harvested_code_for_paper","arguments":{"arxiv_id":"2107.03006"},"call":"get_harvested_code_for_paper(arxiv_id=\"2107.03006\")"}]},{"repo":"FaceOnLive/DeepFake-Detection-SDK-Linux","kind":"listed","samples":0,"ran":0,"instrument":0,"unverified":0},{"repo":"alibaba/EasyNLP","kind":"listed","samples":0,"ran":0,"instrument":0,"unverified":0,"harvested_for_other_papers":1,"harvested_for":["2311.06761"],"harvested_for_calls":[{"arxiv_id":"2311.06761","tool":"get_harvested_code_for_paper","arguments":{"arxiv_id":"2311.06761"},"call":"get_harvested_code_for_paper(arxiv_id=\"2311.06761\")"}]}],"by_repo_harvested_for_is":"harvested_for: the arXiv ids (as Syntology's graph holds them) of every paper whose samples Syntology's graph links to this repository, in arXiv-id order, complete; the page names the first 3 and says how many more. A link only: it does not say the papers are the same work, that one copied the other, or that the code implements this paper's method; harvested_for_calls gives the get_harvested_code_for_paper call for each arXiv-shaped id among them","by_repo_is":"one row per repository in the archive's code links, Syntology's graph links or the samples; samples 0 means no sample is linked to this paper, a statement about Syntology's coverage, not about the repository: with harvested_for_other_papers present, Syntology harvested the repository for that many other papers, and without it, Syntology harvested nothing from it; placed_by_identical_code counts samples whose link records no repository, placed here because identical code was harvested from this repository for another paper; ran counts executions on a synthesized input and instrument counts failures of Syntology's instrument, not of the code","read_at":"2026-10-05T00:36:11+00:00","read_at_is":"when the build read Syntology's graph, not when any sample ran","ran_record":{"url":"https://syntology.ai/api/ran/2012.09841.json","schema":"syntology.ran_record/1","counts_crosswalk":{"n_samples":"syntology.counts.lifted","n_ran":"syntology.counts.executed","n_ran_checked":"syntology.counts.checked","n_instrument":"syntology.counts.instrument_failures","n_unverified":"syntology.counts.no_recorded_run"},"note":"live record, measured at request time; may be newer than this page's graph read","badge":"https://syntology.ai/api/ran/2012.09841.svg"},"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/samb-t/unleashing-transformers","reach":null},{"provenance":"external:paperswithcode_snapshot_2025-07-28","url":"https://github.com/joanrod/ocr-vqgan","reach":null},{"provenance":"external:paperswithcode_snapshot_2025-07-28","url":"https://github.com/dome272/VQGAN","reach":{"status":"unanswered"}},{"provenance":"external:paperswithcode_snapshot_2025-07-28","url":"https://github.com/xiaoiker/meta_dpm","reach":null},{"provenance":"external:paperswithcode_snapshot_2025-07-28","url":"https://github.com/alibaba/EasyNLP/tree/master/examples/text2image_generation","reach":null},{"provenance":"external:paperswithcode_snapshot_2025-07-28","url":"https://github.com/YvanG/VQGAN-CLIP","reach":null},{"provenance":"external:paperswithcode_snapshot_2025-07-28","url":"https://github.com/hyn2028/llm-cxr","reach":{"status":"ok","spdx":"Apache-2.0"}},{"provenance":"external:paperswithcode_snapshot_2025-07-28","url":"https://github.com/tgisaturday/taming-transformers-tpu","reach":{"status":"unanswered"}},{"provenance":"external:paperswithcode_snapshot_2025-07-28","url":"https://github.com/joh-fischer/PlantLDM","reach":null},{"provenance":"external:paperswithcode_snapshot_2025-07-28","url":"https://github.com/v-iashin/SpecVQGAN","reach":null},{"provenance":"external:paperswithcode_snapshot_2025-07-28","url":"https://github.com/dome272/vqgan-pytorch","reach":{"status":"unanswered"}},{"provenance":"external:paperswithcode_snapshot_2025-07-28","url":"https://github.com/FaceOnLive/DeepFake-Detection-SDK-Linux","reach":{"status":"unanswered"}},{"provenance":"external:paperswithcode_snapshot_2025-07-28","url":"https://github.com/CompVis/taming-transformers","reach":null}],"summary":{"ran_honours":1,"ran_draft_wrong":3,"ran_violates":1,"ran_fixture":1},"n_samples":6,"n_ran":6,"n_constructed":0,"n_ran_checked":2,"n_instrument":4,"n_unverified":0,"n_instrument_is":"failures of Syntology's instrument, not of the code","every_run_is_an_instrument_failure":false,"key_notes":{"n_ran_checked":"legacy name, kept unchanged so existing readers do not break: it counts the samples that ran with no instrument failure (honoured, violated, and ran with no contract checked); it does not mean a contract was checked, and the pages print it as 'K with no instrument failure', not 'K checked'","n_constructed":"a sub-count of the samples that ran, never subtracted from them and never a failure: an executed sample whose run returned an instance of its own class (fixture_out_type equals the entry name): the run built an object and did not compute a result (Syntology's RAN record, counts.constructed)"},"by_repo_kind":{"official":{"samples":2,"ran":2,"n_ran_checked":0,"n_instrument":2,"repositories":1},"listed":{"samples":3,"ran":3,"n_ran_checked":1,"n_instrument":2,"repositories":1},"unlocated":{"samples":1,"ran":1,"n_ran_checked":1,"n_instrument":0,"repositories":0,"is":"identical to code Syntology harvested from another paper's repository; this paper's own copy was not located, so no repository is named and no licence is recorded"}},"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":4,"inline_ok_is":"inline_ok is true only when both licence gates allow Syntology to serve this code's text: this paper's link (inline_ok_link, from the licence of this paper's copy) and the stored copy of the same code that Syntology serves, which may have been first harvested from another repository. withheld_clause is Syntology's own wording of which gate keeps the text a pointer and why, and is null when inline_ok is true. This site shows no code text either way; n_pointer_only_for_licence counts samples with inline_ok false (both gates), n_pointer_only_link_allows those of them whose inline_ok_link is true","n_pointer_only_link_allows":0,"fixture_fields_is":{"signature_and_fixture_out_type":"the arguments Syntology's fixture called the sample with, each as name:type/rank/element kind (? where none was recorded), and the type of what the fixture's run returned, exactly as the harness recorded them; the arguments and the returned type were recorded by two separate runs of the same fixture. No output value is shown, and a returned type says nothing about whether the output was right","level_recorded_at":"when Syntology's graph wrote the sample's verification level, not when the code executed; absent where the level was written before the date was kept, and never filled in with the build date","present_on":"samples that ran only; a key is absent, never empty, where the graph records nothing"},"n_ran_with_level_date":5,"n_ran_without_level_date":1,"n_ran_signature_not_shown":0,"levels_written_between":{"first":"2026-09-22","last":"2026-09-22","is":"the first and last UTC dates on which Syntology's graph wrote a verification level for a sample on this page that ran, not when the code executed"},"code_page_min_papers":5,"code_page_is":"a page for the entry name across every paper's harvested code; the name is a string, not an identity","samples":[{"code_sha256":"7439a9d4c6be04b0","code_sha256_prefix":"7439a9d4c6be04b0","entry":"adopt_weight","repo":"joanrod/ocr-vqgan","repo_kind":"listed","path":"taming/modules/losses/vqperceptual.py","file_url":"https://github.com/joanrod/ocr-vqgan/blob/HEAD/taming/modules/losses/vqperceptual.py","link_basis":"first_harvest_node","language":"python","status":"ran_honours","verification_level":1,"contract_check":"HONOURS","metamorphic_tier":"well_formed","behaviour_fingerprint":true,"signature":"weight:float/0/float, global_step:int/0/int, threshold:int/0/int, value:float/0/float","fixture_out_type":"float","level_recorded_at":"2026-09-22T14:31:46.068493+00:00","retrieve_with":{"tool":"get_code","code_sha256":"7439a9d4c6be04b0"},"code_page":"/code/adopt-weight","census":null,"licence":"NONE","inline_ok":false,"inline_ok_link":false,"withheld_clause":"GitHub detected no licence in this paper's repository, joanrod/ocr-vqgan when it was checked","mcp_get_code":{"code_sha256":"7439a9d4c6be04b0"}},{"code_sha256":"6ca974beb2276abf","code_sha256_prefix":"6ca974beb2276abf","entry":"bchw_to_st","repo":"CompVis/taming-transformers","repo_kind":"official","path":"scripts/sample_conditional.py","file_url":"https://github.com/CompVis/taming-transformers/blob/HEAD/scripts/sample_conditional.py","link_basis":"first_harvest_node","language":"python","status":"ran_draft_wrong","verification_level":1,"contract_check":"MISDECLARED","metamorphic_tier":"invariant","behaviour_fingerprint":true,"signature":"x:Tensor/4/float","fixture_out_type":"ndarray","level_recorded_at":"2026-09-22T14:31:46.068493+00:00","retrieve_with":{"tool":"get_code","code_sha256":"6ca974beb2276abf"},"code_page":null,"census":null,"licence":"MIT","inline_ok":true,"inline_ok_link":true,"withheld_clause":null,"mcp_get_code":{"code_sha256":"6ca974beb2276abf"}},{"code_sha256":"4cb732f513d69dfd","code_sha256_prefix":"4cb732f513d69dfd","entry":"disabled_train","repo":null,"repo_kind":null,"path":null,"file_url":null,"link_basis":"identical_code_first_harvested_elsewhere","language":"python","status":"ran_violates","verification_level":1,"contract_check":"VIOLATES","metamorphic_tier":"deterministic","behaviour_fingerprint":false,"signature":"self:callable/0/?, mode:bool/0/bool","fixture_out_type":"SimpleModel","code_page":"/code/disabled-train","census":null,"licence":null,"inline_ok":false,"inline_ok_link":false,"withheld_clause":"this paper's copy of the code was not recorded (its link names no repository or source path), so no licence was read for it","mcp_get_code":{"code_sha256":"4cb732f513d69dfd"}},{"code_sha256":"22a83df891d750c6","code_sha256_prefix":"22a83df891d750c6","entry":"hinge_d_loss","repo":"joanrod/ocr-vqgan","repo_kind":"listed","path":"taming/modules/losses/vqperceptual.py","file_url":"https://github.com/joanrod/ocr-vqgan/blob/HEAD/taming/modules/losses/vqperceptual.py","link_basis":"first_harvest_node","language":"python","status":"ran_draft_wrong","verification_level":1,"contract_check":"MISDECLARED","metamorphic_tier":"invariant","behaviour_fingerprint":true,"signature":"logits_real:Tensor/2/float, logits_fake:Tensor/2/float","fixture_out_type":"Tensor","level_recorded_at":"2026-09-22T14:31:46.068493+00:00","retrieve_with":{"tool":"get_code","code_sha256":"22a83df891d750c6"},"code_page":"/code/hinge-d-loss","census":null,"licence":"NONE","inline_ok":false,"inline_ok_link":false,"withheld_clause":"GitHub detected no licence in this paper's repository, joanrod/ocr-vqgan when it was checked","mcp_get_code":{"code_sha256":"22a83df891d750c6"}},{"code_sha256":"d2bff574a971c670","code_sha256_prefix":"d2bff574a971c670","entry":"single_image_to_torch","repo":"CompVis/taming-transformers","repo_kind":"official","path":"scripts/sample_conditional.py","file_url":"https://github.com/CompVis/taming-transformers/blob/HEAD/scripts/sample_conditional.py","link_basis":"first_harvest_node","language":"python","status":"ran_fixture","verification_level":1,"contract_check":"RAISES","metamorphic_tier":"invariant","behaviour_fingerprint":true,"signature":"x:ndarray/3/int, permute:bool/0/bool","fixture_out_type":"Tensor","level_recorded_at":"2026-09-22T14:31:46.068493+00:00","retrieve_with":{"tool":"get_code","code_sha256":"d2bff574a971c670"},"code_page":null,"census":null,"licence":"MIT","inline_ok":true,"inline_ok_link":true,"withheld_clause":null,"mcp_get_code":{"code_sha256":"d2bff574a971c670"}},{"code_sha256":"263c54290c553ddd","code_sha256_prefix":"263c54290c553ddd","entry":"vanilla_d_loss","repo":"joanrod/ocr-vqgan","repo_kind":"listed","path":"taming/modules/losses/vqperceptual.py","file_url":"https://github.com/joanrod/ocr-vqgan/blob/HEAD/taming/modules/losses/vqperceptual.py","link_basis":"first_harvest_node","language":"python","status":"ran_draft_wrong","verification_level":1,"contract_check":"MISDECLARED","metamorphic_tier":"invariant","behaviour_fingerprint":true,"signature":"logits_real:Tensor/1/float, logits_fake:Tensor/1/float","fixture_out_type":"Tensor","level_recorded_at":"2026-09-22T14:31:46.068493+00:00","retrieve_with":{"tool":"get_code","code_sha256":"263c54290c553ddd"},"code_page":"/code/vanilla-d-loss","census":null,"licence":"NONE","inline_ok":false,"inline_ok_link":false,"withheld_clause":"GitHub detected no licence in this paper's repository, joanrod/ocr-vqgan when it was checked","mcp_get_code":{"code_sha256":"263c54290c553ddd"}}]},"code_links_note":null,"arxiv_metadata":null,"syntology_extracted_results":null,"record_sha256":"db8af1b85d64055f39bf282832440e5976aee826877a073ae31393325c85434b","record_changed_at":"2026-09-28","record_changed_at_basis":"first_hashed"}