{"id":18682537,"url":"https://github.com/postech-cvlab/scene_painting","last_synced_at":"2025-09-12T00:18:41.473Z","repository":{"id":109960772,"uuid":"441705247","full_name":"POSTECH-CVLab/scene_painting","owner":"POSTECH-CVLab","description":null,"archived":false,"fork":false,"pushed_at":"2021-12-25T15:22:44.000Z","size":96,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":6,"default_branch":"master","last_synced_at":"2024-12-27T23:10:14.340Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/POSTECH-CVLab.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2021-12-25T15:21:25.000Z","updated_at":"2022-05-03T06:47:37.000Z","dependencies_parsed_at":"2023-05-05T08:25:33.745Z","dependency_job_id":null,"html_url":"https://github.com/POSTECH-CVLab/scene_painting","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/POSTECH-CVLab%2Fscene_painting","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/POSTECH-CVLab%2Fscene_painting/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/POSTECH-CVLab%2Fscene_painting/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/POSTECH-CVLab%2Fscene_painting/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/POSTECH-CVLab","download_url":"https://codeload.github.com/POSTECH-CVLab/scene_painting/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":239533279,"owners_count":19654660,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-07T10:12:16.997Z","updated_at":"2025-02-18T19:24:26.603Z","avatar_url":"https://github.com/POSTECH-CVLab.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# scene_painting\n\n## 1. Make dataset\n- Download SceneNet files\n- Open a scene layout file in Blender\n  - Set blender filename: .../{filename}.blend\n- Labeling\n  - Assign a class label of each object by filling pass index\n  - (Optional) Use 'pre_process/script_labeling_scene.py'\n- Render setting\n  - Render properties\n    - Render engine - cycles / GPU\n  - Output properties\n    - Resolution: 256x256\n   - View Layer properties\n    - passes : z, object index\n- Add Plane to compensate empty space\n- Make camera viewpoints (animation)\n  - Set camera viewpoints of keyframes\n  - (optional) Use 'pre_process/script_random_camera.py'\n- Save camera parameters (focal length, principal point, extrinsic)\n  - Use 'pre_process/script_save_camera_params.py'\n  - Output: .../{filename}_raw_data/cameras\n- Compositing\n  - [Reference](http://www.tobias-weis.de/groundtruth-data-for-computer-vision-with-blender)\n  - Depth\n    - Set save path: .../{filename}_raw_data/depths\n    - File Format: OpenEXR\n  - IndexOB (label)\n    - Set save path: .../{filename}_raw_data/labels\n    - Divide node values by 255\n    - File Format: PNG, Color: BW, Color Depth: 8, compression 15 \n- Rendering\n  - Ctrl + F12\n  - Output: .../{filename}_raw_data/depths\n  - Output: .../{filename}_raw_data/labels\n- Make train dataset\n  - Enter pre_process directory\n  - python make_dataset.py --data_root .../{filename}_raw_data\n  - Output: .../{filename}/coordinate_images\n  - Output: .../{filename}/labels_ade20k\n  - Output: .../{filename}/labels_scenenet\n  - Output: .../{filename}/ade_to_scenenet.pickle\n  - Output: .../{filename}/stats.npz\n- (Optional) Make test dataset\n  - Assume that '.../{testset}_raw_data' exists.\n  - Make test dataset using data properties of train dataset (ade_to_scenenet.pickle and stats.npz)\n  - python make_dataset.py --data_root .../{testset}_raw_data --is_testset --stats_path .../{filename}/stats.npz --ade_to_scenenet_path .../{filename}/ade_to_scenenet.pickle\n\n\n## 2. Training\n[Training](https://github.com/jbjeong/scene_painting/tree/master/training)\n\n## 3. Texture mapping\n- Open the scene layout file used to make the dataset in Blender\n  - Use blender script: 'pre_process/script_texture_mapping.py'\n  - Change the generated image path and execute the script\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpostech-cvlab%2Fscene_painting","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpostech-cvlab%2Fscene_painting","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpostech-cvlab%2Fscene_painting/lists"}