自定义博客皮肤VIP专享

*博客头图:

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

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

博客底图:

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

栏目图:

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

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(16)
  • 资源 (1)
  • 收藏
  • 关注

原创 Python 基础学习 vars(), 将args 转换为dict

Python 基础学习 vars(), 将args 转换为dict

2022-06-09 17:23:10 523

原创 关于torch.scatter函数

关于torch.scatter函数的理解

2022-06-06 16:34:58 385

转载 Pytorch中torch.gather函数

Pytorch中torch.gather函数解析

2022-06-06 16:13:57 276

原创 ubuntu 18.04+anaconda 安装cvxopt

Convex Optimization(凸规划)的模块:CVXOPTanaconda 下安装方式:1.卸载numpypip uninstall numpy2. 添加conda-forgeconda config --add channels conda-forge3. 安装cvxoptconda install cvxopt注: conda-forge是可以安...

2020-05-03 11:17:18 643

转载 Graphpad prim 和 SPSS 绘制 Bland-Altman 图

原文地址:http://mp.163.com/v2/article/detail/EMC5UAF70516C2JV.html首先,我们把Prism打开,这里使用Prism 8进行演示,各版本的界面可能稍有差异,但差别不大。  打开软件后,左边选择“Column”,数据表里选择“Start with sample data to follow a tutorial”,之后下面会出现选择...

2020-03-12 15:43:46 13207 3

转载 Ubuntu18.04 安装微信

原文地址:https://www.cnblogs.com/g2thend/p/12320574.html准备环境#!/bin/bashmkdir /tmp/deepintempcd /tmp/deepintempwget http://mirrors.aliyun.com/deepin/pool/non-free/d/deepin-wine/deepin-wine_2.18-22~...

2020-03-11 14:16:16 5596

原创 pytorch 卷积层到全连接层的参数个数

import torchfrom torch import nnfrom torch.autograd import Variableclass AlexNet(nn.Module): def __init__(self): super(AlexNet, self).__init__() self.conv_unit = nn.Sequentia...

2020-02-23 21:50:13 1818

原创 Ubuntu 开机黑屏左上角光标闪烁

也不知道是上次做了什么,没关机直接断电?这次开机直接黑屏。查网上解决方案:A. 重装系统B.重置BIOS傻子也知道选第二种。先恢复默认的bios设置。然后把CMS设置为开启然后就可以了。...

2020-02-22 18:24:47 1749

原创 Ubuntu18.04+TITAN XP+anaconda+cuda10+cudnn+pytorch

开发环境:GPU: NVIDIA TITAN XPOS:Xubuntu 18.04新装系统,没有NVIDIA显卡驱动。先卸载已有驱动sudo apt-get remove --purge nvidia*安装库sudo apt-get updatesudo apt-get install dkms build-essential linux-headers-gener...

2020-02-07 22:56:53 1410

转载 pytorch torchvision.transforms.Normalize()中的mean和std参数---解惑

torchvision.transforms.Normalize()中的mean和std参数做什么用呢?疑问1:按照我的理解,归一化就是要把图片3个通道中的数据整理到[-1, 1]区间。x = (x - mean(x))/stddev(x)只要输入数据集x确定了,mean(x)和stddev(x)也就是确定的数值了,为什么Normalize()函数还需要输入mean和std的数值呢?疑...

2019-12-19 14:48:04 1952 1

转载 Docker常用命令(能删除杀死一切容器镜像)

https://www.cnblogs.com/agang-php/p/6019516.html

2019-12-07 13:46:33 445

原创 SimpleElastix安装及所遇问题(windows)

三大步骤:用CMake生成构建文件用Visual Studio编译器编译安装Python模块看着这三步和把大象装冰箱分几步一样简单。然并简。在安装SimpleElastix前确认Python3.4已经安装。下载并安装CMake以后,从git上下载SimpleElastix(https://github.com/kaspermarstal/SimpleEl

2018-01-02 20:06:14 4634 20

原创 关于const

#includeusing namespace std;class F{ int n; int d;public: F(int n=0, int d=1):n(n),d(d){}; friend istream& operator>>(istream& in,F& a); int getn(){return n;} int getd(){return d;}};istre

2017-12-13 21:47:50 163

原创 关于枚举类型的学习(enum)

#include#includetypedef enum GENDER{MALE,FEMALE}GENDER;typedef char NAME[20];typedef struct person{NAME name;GENDER s;int age;double income;}person;int main(){person

2017-12-08 15:55:28 345

原创 ITK 4.12.2 在VS2010 下安装

ITK:https://itk.org/ITK/resources/software.html下载源代码。cmake:ITK网站上有,也可以自己下。在D盘新建一个文件夹,叫ITK ,ITK 文件夹下再建一个文件夹,叫ITK_binCmake打开先configure,选VS 2010 default。成功后会出现下面的选项就选个DEFAULT_MODULES就行了。选

2017-12-04 19:50:16 653 1

原创 2017年6月28日

好好学习天天向上。自从硬盘坏掉后,心情一直不是很好。也有时间回想一直以来的学习,习惯的确也不是很好。要每天总结每天备份才对。嗯......用elastix进行配准。参数调好了,效果很好,目测DICE系数90%以上。参数文件如下http://download.csdn.net/detail/thinkpad1234567890/9882573

2017-06-28 10:08:59 241

elastix配准参数

用于elastix配准参数

2017-06-28

空空如也

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

TA关注的人

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