自定义博客皮肤VIP专享

*博客头图:

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

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

博客底图:

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

栏目图:

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

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

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

原创 forward() takes 2 positional arguments but 3 were given

forward() takes 2 positional arguments but 3 were given,nn.sequential()

2022-11-18 11:36:14 10788 2

原创 Batch_Normalization的理解

Batch_Normalization的理解

2022-07-18 10:18:48 225

原创 SPP的理解

SPP的理解

2022-07-17 16:56:50 1116

原创 函数篇——enumerate()

函数篇——enumerate()

2022-07-15 21:02:51 204

原创 python、pandas、numpy常用命令

pandas、numpy的常用命令

2022-07-15 20:43:08 1139

原创 cpu运行下报错:IndexError: index out of range in self;GPU上运行时报错:CUDA error: CUBLAS_STATUS_NOT_INITIALIZED

C:/cb/pytorch_1000000000000/work/aten/src/ATen/native/cuda/Indexing.cu:658: block: [11,0,0], thread: [56,0,0] Assertion `srcIndex < srcSelectDimSize` failed.cpu运行下报错:IndexError: index out of range in self;GPU上运行时报错:CUDA error: CUBLAS_STATUS_NOT_INITIALIZ

2022-06-23 21:52:25 5282 2

原创 tensorlow2.0及以上的keras使用方法

tensorlow2.0及以上的keras使用方法

2022-06-03 10:43:26 242

原创 tensorflow2.0使用GELU激活函数

tensorflow2.0使用GELU激活函数

2022-06-03 10:37:53 1487 1

原创 ImportError: No module named ‘keras_contrib‘

ImportError: No module named ‘keras_contrib‘

2022-06-02 20:59:56 178

原创 RuntimeError: “LayerNormKernelImpl“ not implemented for ‘Long‘

RuntimeError: "LayerNormKernelImpl" not implemented for 'Long'

2022-05-31 14:57:49 7309

原创 ModuleNotFoundError: No module named ‘__main__.darknet‘; ‘__main__‘ is not a package

ModuleNotFoundError: No module named '__main__.darknet'; '__main__' is not a package

2022-05-26 22:26:57 416

原创 pytorch删除模型model中的某些层(或模块)

pytorch删除模型model中的某些层(或模块)

2022-05-26 17:03:45 3851

原创 Unexpected key(s) in state_dict: “model“

问题描述:加载预训练权重时报错Unexpected key(s) in state_dict: "model"weight_dic_path = 'convnext_base_1k_224.pth'state_dic=torch.load(weight_dic_path,map_location=device)model.load_state_dict(state_dic)解决方法:weight_dic_path = 'convnext_base_1k_224.pth'state_dic

2022-05-26 16:15:37 1477 2

原创 tensorflow换源

使用方法:pip install tensorflow-gpu==1.8 -i http://pypi.douban.com/simple --trusted-host pypi.douban.com阿里云 https://mirrors.aliyun.com/pypi/simple/中国科技大学 https://pypi.mirrors.ustc.edu.cn/simple/豆瓣(douban) http://pypi.douban.com/simple/清华大学 https://pypi.tu

2022-03-31 22:02:32 1417

原创 tensorflow换源

pip install tensorflow-gpu==1.8 -i http://pypi.douban.com/simple --trusted-host pypi.douban.com

2022-03-31 09:29:04 1544

原创 No module named ‘sklearn‘

Packages Not Found Error : The following packages are not available from current channels: sklearn

2022-03-30 14:09:43 2513

原创 ROS自定义话题消息,执行catkin_make报错

ROS自定义话题消息首先需要完成以下前期准备工作:具体操作流程​​​​​​(6条消息) ROS学习笔记(二)-----发布者publisher的编程实现、订阅者Subscriber的编程实现、话题消息的定义和使用_慕羽★的博客-CSDN博客 当完成以上准备工作后,执行编译“catkin_make”报错,报错如下:解决方法: 错误很简单,就是我在写Person_msg时将“uint8"误写为”unit8",所以此错误时个人在自定义消息类型时将数据类型写错,...

2021-10-04 21:59:07 523

原创 Linunx—@ error/constitute.c/WriteImage/1037.

Linunx系统中学习ROS,在测试发布者Publisher的编程过程中,当执行待测试'learn_publish.py'文件时,发生以下错误:解决方法:在'learn_publish.py'文件的首行添加代码:#!/usr/bin/env python,添加后点击右上角“保存”文件。操作如下: ...

2021-10-04 16:58:42 482

空空如也

空空如也

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

TA关注的人

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