[feature]后端实现自定义模型训练 & [fix]前端去除冗余代码,规范样式命名#30
Merged
Bobholamovic merged 20 commits intoPaddleCV-SIG:developfrom Oct 10, 2022
yibaikuai:fix/code_simplify
Merged
[feature]后端实现自定义模型训练 & [fix]前端去除冗余代码,规范样式命名#30Bobholamovic merged 20 commits intoPaddleCV-SIG:developfrom yibaikuai:fix/code_simplify
Bobholamovic merged 20 commits intoPaddleCV-SIG:developfrom
yibaikuai:fix/code_simplify
Conversation
Member
yibaikuai
commented
Oct 9, 2022
- 前端去除冗余代码,规范样式命名
- 修复在线地图先使用目标检测后使用场景分类报错的bug
- 前端复用工具类函数
- 后端实现自定义权重训练
* 新增场景分类功能 * 1.修复绘制目标框不准确的bug 2.修复图像偏色问题 3.将目标框颜色改为更显眼的紫色 * 修改滑窗步长,加快推理速度 * 1.修改场景分类读取图像的接口,改用paddelrs中的decode_image 2.修改地物分类结果图像的颜色显示 3.去除地物分类任务中的冗余代码 * 删除地物分类中冗余代码 * 1.修改错误函数名(批量处理) 2.删除渲染函数中冗余代码 3.改用cv2统一对图像进行操作处理,去除skimage的引用 * 1.变化检测滑窗推理部分改为PaddleRS原生的slider_predict()方法 2.滑窗尺寸和步长改为可调的 3.修改目标检测代码中的不恰当注释 4.修改错误函数名(上次没看到,梅开二度) * 新增图像修复功能 * lint
修复type为空的bug
修复type为空的bug
# Conflicts: # frontend/src/components/AsideVue.vue # frontend/src/utils/getUploadImg.js # frontend/src/utils/gosomewhere.js # frontend/src/views/Home.vue # frontend/src/views/history/History.vue # frontend/src/views/mainfun/Classify.vue # frontend/src/views/mainfun/DetectChanges.vue # frontend/src/views/mainfun/RestoreImgs.vue
[Feature]后端实现自定义权重训练
Python语言中,函数参数的默认值不建议用可变对象
jscslld
approved these changes
Oct 10, 2022
| const fileSuffix = file.name.substring(file.name.lastIndexOf(".") + 1) | ||
| const whiteList = ['jpg', 'jpeg', 'png', 'JPG', 'JPEG'] | ||
| if (whiteList.indexOf(fileSuffix) === -1) { | ||
| this.$message.error("上传只能是 jpg,jpeg,png,JPG,JPEG格式,请重新上传"); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.