Skip to content

Commit fd65fc0

Browse files
committed
Bug fixed and document modified
1 parent 2b382e1 commit fd65fc0

File tree

4 files changed

+42
-20
lines changed

4 files changed

+42
-20
lines changed

README.md

Lines changed: 40 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -12,33 +12,43 @@
1212

1313
`git clone https://github.com/TwSphinx54/I2RSI.git`
1414

15-
2. [下载](##权重下载)并将用模型权重数据替换`./weights`文件夹
15+
2. [下载](##权重下载)并将用模型权重数据替换`.\weights`文件夹
1616

17-
3. 解压PaddleRS工具包
17+
3. 确保计算机上拥有Anaconda虚拟环境,运行`@deploy.bat`自动部署运行环境
1818

19-
` unzip ./PaddleRS.zip`
19+
4. **全自动运行**
2020

21-
4. 安装百度PaddlePaddle深度学习框架,参考[官方文档](https://www.paddlepaddle.org.cn/)。CPU版本的安装命令
21+
1. 部署完成后运行`@run.bat`,等待一段时间后刷新网页
2222

23-
`python -m pip install paddlepaddle==2.3.0 -i https://mirror.baidu.com/pypi/simple`
23+
2. 欲使用桌面版应用,运行`@desktop.bat`
2424

25-
5. 安装PaddleRS
25+
5. **手动运行**
2626

27-
`pip install -e ./PaddleRS`
27+
1. ```bash
28+
conda activate I2RSI
29+
python .\process.py
30+
```
2831

29-
6. 安装Flask
32+
服务启动后,通过浏览器访问`http://127.0.0.1:8080/welcome`即可开始使用应用
3033

31-
`pip install flask`
34+
2. ```bash
35+
conda activate I2RSI
36+
python .\webstart.py
37+
```
3238

33-
7. 运行应用
39+
桌面端启动
3440

35-
`python process.py`
3641

37-
8. 访问`http://127.0.0.1:8080/welcome`即可开始使用应用
42+
## 应用卸载
43+
44+
```bash
45+
rmdir /s /q .\I2RSI
46+
conda remove -n I2RSI --all --y
47+
```
3848

3949
## 使用教程
4050

41-
**I2RSI系统**包含了四大基础功能以及三大创新特色功能
51+
**I2RSI系统**包含了四大基础功能以及四大创新特色功能
4252

4353
> 基础功能:
4454
>
@@ -47,8 +57,8 @@
4757
>
4858
> 创新特色:
4959
>
50-
> | 道路提取半自动补全 | 在线卫星影像选择 | 遥感影像批处理 |
51-
> | :----------------: | :--------------: | :------------: |
60+
> | 道路提取半自动补全 | 在线卫星影像选择 | 遥感影像批处理 | 自定义模型管理 |
61+
> | :----------------: | :--------------: | :------------: | :------------: |
5262

5363
本项目提供了测试demo数据集,请使用`unzip ./data_demo.zip`获取测试数据
5464

@@ -85,7 +95,7 @@
8595

8696
<img src='./imgs/OC.jpg'>
8797

88-
6. 此外还有三大创新功能欢迎体验
98+
6. 此外还有四大创新功能欢迎体验
8999
* **道路提取半自动补全**:在目标提取的详细展示界面,点击开始补全,可以对框选区域内提取的道路目标进行半自动补全,在左侧放大图中可以看到补全后的效果图,点击确定按钮则可以应用当前的补全;
90100

91101
<img src='./imgs/complete.jpg'>
@@ -97,18 +107,30 @@
97107
* **遥感影像批处理**:在上传图片时,可以点击批处理按钮,进入批处理模式,选择多张影像,选择后可以预览并删除不需要的影像,然后点击处理按钮开始对选择的图像进行批量解译。解译完成后进去解译结果界面,鼠标悬浮可以查看单张影像的解译结果参数,点击可以对该结果进行交互,交互效果与单张影像解译时相同。
98108

99109
<img src='./imgs/multi.jpg'>
110+
111+
* **自定义模型管理**:在模型选择界面,可以看到右方的模型管理面板,选中模型可以查看其相应的模型描述,选中想要的模型,点击开始处理可以使用该模型进行图像解译。
112+
113+
<img src='./imgs/management.jpg'>
114+
115+
点击添加模型按钮,弹出上传模型窗口,通过该窗口可以自定义上传模型的名称及其描述,系统会自动判断上传文件内容是否可用,且考虑到了XSS攻击的应对。
116+
117+
<img src='./imgs/add.jpg'>
118+
119+
点击删除模型按钮,会弹出确认窗口,二次确认是否删除当前选中的模型。
120+
121+
<img src='./imgs/del.jpg'>
100122

101123
## 权重下载
102124

103-
[百度网盘](https://pan.baidu.com/s/1n-OyRpdndSzMS_XGpztVCw) 提取码:`IRSI`
125+
[百度网盘](https://pan.baidu.com/s/1ZocI8F_ILV7O_-WoajZ_7Q) 提取码:`IRSI`
104126

105127
如果链接失效请联系邮箱:`[email protected]`
106128

107129
## 说明
108130

109131
本项目使用的模型均基于[百度PaddlePaddle深度学习框架](https://www.paddlepaddle.org.cn/),使用百度深度学习平台[AI Studio](https://aistudio.baidu.com/aistudio/index)进行训练。
110132

111-
本项目使用的变化检测模型详细训练方案请见[【十一届软件杯】双时相遥感图像建筑物变化检测](https://aistudio.baidu.com/aistudio/projectdetail/4296935)
133+
本项目使用的变化检测模型详细训练方案获得百度AI Studio**精品**项目认证,请见[【十一届软件杯】双时相遥感图像建筑物变化检测](https://aistudio.baidu.com/aistudio/projectdetail/4296935)
112134

113135
本项目是第十一届“中国软件杯”大学生软件设计大赛比赛成果,比赛详情请见[比赛官网](http://cnsoftbei.com/)
114136

process.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -405,4 +405,4 @@ def main_process():
405405
if __name__ == '__main__':
406406
if not os.path.exists(UPLOAD_FOLDER):
407407
os.mkdir(UPLOAD_FOLDER)
408-
app.run(port=8080, debug=True)
408+
app.run(port=8080)

webpage/main.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@
3232
<path d="M9 11l-4 4l4 4m-4 -4h11a4 4 0 0 0 0 -8h-1"></path>
3333
</svg>
3434
</div>
35-
<a id="report_dl" href="./res/report.txt" download="report.txt" title="下载报告">
35+
<a id="report_dl" href="./res/report.md" download="report.md" title="下载报告">
3636
<svg width="80" height="80" viewBox="-3.5 -3.5 50 50" stroke-width="2" stroke="currentColor" fill="none"
3737
stroke-linecap="round" stroke-linejoin="round">
3838
<path stroke="none" d="M0 0h24v24H0z" fill="none"></path>

weights/weights.db

0 Bytes
Binary file not shown.

0 commit comments

Comments
 (0)