1,使用aws dlami 启动一个实例 2,source activate tensorflow_p36 3,下载TensorRT 的 tar 安装文件,参考 https://docs.nvidia.com/deeplearning/sdk/tensorrt-archived/tensorrt-5 ...
分类:
其他好文 时间:
2020-01-12 20:04:40
阅读次数:
1060
Connection 1. Connection概述 SqlConnection 类中提供的常用属性和方法如下表所示: 属性或方法 | 说明 | | SqlConnection() | 无参构造方法 SqlConnection(string connectionstring) | 带参数的构造方法, ...
分类:
Web程序 时间:
2020-01-12 15:29:17
阅读次数:
101
数据库创建“用户表”“角色表”“用户角色关系表” create table roles ( RId int identity, RName varchar(50), Remark varchar(50) ) create table UserRole ( Users_UId int, roles_R ...
分类:
数据库 时间:
2020-01-12 14:59:45
阅读次数:
98
select UId,UName,stuff((select ','+RName from USER_SHOW where a.UId = UId for xml path('')),1,1,'') as RName from USER_SHOW as a group by UId,UName ...
分类:
其他好文 时间:
2020-01-12 11:26:13
阅读次数:
84
参考: https://chenguolin.github.io/2019/03/02/Fluentd-5-Fluentd%E6%8F%92%E4%BB%B6%E5%BC%80%E5%8F%91/ http://denghb.com/wiki/ELKstack-guide-cn/logstash/s ...
分类:
其他好文 时间:
2020-01-11 23:48:34
阅读次数:
102
//新闻点赞public function praise(){ if (!is_login()) { $this->returnBack(2, '请先登录'); } $id = I('post.jour_id'); //新闻id $type = I('post.type'); //点赞状态 $art ...
分类:
其他好文 时间:
2020-01-11 15:01:49
阅读次数:
75
public PageModel Get(int PageIndex = 1, int PageSize = 5, int Pid = 0, int Tid = 0, int Gid = 0) { DynamicParameters sp = new DynamicParameters(); sp. ...
分类:
移动开发 时间:
2020-01-11 09:58:42
阅读次数:
154
from pathlib import Path p1=Path(__file__) #获取当前文件路径 #D:\ss\test1.py p2 = Path.cwd() #获取当前文件的目录 #D:\ss p3=Path.cwd().parent #当前文件目录的父目录 #D:\ p=Path.cw ...
分类:
编程语言 时间:
2020-01-11 09:31:01
阅读次数:
652
一、Mybatis插件机制 mybatis通过插件(Interceptor)对相关目标对象(四大对象)进行动态代理,完成相关数据的变更,从而提供更多功能。 在这里不介绍其内部实现,仅仅介绍MP所提供的相关插件。 二、MP插件介绍 2.1、分页插件 好像MP已经在BaseMapper中提供了相关分页方 ...
分类:
其他好文 时间:
2020-01-09 22:48:47
阅读次数:
177
Error mounting /dev/sda1 at /media/nvidia/Samsung_T5: Command-line `mount -t "exfat" -o "uhelper=udisks2,nodev,nosuid,uid=1001,gid=1001,iocharset=utf8 ...
分类:
系统相关 时间:
2020-01-09 22:48:16
阅读次数:
197