{"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/layoutnet-reconstructing-the-3d-room-layout","title":"LayoutNet: Reconstructing the 3D Room Layout from a Single RGB Image","arxiv_id":"1803.08999","date":"2018-03-23","proceeding":"CVPR 2018 6","authors":["Chuhang Zou","Alex Colburn","Qi Shan","Derek Hoiem"],"abstract":"We propose an algorithm to predict room layout from a single image that\ngeneralizes across panoramas and perspective images, cuboid layouts and more\ngeneral layouts (e.g. L-shape room). Our method operates directly on the\npanoramic image, rather than decomposing into perspective images as do recent\nworks. Our network architecture is similar to that of RoomNet, but we show\nimprovements due to aligning the image based on vanishing points, predicting\nmultiple layout elements (corners, boundaries, size and translation), and\nfitting a constrained Manhattan layout to the resulting predictions. Our method\ncompares well in speed and accuracy to other existing work on panoramas,\nachieves among the best accuracy for perspective images, and can handle both\ncuboid-shaped and more general Manhattan layouts.","url_abs":"http://arxiv.org/abs/1803.08999v1","url_pdf":"http://arxiv.org/pdf/1803.08999v1.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":"layoutnet-reconstructing-the-3d-room-layout","repo_url":"https://github.com/zouchuhang/LayoutNetv2","is_official":1,"mentioned_in_paper":0,"mentioned_in_github":0,"framework":"pytorch","reach":{"status":"ok","spdx":"MIT"}},{"paper_slug":"layoutnet-reconstructing-the-3d-room-layout","repo_url":"https://github.com/sunset1995/pytorch-layoutnet","is_official":0,"mentioned_in_paper":0,"mentioned_in_github":1,"framework":"pytorch","reach":{"status":"ok","spdx":"MIT"}}],"tasks":[{"task_slug":"3d-room-layouts-from-a-single-rgb-panorama","task_name":"3D Room Layouts From A Single RGB Panorama"},{"task_slug":"translation","task_name":"Translation"}],"methods":[{"method_slug":"speed","method_name":"SPEED"}],"datasets_introduced":[],"methods_introduced":[],"results":[{"leaderboard":"/sota/3d-room-layouts-from-a-single-rgb-panorama-on","task":"3D Room Layouts From A Single RGB Panorama","dataset":"PanoContext","model":"LayoutNet","rank_in_archive_order":7,"of":7,"metrics":{"3DIoU":"74.48"},"uses_additional_data":false},{"leaderboard":"/sota/3d-room-layouts-from-a-single-rgb-panorama-on-2","task":"3D Room Layouts From A Single RGB Panorama","dataset":"Realtor360","model":"LayoutNet","rank_in_archive_order":2,"of":2,"metrics":{"3DIoU":"62.77%"},"uses_additional_data":false},{"leaderboard":"/sota/3d-room-layouts-from-a-single-rgb-panorama-on-3","task":"3D Room Layouts From A Single RGB Panorama","dataset":"Stanford2D3D Panoramic","model":"LayoutNet","rank_in_archive_order":9,"of":9,"metrics":{"3DIoU":"76.33","Corner Error":"1.04","Pixel Error":"2.7"},"uses_additional_data":false}],"syntology":{"atlas_url":"https://app.syntology.ai/?focus=1803.08999","mcp":{"get_harvested_code_for_paper":{"arxiv_id":"1803.08999"}},"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/zouchuhang/LayoutNetv2","reach":{"status":"ok","spdx":"MIT"}},{"provenance":"external:paperswithcode_snapshot_2025-07-28","url":"https://github.com/sunset1995/pytorch-layoutnet","reach":{"status":"ok","spdx":"MIT"}}],"summary":{"ran_draft_wrong":1,"unverified":26},"by_repo_kind":{"official":{"samples":16,"ran":1,"repositories":1},"listed":{"samples":11,"ran":0,"repositories":1}},"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":0,"samples":[{"code_sha256_prefix":"fac5364e2f53c6db","entry":"conv3x3","repo":"zouchuhang/LayoutNetv2","repo_kind":"official","path":"resnet_seg_ae.py","file_url":"https://github.com/zouchuhang/LayoutNetv2/blob/HEAD/resnet_seg_ae.py","link_basis":"harvester_set","language":"python","status":"ran_draft_wrong","verification_level":1,"contract_check":"OUTPUT_MISDECLARED","metamorphic_tier":"deterministic","behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"fac5364e2f53c6db"}},{"code_sha256_prefix":"6ef1862570acb512","entry":"constraint_cor_id_same_z","repo":"zouchuhang/LayoutNetv2","repo_kind":"official","path":"pano.py","file_url":"https://github.com/zouchuhang/LayoutNetv2/blob/HEAD/pano.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":"6ef1862570acb512"}},{"code_sha256_prefix":"69b79279f2bcf05b","entry":"constraint_cor_id_same_z","repo":"zouchuhang/LayoutNetv2","repo_kind":"official","path":"pano_gen.py","file_url":"https://github.com/zouchuhang/LayoutNetv2/blob/HEAD/pano_gen.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":"69b79279f2bcf05b"}},{"code_sha256_prefix":"01be3eddbd0689a1","entry":"conv3x3","repo":"sunset1995/pytorch-layoutnet","repo_kind":"listed","path":"model.py","file_url":"https://github.com/sunset1995/pytorch-layoutnet/blob/HEAD/model.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":"01be3eddbd0689a1"}},{"code_sha256_prefix":"ff3831cec5b317f0","entry":"conv3x3_down","repo":"sunset1995/pytorch-layoutnet","repo_kind":"listed","path":"model.py","file_url":"https://github.com/sunset1995/pytorch-layoutnet/blob/HEAD/model.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":"ff3831cec5b317f0"}},{"code_sha256_prefix":"e350c739724eb986","entry":"coorx2u","repo":"zouchuhang/LayoutNetv2","repo_kind":"official","path":"panostretch.py","file_url":"https://github.com/zouchuhang/LayoutNetv2/blob/HEAD/panostretch.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":"e350c739724eb986"}},{"code_sha256_prefix":"0e901bc0308c0287","entry":"find_N_peaks","repo":"zouchuhang/LayoutNetv2","repo_kind":"official","path":"pano.py","file_url":"https://github.com/zouchuhang/LayoutNetv2/blob/HEAD/pano.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":"0e901bc0308c0287"}},{"code_sha256_prefix":"d59005dd00723aaa","entry":"fit_avg_z","repo":"zouchuhang/LayoutNetv2","repo_kind":"official","path":"pano.py","file_url":"https://github.com/zouchuhang/LayoutNetv2/blob/HEAD/pano.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":"d59005dd00723aaa"}},{"code_sha256_prefix":"85ab63393b3f09e3","entry":"fuv2img","repo":"zouchuhang/LayoutNetv2","repo_kind":"official","path":"post_proc2.py","file_url":"https://github.com/zouchuhang/LayoutNetv2/blob/HEAD/post_proc2.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":"85ab63393b3f09e3"}},{"code_sha256_prefix":"a7443d8f9651fe86","entry":"group_weight","repo":"sunset1995/pytorch-layoutnet","repo_kind":"listed","path":"utils.py","file_url":"https://github.com/sunset1995/pytorch-layoutnet/blob/HEAD/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":"a7443d8f9651fe86"}},{"code_sha256_prefix":"b7f766de2d78c0aa","entry":"imgLookAt","repo":"sunset1995/pytorch-layoutnet","repo_kind":"listed","path":"pano_lsd_align.py","file_url":"https://github.com/sunset1995/pytorch-layoutnet/blob/HEAD/pano_lsd_align.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":"b7f766de2d78c0aa"}},{"code_sha256_prefix":"be0b9dc0fdec0e29","entry":"np_coor2xy","repo":"sunset1995/pytorch-layoutnet","repo_kind":"listed","path":"utils_eval.py","file_url":"https://github.com/sunset1995/pytorch-layoutnet/blob/HEAD/utils_eval.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":"be0b9dc0fdec0e29"}},{"code_sha256_prefix":"9e0a394d87f74afc","entry":"np_coorx2u","repo":"zouchuhang/LayoutNetv2","repo_kind":"official","path":"post_proc2.py","file_url":"https://github.com/zouchuhang/LayoutNetv2/blob/HEAD/post_proc2.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":"9e0a394d87f74afc"}},{"code_sha256_prefix":"c40a053cc4cee39a","entry":"np_coorx2u","repo":"sunset1995/pytorch-layoutnet","repo_kind":"listed","path":"utils_eval.py","file_url":"https://github.com/sunset1995/pytorch-layoutnet/blob/HEAD/utils_eval.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":"c40a053cc4cee39a"}},{"code_sha256_prefix":"a338620d515a8ca1","entry":"np_coory2v","repo":"zouchuhang/LayoutNetv2","repo_kind":"official","path":"post_proc2.py","file_url":"https://github.com/zouchuhang/LayoutNetv2/blob/HEAD/post_proc2.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":"a338620d515a8ca1"}},{"code_sha256_prefix":"a9f4bbf3a7b1872e","entry":"np_coory2v","repo":"sunset1995/pytorch-layoutnet","repo_kind":"listed","path":"utils_eval.py","file_url":"https://github.com/sunset1995/pytorch-layoutnet/blob/HEAD/utils_eval.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":"a9f4bbf3a7b1872e"}},{"code_sha256_prefix":"6c4d20427a2348ef","entry":"pmap_x","repo":"sunset1995/pytorch-layoutnet","repo_kind":"listed","path":"utils.py","file_url":"https://github.com/sunset1995/pytorch-layoutnet/blob/HEAD/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":"6c4d20427a2348ef"}},{"code_sha256_prefix":"0c80f459c9070c5a","entry":"pts_linspace","repo":"zouchuhang/LayoutNetv2","repo_kind":"official","path":"pano_opt.py","file_url":"https://github.com/zouchuhang/LayoutNetv2/blob/HEAD/pano_opt.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":"0c80f459c9070c5a"}},{"code_sha256_prefix":"adb9a1e49de97895","entry":"resnet18","repo":"zouchuhang/LayoutNetv2","repo_kind":"official","path":"resnet_seg_ae.py","file_url":"https://github.com/zouchuhang/LayoutNetv2/blob/HEAD/resnet_seg_ae.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":"adb9a1e49de97895"}},{"code_sha256_prefix":"24a8b2c541a0eda1","entry":"resnet34","repo":"zouchuhang/LayoutNetv2","repo_kind":"official","path":"resnet_seg_ae.py","file_url":"https://github.com/zouchuhang/LayoutNetv2/blob/HEAD/resnet_seg_ae.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":"24a8b2c541a0eda1"}},{"code_sha256_prefix":"18b3cbeabc3aa42a","entry":"rotatevec","repo":"zouchuhang/LayoutNetv2","repo_kind":"official","path":"pano_opt.py","file_url":"https://github.com/zouchuhang/LayoutNetv2/blob/HEAD/pano_opt.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":"18b3cbeabc3aa42a"}},{"code_sha256_prefix":"0f166ec65f3c7f27","entry":"uv_meshgrid","repo":"zouchuhang/LayoutNetv2","repo_kind":"official","path":"panostretch.py","file_url":"https://github.com/zouchuhang/LayoutNetv2/blob/HEAD/panostretch.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":"0f166ec65f3c7f27"}},{"code_sha256_prefix":"4e29a0157c785e2d","entry":"uv_tri","repo":"zouchuhang/LayoutNetv2","repo_kind":"official","path":"panostretch.py","file_url":"https://github.com/zouchuhang/LayoutNetv2/blob/HEAD/panostretch.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":"4e29a0157c785e2d"}},{"code_sha256_prefix":"bfdb0732e340b9fb","entry":"vecang","repo":"zouchuhang/LayoutNetv2","repo_kind":"official","path":"pano_opt.py","file_url":"https://github.com/zouchuhang/LayoutNetv2/blob/HEAD/pano_opt.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":"bfdb0732e340b9fb"}},{"code_sha256_prefix":"80022ee7f957c769","entry":"warpImageFast","repo":"sunset1995/pytorch-layoutnet","repo_kind":"listed","path":"pano_lsd_align.py","file_url":"https://github.com/sunset1995/pytorch-layoutnet/blob/HEAD/pano_lsd_align.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":"80022ee7f957c769"}},{"code_sha256_prefix":"a08d747ddd6be014","entry":"warp_walls","repo":"sunset1995/pytorch-layoutnet","repo_kind":"listed","path":"visual_3d_layout.py","file_url":"https://github.com/sunset1995/pytorch-layoutnet/blob/HEAD/visual_3d_layout.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":"a08d747ddd6be014"}},{"code_sha256_prefix":"57da9acee1c24656","entry":"xyz_2_coorxy","repo":"sunset1995/pytorch-layoutnet","repo_kind":"listed","path":"visual_3d_layout.py","file_url":"https://github.com/sunset1995/pytorch-layoutnet/blob/HEAD/visual_3d_layout.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":"57da9acee1c24656"}}]},"arxiv_metadata":null,"syntology_extracted_results":null}