前往小程序,Get更优阅读体验!
立即前往
首页
学习
活动
专区
工具
TVP
发布
社区首页 >专栏 >论文复现仓库说明(附文章目录和使用说明)

论文复现仓库说明(附文章目录和使用说明)

作者头像
renhai
发布2023-11-24 17:13:14
1690
发布2023-11-24 17:13:14
举报

《通过深度学习了解建筑年代和风格》论文复现代码已上传到Github[1]Gitee[2],但Gitee仅用于同步,目前文章和仓库还在更新中,请访问对应的主页查看。

一、文章目录 📌 收录进微信公众号专栏:【SCI论文复现】《通过深度学习了解建筑年代和风格》

状态

文章标题

博客

微信文章

🟠

Part1.论文解读:如何利用最近很火的深度学习来识别建筑年代和风格?

博客🔗[5]

微信🔗

🟠

Part2.下载和预处理建筑足迹数据集

博客🔗[6]

微信🔗

🟠

Part3-1.获取高质量的阿姆斯特丹建筑立面图像

博客🔗[7]

微信🔗

🟠

Part3-2.获取高质量的阿姆斯特丹建筑立面图像

博客🔗[8]

微信🔗

🟠

Part4-1.对建筑年代进行深度学习训练和预测

博客🔗[9]

微信🔗

🟠

Part4-2.对建筑年代预测结果进行展示和分析

博客🔗[10]

😑

练习:Part5.对建筑风格进行深度学习训练和预测以及分析

博客🔗[11]

二、使用说明

fork 本仓库,然后克隆到本地或者用云端编辑器打开,最后安装环境。

三、环境配置说明

  1. 直接安装Python、或者使用Anaconda、Pycharm、VScode安装。
  2. pytorch推荐单独安装,详见PyTorch环境配置[12]
  3. 其余依赖使用pip install requirements.txt

四、部分成果

⬇️阿姆斯特丹的建筑足迹

⬇️阿姆斯特丹的道路线数据Amsterdam_road.edges

⬇️originl image和pred_color的对比

⬇️模型预测可视化结果


⬇️ 表 4 混淆矩阵(百分比)


⬇️ 图 10 CAM去识别不同年代模型的关注点

左侧小图是将CAM 叠加在原始图像上。图像的红色区域主要覆盖一楼和二楼之间的窗户或门。右侧小图:根据 CAM 裁剪的图像显示了窗户的演变。早期的窗户通常框架较宽,装饰较多,而且较窄。最近的窗户样式以方形和水平形状为特点,框架更薄,装饰更少,深度更小。

⬇️ 图7 阿姆斯特丹市中心建筑年代预测结果空间分布

建筑年代预测结果的空间分布 蓝色表示旧建筑被预测为新建筑,而粉色表示模型将新建筑预测为旧建筑。灰色表示预测正确。

⬇️图8 :建筑年代预测结果在150米网格范围的准确度

五、仓库主要代码文件的结构

代码语言:javascript
复制
├── 1-论文阅读和解析
│   ├── Understanding architecture age and style through deep learning.pdf
│   └── 论文双语版:通过深度学习了解建筑时代和风格 - ScienceDirect.html
├── 2-获取数据集
│   ├── notebook
│   │   ├── 2.1-BAG建筑足迹数据预处理.ipynb
│   │   ├── 2.2-osmnx获取道路数据.ipynb
│   │   └── 2.3-通过streetview获取含有谷歌街景地图的网页url.ipynb
│   └── script
│       ├── 2.1-使用geopandas寻找街景点.py
│       └── 2.2-通过streetview获取含有url的csv文件.py
├── 3-selenium获取街景并进一步筛选街景图像
│   ├── ckpt
│   │   └── ade20k-resnet50dilated-ppm_deepsup
│   ├── notebook
│   │   ├── 3.1-2-删除损坏的文件.ipynb
│   │   ├── 3.1-selenium获取街景截图.ipynb
│   │   └── 3.2-语义分割预筛选街景照片..ipynb
│   ├── script
│   │   ├── 3.1-selenium多线程获取街景.py
│   │   └── 3.2-语义分割筛选街景完整代码.py
├── 4.1-对建筑年代进行深度学习训练和预测
│   ├── notebook
│   │   ├── 4.1.1-建筑年代的模型选择和训练.ipynb
│   │   ├── 4.1.2-对训练集进行预测并保存结果.ipynb
│   │   ├── 4.1.3-建筑年代模型评价.ipynb
│   │   ├── 4.1.4-制作建筑年代预测结果的空间分布图.ipynb
│   │   ├── 4.1.5-使用ArcGIS-Pro和Arcy制作建筑年代预测结果在150米精度范围的准确度.ipynb
│   │   ├── 4.1.6-计算空间自相关(莫兰指数).ipynb
│   │   ├── 4.1.7-探讨建筑年龄和建筑风格的关系.ipynb
│   ├── script
│   │   ├── TS.py
│   │   ├── engine.py
│   │   └── train.py
├── 4.2-对建筑风格进行深度学习训练和预测
│   ├── notebook
│   │   ├── 4.2.2-建筑风格模型评价.ipynb
├── 5-ArcgisPro工程
│   ├── 1.使用ArcPy简化和拆分建筑.py
│   ├── 2.使用ArcPy寻找街景点.py
├── README.md
├── my_tools
│   ├── engine.py
│   ├── helper_functions.py
│   ├── validate_image.py
│   ├── 合并多个csv文件.py
│   └── 缩小街景图像.ipynb
└── requirements.txt

