unit Unit1; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, Grids, DBGrids, DB, ADODB, StdCtrls; ty ...
分类:
其他好文 时间:
2020-01-09 10:17:47
阅读次数:
94
运行torch函数 torch.nn.functional.cross_entropy(pre, label, ignore_index=0)时报错,pre的shape为[ batch_size , n] label 的shape为[ batch_size]. 其中batch_size是batch的 ...
分类:
其他好文 时间:
2020-01-08 23:16:38
阅读次数:
248
<!--这里只是build部分--><build><!--制定配置文件的位置--><resources><resource><targetPath>${project.build.directory}/classes</targetPath><directory>src/main/resources&l
分类:
编程语言 时间:
2020-01-08 16:06:05
阅读次数:
104
正准备打包上传到测试环境,本想先clean下,没想到报了个这个错,意思大概是无法删除target下的某个文件,没有权限(一脸懵逼); 后来百度发现可能是因为我之前启动了tomcat,未关闭,然后关闭了进程,发现还是没用; 单单重启Windows资源管理器后,发现 并没用卵用,后来我先重启了idea, ...
分类:
编程语言 时间:
2020-01-08 12:29:24
阅读次数:
168
1.yolo:You Only Look Once: Unified, Real-Time Object Detection 论文地址:https://arxiv.org/pdf/1506.02640.pdf 处理流程:输入图片需要缩放到448*448,最后生成一个维度为7*7*30的tensor。 ...
分类:
其他好文 时间:
2020-01-08 00:45:21
阅读次数:
158
第一步,创建maven项目。 项目目录大致这样,如果不是这样手动改成这样。 其实这样,直接跑tomcat,就可以起了。 看下输出目录。 不用管,自动生成的 建议用这个目录搞。规范 证明是web项目 强烈建议这样的格式。 启动项目 一启动项目,就在 target/classes 目录编译文件。 gen ...
分类:
Web程序 时间:
2020-01-08 00:11:27
阅读次数:
106
//读 unit Unit1; interface uses Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics, Vcl.Controls, Vcl.Form ...
分类:
其他好文 时间:
2020-01-07 16:29:02
阅读次数:
92
unit Unit1; interface uses Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics, Vcl.Controls, Vcl.Forms, V ...
分类:
编程语言 时间:
2020-01-07 16:07:31
阅读次数:
84
//服务器端unit Unit1; interface uses Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics, Vcl.Controls, Vcl.Fo ...
分类:
Web程序 时间:
2020-01-07 16:06:24
阅读次数:
105
1.显示当前数据库中的表 show tables; 2.创建表的操作 create table classes( id int unsigned primary key auto_increment, name varchar(10) not null ); 大致的结构: create table ...
分类:
数据库 时间:
2020-01-07 15:58:32
阅读次数:
137