自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(13)
  • 收藏
  • 关注

原创 clion添加msys2的toolchains报错:Environment: not found

在msys2的安装中:pacman -S --needed base-devel mingw-w64-x86_64-toolchain修改为:pacman -S mingw64/mingw-w64-x86_64-tbb原因不明。

2022-02-23 11:18:03 1208 3

原创 配置:ID 为 “failovermethod“ 的 OptionBinding 不存在

centos8配置阿里云的源后,执行sudo dnf update,出现以下log:Invalid configuration value: failovermethod=priority in /etc/yum.repos.d/CentOS-Base.repo; 配置:ID 为 "failovermethod" 的 OptionBinding 不存在解决方案:https://southcat.net/2840.htmlvi /ect/yum.repos.d/CentOS-Base.re.

2021-11-19 00:00:25 8821 3

原创 git多账号config配置

git推送时,报错Logon failed, use ctrl+c to cancel basic credential prompt.的解决方法_prime-NAUR.的博客-优快云博客Git ssh-config配置_u012480379的专栏-优快云博客

2021-11-17 12:59:04 371

翻译 pandas出现pandas.core.base.SpecificationError: nested renamer is not supported的错误

pandas.core.baseNote: Removed{}from.agg().# Import librariesimport pandas as pd# DataFramedf = pd.DataFrame({ 'STNAME': ['Alabama']*5, 'CENSUS2010POP': [54571,1822865,27457,22915,57322]})# Group and aggregatex = (df.set_index('STNAM...

2021-06-16 17:02:01 433

原创 win10远程桌面连接centos8

工具:XRDP, GNOMEcentos8:# 1. 安装GNOME(如安装略过):dnf groupinstall "Server with GUI"# 2. 安装XRDP RDP serverdnf install epel-release # 设置epel源dnf install xrdp# 3. 启动xrdpsystemctl enable xrdp # 开机启动systemctl start xrdp systemctl status xrdp ...

2021-01-03 23:52:09 1589

原创 centos安装指定python版本

centos8安装python3.8.7https://www.linuxidc.com/Linux/2020-02/162296.htm增加环境变量/use/local/bin,https://www.cnblogs.com/whoamme/p/4039998.html修改软链接,ln -s /usr/local/bin/python3.8 /usr/local/bin/pythonln -s /usr/local/bin/pip3.8 /usr/local/bin/pip...

2021-01-03 00:53:48 1281

翻译 python的if,while, for, try, with语句

if语句语法"if" assignment_expression ":" suite("elif" assignment_expression ":" suite)* # *表示可以匹配多个elif["else" ":" suite] # 括号和方括号表示可省略eg:if (1<2): # 判断语句1 print('yes') # 执行语句1elif (1==2): # 判断语句2 p

2020-12-16 00:29:57 1006 1

原创 ​visual studio2019配置OpenCV 4.5.4的方法及cpp加载动态库的方法

新建项目后,添加源文件,打开 视图->其它窗口->属性管理器,在 Debug | x64 上右键 添加新项目属性表,命名为OpenCV_Debug.props,双击该文件,依次按一下操作:1.C/C++ ->常规 -> 附加包含目录 -> C:\Users\...\opencv\build\include2. 链接器 -> 常规 -> 附加库目录 -> C:\Users\...\opencv\build\x64\vc15\lib 链接器 -...

2020-08-28 16:21:05 1446 2

原创 4邻接,8邻接,m邻接:定义理解

定义:白话:4邻域:8邻域:定义像素p:坐标(xp,yp),像素值K;定义像素q:坐标(xq,yq),像素值也为K;(a) 4邻接:像素q位于像素p的4邻域内(也就是p的上下左右4个位置中的一个),且两者像素值相等;(b) 8邻接:像素q位于像素p的8邻域内(也就是p的上下左右和斜对角共8个位置中的一个),且两者像素值相等;(b) m邻接:像素q位于像素...

2019-11-11 16:38:42 11776

原创 使用CrossEntropyLoss损失函数时出现 RuntimeError: multi-target not supported at,以及动手计算CrossEntropyLoss

应用CrossEntropyLoss时,注意Input: (N, C) where C = number of classesTarget: (N)不要写程序把target独热化。这是我遇到时候的解决办法。另外可能有用的:https://blog.youkuaiyun.com/ccbrid/article/details/79844005https://blog.youkuaiyun.com/get...

2019-08-29 02:49:04 3365

原创 numpy.meshgrid()的理解

对numpy.meshgrid()最简洁且清晰的解释就是:把两个数组的笛卡尔积内的元素的第一二个坐标分别放入两个矩阵中。xx, yy = np.meshgrid(np.linspace(-1,1,3),np.linspace(-1,1,3)) xxarray([[-1., 0., 1.], [-1., 0., 1.], [-1., 0., ...

2019-08-05 18:37:16 585

转载 论文:accurate ,large minibatch SGD:Training ImageNet in 1 Hour

目录1. learning rates for large minibatches:2.warmup3 Subtleties and Pitfalls of Distributed SGD4. Main Results and Analysishttps://blog.youkuaiyun.com/xxiaozr/article/details/80346381https://ww...

2019-05-27 01:43:35 348

原创 numpy.mean()关于axis的理解

numpy.mean(a, axis=None, dtype=None, out=None, keepdims=<no value>)>>> a = np.arange(30).reshape(2,3,5)>>> aarray([[[ 0, 1, 2, 3, 4], [ 5, 6, 7, 8, 9], ...

2018-08-02 19:28:33 3180 1

空空如也

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除