引用信息 (Cite info)

Maoran Sun, Fan Zhang, Fabio Duarte, Carlo Ratti,

Understanding architecture age and style through deep learning,

Cities, Volume 128, 2022, 103787, ISSN 0264-2751,

https://doi.org/10.1016/j.cities.2022.103787.(https://www.sciencedirect.com/science/article/pii/S0264275122002268)Abstract: Architectural styles and their evolution are central to architecture history. However, traditional approaches to understand styles and their evolution require domain expertise, fieldwork and extensive manual processes. Recent research in deep learning and computer vision has highlighted the great potential in analyzing urban environments from images. In this paper, we propose a deep learning-based framework for understanding architectural styles and age epochs by deciphering building façades based on street-level imagery. The framework is composed of two stages: Deep ‘Learning’ the architecture and Deep ‘Interpreting’ the architecture age epochs and styles. In Deep ‘Learning’, a deep convolutional neural network (DCNN) model is designed to automatically learn about the age characteristics of building façades from street view images. In Deep ‘Interpreting’ stage, three components are proposed to understand the different perspectives regarding building ages and styles. In the experiment, a building age epoch dataset is compiled for the city of Amsterdam and Stockholm to understand the evolution of architectural element styles and the relationship between building ages and styles spatially and temporally. This research illustrates how publicly available data and deep learning could be used to trace the evolution of architectural styles in the spatial-temporal domain. Keywords: Building age; Architectural style; Street view imagery; Built environment; Deep learning

参考资料

[1]

Github: https://github.com/renhai-lab/Paper_Replication--Understanding-architecture-age-and-style-through-deep-learning

[2]

Gitee: https://gitee.com/renhai-lab/Paper_Replication--Understanding-architecture-age-and-style-through-deep-learning

[3]

我的博客: https://cdn.renhai-lab.tech

[4]

微信公众号(renhai-lab): assets/qrcode_for_gh_c0d228771707_258.jpg

[5]

博客🔗: https://cdn.renhai-lab.tech/archives/Understanding_architecture_age_and_style_through_deep_learning_part1

[6]

博客🔗: https://cdn.renhai-lab.tech/archives/Understanding_architecture_age_and_style_through_deep_learning_part2

[7]

博客🔗: https://cdn.renhai-lab.tech/archives/Understanding_architecture_age_and_style_through_deep_learning_part3-1

[8]

博客🔗: https://cdn.renhai-lab.tech/archives/Understanding_architecture_age_and_style_through_deep_learning_part3-2

[9]

博客🔗: https://cdn.renhai-lab.tech/archives/Understanding_architecture_age_and_style_through_deep_learning_part4-1

[10]

博客🔗: https://cdn.renhai-lab.tech/archives/Understanding_architecture_age_and_style_through_deep_learning_part4-2

[11]

博客🔗: https://cdn.renhai-lab.tech/archives/Understanding_architecture_age_and_style_through_deep_learning_part5-1

[12]

PyTorch环境配置: https://cdn.renhai-lab.tech/archives/DL-01-pytorch#2.PyTorch%E7%8E%AF%E5%A2%83%E9%85%8D%E7%BD%AE

[13]

我的博客: https://cdn.renhai-lab.tech

[14]

阅读原文: https://cdn.renhai-lab.tech/archives/Paper_Replication_No.1_TOC

[15]

我的博客: https://cdn.renhai-lab.tech/

[16]

我的GITHUB: https://github.com/renhai-lab

[17]

我的GITEE: https://gitee.com/renhai-lab

[18]

我的知乎: https://www.zhihu.com/people/Ing_ideas

本文参与 腾讯云自媒体分享计划,分享自微信公众号。
原始发表:2023-11-02,如有侵权请联系 cloudcommunity@tencent.com 删除

本文分享自 renhailab 微信公众号,前往查看

如有侵权,请联系 cloudcommunity@tencent.com 删除。

本文参与 腾讯云自媒体分享计划  ,欢迎热爱写作的你一起参与!

评论
登录后参与评论
0 条评论
热度
最新
推荐阅读
目录
  • 一、文章目录 📌 收录进微信公众号专栏:【SCI论文复现】《通过深度学习了解建筑年代和风格》
  • 二、使用说明
  • 三、环境配置说明
  • 四、部分成果
  • 五、仓库主要代码文件的结构
  • 引用信息 (Cite info)
    • 参考资料
    领券
    问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档