Gluon版本微调见这里。基于NDarray,类似于Pytorch动态图。而module版本类似于TF,基于Symbol,用的是静态graph。一般静态图用于快速调试见效果,而静态图效率高,速度快,实际中应更多使用。 本文基于module和symbol。利用imagenet训好的模型来微调calte ...
分类:
其他好文 时间:
2020-06-07 13:03:18
阅读次数:
67
结构图 graph LR; A(libedu.h) --> B(libedu_typedef.h); A --> C(libedu_support.h); A --> D(libedu_util.h); A --> E(libedu_load.h); A --> F(libedu_analyze.h ...
分类:
系统相关 时间:
2020-06-06 21:59:45
阅读次数:
78
zuul: 用户访问zuul回首先进入zuul的什么东西里面? 用户访问SpringMvc会先进那里?DispathchServlet 在zuul里面也有一个请求转发器,ZuulServlet 源码: ZuulServlet继承HttpServlet public class ZuulServlet ...
分类:
其他好文 时间:
2020-06-06 21:33:04
阅读次数:
54
错误:Failed to execute goal org.apache.maven.plugins:maven-war-plugin:2.2:war (default-war) on project we 解决: maven默认去webapp\WEB-INF目录下找web.xml 检查是否是将we ...
分类:
其他好文 时间:
2020-06-06 15:36:02
阅读次数:
59
Configuration 注:建议提前备份所有修改内容,可能会导致无法开机。 我的测试环境: server: windows 10 + windbg client: windows 7 Server Server代表被调式机,修改vmx文件,查找并删除所有serial项,添加以下串口配置: ser ...
分类:
系统相关 时间:
2020-06-06 14:29:01
阅读次数:
94
cat:连接文件并显示 -n:显示行号 -E:显示换行符 tac:连接文件并从尾部开始显示 more:分屏显示 less:和man命令一样用法 head -n:显示前n行 tail -n:显示后n行 -f:查看文件尾部不退出,等待显示后续追加至此文件的新内容 cut:显示文本中的某些字段 格式:cu ...
分类:
系统相关 时间:
2020-06-06 13:04:46
阅读次数:
100
实线代表方法调用,虚线代表事件通知。 1.MVC graph LR View .->Controller graph LR Controller -->Model graph LR Model-->|修改| View View 事件触发到 Controller Controller 完成业务逻辑后, ...
分类:
Web程序 时间:
2020-06-06 11:21:56
阅读次数:
65
1 1创建项目 first_pro 2 2创建app app01 3 做一个登录页面的web项目,浏览器输入一个网址得到一个web页面 4 5 用户: http:127.0.0.1:8001/login/ 6 7 1urls.py 8 from django.conf.urls import url ...
分类:
Web程序 时间:
2020-06-06 00:47:27
阅读次数:
72
from docx import Document word=Document() word.add_heading('一级标题',level=1) #增加一级标题 p1=word.add_paragraph('这是第一段') p2=word.add_paragraph('这是第二段') p3=wo ...
分类:
其他好文 时间:
2020-06-05 23:16:52
阅读次数:
99
from docx import Document word=Document(',,,,,,.docx') paragraphs=word.paragraphs #返回一个列表,有多少段就有多少个值 for i in paragraphs: print(i.text) #打印每段内容 a=para ...
分类:
其他好文 时间:
2020-06-05 23:16:09
阅读次数:
95