升级了 AdroidStudio到3.6.3,总是报找不到 gradle3.6.3 修改工程的 build.gradle,加入 google() 再同步就可以了 ext { var = '3.6.3' }// Top-level build file where you can add config ...
分类:
移动开发 时间:
2020-07-04 12:01:04
阅读次数:
132
#Linux本地提权 (CVE-2019-13272) ##一、漏洞简介 kernel 5.1.17之前版本中存在安全漏洞,该漏洞源于kernel/ptrace.c文件的ptrace_link没有正确处理对凭证的记录。攻击者可利用该漏洞获取root访问权限。 ##二、漏洞影响 影响内核版本 Linu ...
分类:
系统相关 时间:
2020-07-04 00:56:50
阅读次数:
137
注:本文基于MySQL高可用之MHA配置VIPvip配置可以采用两种方式:1、通过keepalived的方式管理虚拟ip的浮动;2、通过脚本方式启动虚拟ip的方式(即不需要keepalived或者heartbeat类似的软件)1、keepalived方式管理虚拟ip#在编译安装Keepalived之前,必须先安装内核开发包kernel-devel以及openssl-devel、popt-devel
分类:
数据库 时间:
2020-07-03 23:24:01
阅读次数:
55
[TOC]## 1. librosa`pip install librosa`但是,在Xubuntu 20.04环境上 `import librosa` 报错:```ModuleNotFoundError: No module named 'numba.decorators'```解决:使用最新的n... ...
分类:
编程语言 时间:
2020-07-03 21:34:53
阅读次数:
142
Koa 搭建服务 新建一个文件夹 koa_server,进入后 cnpm i -S koa 会生成 node_modules 依赖包,以及 package.json 创建文件 server.js,并写入 const Koa = require('koa'); const app = new Koa( ...
分类:
数据库 时间:
2020-07-03 19:14:07
阅读次数:
70
torch.nn 实现 模型的定义,网络层的定义,损失函数的定义。 import torch # N is batch size; D_in is input dimension; # H is hidden dimension; D_out is output dimension. N, D_in ...
分类:
其他好文 时间:
2020-07-03 15:53:09
阅读次数:
74
##深度网络模型压缩综述 文献来源:雷杰,高鑫,宋杰,王兴路,宋明黎.深度网络模型压缩综述[J].软件学报,2018,29(02):251-266. 摘要: 深度网络近年来在计算机视觉任务上不断刷新传统模型的性能,已逐渐成为研究热点.深度模型尽管性能强大,然而由于参数数量庞大、存储和计算代价高,依然 ...
分类:
其他好文 时间:
2020-07-03 12:10:19
阅读次数:
81
在 Docker 里面无论如何也无法产生 Core Dump 文件,这是因为系统在产生 Core Dump 文件的时候是根据 /proc/sys/kernel/core_pattern 的设定。而默认的设定是 |/usr/share/apport/apport %p %s %c %P,也就是用管道传 ...
分类:
其他好文 时间:
2020-07-03 10:51:48
阅读次数:
81
使用安装版的windows重装windows时会改写mbr,造成grub丢失,可以用grub4dos引导进入ubuntu后修复grub或用livecd启动后修复grub。 1、用grub4dos修复ubuntu 先下载最新版的grub4dos,下载地址http://sourceforge.net/p ...
分类:
其他好文 时间:
2020-07-02 00:23:46
阅读次数:
68
安装了react-redux后,npm start报下面错误 Failed to compile. ./node_modules/_react-redux@7.2.0@react-redux/es/connect/mapDispatchToProps.js Module not found: Can ...
分类:
其他好文 时间:
2020-07-01 14:19:25
阅读次数:
78