当前位置:网站首页>paddle 35 paddledetection保存训练过程中的log信息
paddle 35 paddledetection保存训练过程中的log信息
2022-08-10 20:31:00 【万里鹏程转瞬至】
在paddledetection训练过程中可以进行loss,map的可视化预览,但是这依赖于VisualDL工具,且在训练结束后无法再度查看这些信息;此外在aistudio的AI Studio 经典版中,没有提供数据可视化的接口,无法查看loss,map等训练过程信息。为此,博主对paddledetection源码进行分析,最终在特定位置上添加5行代码,轻松实现的训练与测试过程中信息的保存。
1、字符串分析
为了找到控制输出的指定代码,博主对paddledetection训练过程输出的特定字符串进行分析发现ppdet.engine是一个具有特殊意义的字符串,于是在github在其源码中进行检索该字符串。通过检索,一下子就发现了,控制log信息输出的应该就是setup_logger函数。
2、setup_logger函数分析
根据上面的信息,定位到setup_logger函数的源码中,发现其是具备将控制台输出的信息保存到文本中的,也就是参数output所控制的路径。但是,博主在github上检索对setup_logger函数的调用,发现paddledetection任何地方中调用setup_logger函数只会传入一个参数(没有给output传递值),因此log信息无法保存
边栏推荐
- Transferrin-modified osthole long-circulating liposomes/PEG-PLGA nanoparticles loaded with notoginsenoside R1 ([email prot
- 苹果字体查找
- 双 TL431 级联振荡器
- .NET现代应用的产品设计 - DDD实践
- Apache DolphinScheduler 3.0.0 正式版发布!
- mysql性能监控与执行计划
- 机器学习模型验证:被低估的重要一环
- QSslSocket has not been declared
- Future-oriented IT infrastructure management architecture - Unified IaaS
- LeetCode questions 1-10
猜你喜欢
C语言系列——猜名次、猜凶手、打印杨辉三角
The most complete GIS related software in history (CAD, FME, ArcGIS, ArcGISPro)
UE4 - 河流流体插件Fluid Flux
【go】依赖注入
【语义分割】2015-UNet MICCAI
Ransom Letter Questions and Answers
A fullGC problem troubleshooting caused by groovy
Date picker component (restrict year to set only displayed months)
知识图谱Knowledge Graph
XML小讲
随机推荐
leetcode 547.省份数量 并查集
二级指针的简单理解
C 语言 时间函数使用技巧(汇总)
Future-oriented IT infrastructure management architecture - Unified IaaS
洛谷 P1629 邮递员送信 (三种最短路)
实施MES管理系统前,这三个问题要考虑好
Common functions of Auto.js to find pictures and colors
TortoiseSVN小乌龟的使用
Pt/CeO2 monatomic nanoparticles enzyme | H - rGO - Pt @ Pd NPs enzyme | carbon nanotube load platinum nanoparticles peptide modified nano enzyme | leukemia antagonism FeOPtPEG composite nano enzyme
【二叉树】二叉搜索树的后序遍历序列
线性结构----链表
2021年中国工业互联网安全大赛(福建省选拔赛) 暨首届福建省工业互联网创新大赛
C 语言 时间函数使用技巧(汇总)
npm warn config global `--global`, `--local` are deprecated. use `--location=global` instead.
(10) Sequence and deserialization of image data
2021DASCTF实战精英夏令营暨DASCTF July X CBCTF 4th
双 TL431 级联振荡器
Detailed explanation and use of each module of ansible
echart 特例-多分组X轴
PostgreSQL 介绍