CLASS torch.nn.MSELoss(size_average=None, reduce=None, reduction='mean') Creates a criterion that measures the mean squared error (squared L2 norm) be ...
分类:
其他好文 时间:
2020-06-07 14:51:25
阅读次数:
112
python的logging模块 一、日志的级别 日志级别 含义 debug 详细信息,典型地调试问题时会感兴趣。 info 证明事情按预期工作。 warning 表明发生了一些意外,或者不久的将来会发生问题(如‘磁盘满了’)。软件还是在正常工作。 error 由于更严重的问题,软件已不能执行一些功 ...
分类:
编程语言 时间:
2020-06-07 14:46:08
阅读次数:
67
[root@localhost ~]# cd msmtp-1.4.20[root@localhost msmtp-1.4.20]# ./configurechecking build system type... i686-pc-linux-gnuchecking host system type. ...
分类:
其他好文 时间:
2020-06-07 14:37:42
阅读次数:
74
数据流重导向 1、standard output与standard error output 标准输入 (stdin): 代码为0, 使用<或者<< 标准输出 (stdout) 代码为 1 ,使用 > 或 >> 标准错误输出 (stderr ) 代码为 2 ,使用 2> 或 2>> ; 1 # 例子 ...
分类:
其他好文 时间:
2020-06-07 14:28:45
阅读次数:
80
在postgres中,当max_connect设置过大,启动的时候会报错: FATAL: could not create semaphores: No space left on device 创建semaphores时空间参数不够,查询官网,有这么一段解释: HINT: This error d ...
分类:
数据库 时间:
2020-06-07 13:07:43
阅读次数:
98
异常 Caused by: org.apache.ibatis.type.TypeException: Could not resolve type alias 'BIGINT'. Cause: java.lang.ClassNotFoundException: Cannot find class: ...
分类:
Web程序 时间:
2020-06-07 12:57:25
阅读次数:
86
fatal: No url found for submodule path 'design' in .gitmodules 如图,.gitmodules中已经没有design的路径了 原因可能是本地存在缓存,清理一下缓存就好了 git rm --cached [路径名] 比如此处我是:git rm ...
分类:
其他好文 时间:
2020-06-07 12:47:30
阅读次数:
111
一、环境搭建 靶场下载地址:http://vulnstack.qiyuanxuetang.net/vuln/detail/3/ DC IP:10.10.10.10OS:Windows 2012应用:AD域 WEB(初始的状态默认密码无法登录,切换用户 de1ay/1qaz@WSX 登录进去) IP1 ...
分类:
其他好文 时间:
2020-06-07 12:41:58
阅读次数:
392
查看pod日志: # kubectl logs postgresql-8456f5d788-dw7bp -n kube-ops ...
分类:
数据库 时间:
2020-06-07 12:38:36
阅读次数:
227
异常信息: org.hibernate.engine.jdbc.spi.SqlExceptionHelper - SQL Error: 0, SQLState: S1009 org.hibernate.engine.jdbc.spi.SqlExceptionHelper - Invalid valu ...
分类:
编程语言 时间:
2020-06-07 12:34:22
阅读次数:
68