自定义博客皮肤VIP专享

*博客头图:

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

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

博客底图:

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

栏目图:

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

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

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

原创 Pytorch利用Dataset类和DataLoader读取自己的数据集,并训练

(图像数据集的图像路径写在一个txt中,txt每一行为 Path Label)

2023-07-03 00:24:18 834

原创 C语言基础知梳理,【更新】

在 C++ 中 int main() 和 int main(void) 是等效的,但在 C 中让括号空着代表编译器对是否接受参数保持沉默。在 C 语言中 main() 省略返回类型也就相当说明返回类型为 int 型,不过这种用法在 C++ 中逐渐被淘汰。虽然 void main()在很多系统都适用,但他毕竟不是标准的,所以应该避免这种用法, 应该使用这种 int main(void) 的写法比较妥当。1.3 C库提供了多个处理字符串的函数,ANSI C把这些函数的原型放在。

2023-02-14 23:56:25 109

原创 Linux C写环形缓冲区及 MSG_Q_ID

Linux C写环形缓冲区及 MSG_Q_ID

2023-02-14 23:09:04 264

原创 KNN algorithm code

【代码】KNN algorithm code。

2023-02-07 00:10:38 90

原创 【无标题】

vscode好用插件

2022-11-10 20:48:47 65

原创 numpy,matplotlib-3d随记

(关键,不同变量之间做协方差,numpy堆叠一下,结束,总结就三行。

2022-11-07 22:30:12 307

原创 5行学会tensorboardX

tensorboardX is so easyfrom tesnsorboardX import SummaryWriter#create the writerwriter = SummaryWriter('your path')writer.add_scalar('losstotal', loss, epoch)#the losstotal is your variable name, loss is the value u want to monitor. Epoch is for count

2021-11-16 16:01:48 1186

原创 Windows Powershell Anaconda

Windows Powershell for condaThe 1st commandconda init powershellThe 2nd commandSet-ExecutionPolicy -ExecutionPolicy RemoteSignedBoth commands should be used in Administrator mode!

2021-11-10 15:16:07 677

原创 Debian安装英伟达(NVIDIA)驱动一站式避坑教学(Ubuntu通用)

Debian安装NVIDIA驱动避坑指南Ubuntu的稳定性实在是不敢恭维,用起来还是觉得Debian更加的稳定可靠,系统版本Debian11,完整镜像安装,安装的时候采用的清华源或者兰大源lzu来补充安装(傻瓜式一步步跟着就可以)。NVIDIA驱动安装现在进入正题,很多人都说要安装依赖,上来就是一大堆,对于Debian我们首先可能会遇到两个问题,分别是:第一个问题username is not in the sudoers file提示我们的账户没有sudo权限所以我们需要进行第一步$su

2021-11-05 23:05:31 16312 5

原创 解决RuntimeError: one of the variables needed for gradient computation has been modified by an inplace

问题描述:RuntimeError: one of the variables needed for gradient computation has been modified by an inplace operationRuntimeError: one of the variables needed for gradient computation has been modified by an inplace operation 原因分析:跑过一个GAN的Super-Resolution

2021-04-15 15:57:23 25011 48

空空如也

空空如也

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

TA关注的人

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