{"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/flame-diffuser-grounded-wildfire-image","title":"FLAME Diffuser: Wildfire Image Synthesis using Mask Guided Diffusion","arxiv_id":"2403.03463","date":"2024-03-06","proceeding":null,"authors":["Hao Wang","Sayed Pedram Haeri Boroujeni","Xiwen Chen","Ashish Bastola","Huayu Li","Wenhui Zhu","Abolfazl Razi"],"abstract":"Wildfires are a significant threat to ecosystems and human infrastructure, leading to widespread destruction and environmental degradation. Recent advancements in deep learning and generative models have enabled new methods for wildfire detection and monitoring. However, the scarcity of annotated wildfire images limits the development of robust models for these tasks. In this work, we present the FLAME Diffuser, a training-free, diffusion-based framework designed to generate realistic wildfire images with paired ground truth. Our framework uses augmented masks, sampled from real wildfire data, and applies Perlin noise to guide the generation of realistic flames. By controlling the placement of these elements within the image, we ensure precise integration while maintaining the original images style. We evaluate the generated images using normalized Frechet Inception Distance, CLIP Score, and a custom CLIP Confidence metric, demonstrating the high quality and realism of the synthesized wildfire images. Specifically, the fusion of Perlin noise in this work significantly improved the quality of synthesized images. The proposed method is particularly valuable for enhancing datasets used in downstream tasks such as wildfire detection and monitoring.","url_abs":"https://arxiv.org/abs/2403.03463v2","url_pdf":"https://arxiv.org/pdf/2403.03463v2.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":"flame-diffuser-grounded-wildfire-image","repo_url":"https://github.com/AIS-Clemson/FLAME_SD","is_official":1,"mentioned_in_paper":0,"mentioned_in_github":1,"framework":"pytorch","reach":{"status":"ok"}}],"tasks":[{"task_slug":"fire-detection","task_name":"Fire Detection"},{"task_slug":"image-generation","task_name":"Image Generation"},{"task_slug":"object-detection","task_name":"Object Detection"},{"task_slug":"small-object-detection","task_name":"Small Object Detection"},{"task_slug":"object-detection-1","task_name":"object-detection"}],"methods":[{"method_slug":"clip","method_name":"CLIP"},{"method_slug":"diffusion","method_name":"Diffusion"}],"datasets_introduced":[],"methods_introduced":[],"results":[],"syntology":{"atlas_url":"https://app.syntology.ai/?focus=2403.03463","mcp":{"get_harvested_code_for_paper":{"arxiv_id":"2403.03463"}},"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/AIS-Clemson/FLAME_SD","reach":{"status":"ok"}}],"summary":{"ran":6,"ran_draft_wrong":5,"ran_fixture":1,"unverified":4},"by_repo_kind":{"official":{"samples":16,"ran":12,"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":16,"samples":[{"code_sha256_prefix":"7215c2132611de7c","entry":"NMS","repo":"AIS-Clemson/FLAME_SD","repo_kind":"official","path":"_old/dataset/CLIP_FLAME.py","file_url":"https://github.com/AIS-Clemson/FLAME_SD/blob/HEAD/_old/dataset/CLIP_FLAME.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"7215c2132611de7c"}},{"code_sha256_prefix":"eeeb4d8815f3913c","entry":"add_gaussian_noise","repo":"AIS-Clemson/FLAME_SD","repo_kind":"official","path":"Flame_diffuser_binary_mask.py","file_url":"https://github.com/AIS-Clemson/FLAME_SD/blob/HEAD/Flame_diffuser_binary_mask.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":true,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"eeeb4d8815f3913c"}},{"code_sha256_prefix":"8241c0562bc710fd","entry":"chunk","repo":"AIS-Clemson/FLAME_SD","repo_kind":"official","path":"Flame_diffuser_binary_mask.py","file_url":"https://github.com/AIS-Clemson/FLAME_SD/blob/HEAD/Flame_diffuser_binary_mask.py","link_basis":"harvester_set","language":"python","status":"ran_draft_wrong","verification_level":1,"contract_check":"OUTPUT_MISDECLARED","metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"8241c0562bc710fd"}},{"code_sha256_prefix":"834bbad6b027b869","entry":"custom_to_np","repo":"AIS-Clemson/FLAME_SD","repo_kind":"official","path":"sample_diffusion.py","file_url":"https://github.com/AIS-Clemson/FLAME_SD/blob/HEAD/sample_diffusion.py","link_basis":"harvester_set","language":"python","status":"ran_draft_wrong","verification_level":1,"contract_check":"MISDECLARED","metamorphic_tier":"invariant","behaviour_fingerprint":true,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"834bbad6b027b869"}},{"code_sha256_prefix":"73fba7367428c8a5","entry":"custom_to_pil","repo":"AIS-Clemson/FLAME_SD","repo_kind":"official","path":"sample_diffusion.py","file_url":"https://github.com/AIS-Clemson/FLAME_SD/blob/HEAD/sample_diffusion.py","link_basis":"harvester_set","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":"73fba7367428c8a5"}},{"code_sha256_prefix":"c9a66d6f5a691798","entry":"find_project_dependencies","repo":"AIS-Clemson/FLAME_SD","repo_kind":"official","path":"requirements.py","file_url":"https://github.com/AIS-Clemson/FLAME_SD/blob/HEAD/requirements.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"c9a66d6f5a691798"}},{"code_sha256_prefix":"5838af519a069ef2","entry":"get_installed_versions","repo":"AIS-Clemson/FLAME_SD","repo_kind":"official","path":"requirements.py","file_url":"https://github.com/AIS-Clemson/FLAME_SD/blob/HEAD/requirements.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"5838af519a069ef2"}},{"code_sha256_prefix":"49fe61cbaf9fc69e","entry":"grayscale_to_spectrum","repo":"AIS-Clemson/FLAME_SD","repo_kind":"official","path":"_old/dataset/CLIP_FLAME.py","file_url":"https://github.com/AIS-Clemson/FLAME_SD/blob/HEAD/_old/dataset/CLIP_FLAME.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"49fe61cbaf9fc69e"}},{"code_sha256_prefix":"968eb3375c1d67e1","entry":"logs2pil","repo":"AIS-Clemson/FLAME_SD","repo_kind":"official","path":"sample_diffusion.py","file_url":"https://github.com/AIS-Clemson/FLAME_SD/blob/HEAD/sample_diffusion.py","link_basis":"harvester_set","language":"python","status":"ran_draft_wrong","verification_level":1,"contract_check":"OUTPUT_MISDECLARED","metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"968eb3375c1d67e1"}},{"code_sha256_prefix":"7629721cb0905b41","entry":"search_ah","repo":"AIS-Clemson/FLAME_SD","repo_kind":"official","path":"train_searcher.py","file_url":"https://github.com/AIS-Clemson/FLAME_SD/blob/HEAD/train_searcher.py","link_basis":"plan_row","language":"python","status":"ran_draft_wrong","verification_level":1,"contract_check":"OUTPUT_MISDECLARED","metamorphic_tier":"deterministic","behaviour_fingerprint":false,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"7629721cb0905b41"}},{"code_sha256_prefix":"872823964fff640d","entry":"search_bruteforce","repo":"AIS-Clemson/FLAME_SD","repo_kind":"official","path":"train_searcher.py","file_url":"https://github.com/AIS-Clemson/FLAME_SD/blob/HEAD/train_searcher.py","link_basis":"plan_row","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":"deterministic","behaviour_fingerprint":false,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"872823964fff640d"}},{"code_sha256_prefix":"eda17c2c32cd3500","entry":"search_partioned_ah","repo":"AIS-Clemson/FLAME_SD","repo_kind":"official","path":"train_searcher.py","file_url":"https://github.com/AIS-Clemson/FLAME_SD/blob/HEAD/train_searcher.py","link_basis":"plan_row","language":"python","status":"ran_draft_wrong","verification_level":1,"contract_check":"OUTPUT_MISDECLARED","metamorphic_tier":"deterministic","behaviour_fingerprint":false,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"eda17c2c32cd3500"}},{"code_sha256_prefix":"cb8ff3d5feb30f8f","entry":"Flame_ratio","repo":"AIS-Clemson/FLAME_SD","repo_kind":"official","path":"_old/dataset/CLIP_FLAME.py","file_url":"https://github.com/AIS-Clemson/FLAME_SD/blob/HEAD/_old/dataset/CLIP_FLAME.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":"cb8ff3d5feb30f8f"}},{"code_sha256_prefix":"4533e43e06a12dc5","entry":"download_models","repo":"AIS-Clemson/FLAME_SD","repo_kind":"official","path":"notebook_helpers.py","file_url":"https://github.com/AIS-Clemson/FLAME_SD/blob/HEAD/notebook_helpers.py","link_basis":"harvester_set","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":"4533e43e06a12dc5"}},{"code_sha256_prefix":"f6214d7bfbc2ebf8","entry":"get_inception_features","repo":"AIS-Clemson/FLAME_SD","repo_kind":"official","path":"exp/dataset_eval.py","file_url":"https://github.com/AIS-Clemson/FLAME_SD/blob/HEAD/exp/dataset_eval.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":"f6214d7bfbc2ebf8"}},{"code_sha256_prefix":"47aeec286315d0f5","entry":"normalize_image","repo":"AIS-Clemson/FLAME_SD","repo_kind":"official","path":"Flame_diffuser_binary_mask.py","file_url":"https://github.com/AIS-Clemson/FLAME_SD/blob/HEAD/Flame_diffuser_binary_mask.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":"47aeec286315d0f5"}}]},"arxiv_metadata":null,"syntology_extracted_results":null}