- 博客(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
11411
2
原创 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
5421
2
原创 ImportError: No module named ‘keras_contrib‘
ImportError: No module named ‘keras_contrib‘
2022-06-02 20:59:56
219
原创 RuntimeError: “LayerNormKernelImpl“ not implemented for ‘Long‘
RuntimeError: "LayerNormKernelImpl" not implemented for 'Long'
2022-05-31 14:57:49
7386
原创 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
465
原创 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
1556
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
1467
原创 tensorflow换源
pip install tensorflow-gpu==1.8 -i http://pypi.douban.com/simple --trusted-host pypi.douban.com
2022-03-31 09:29:04
1582
原创 No module named ‘sklearn‘
Packages Not Found Error : The following packages are not available from current channels: sklearn
2022-03-30 14:09:43
2569
原创 ROS自定义话题消息,执行catkin_make报错
ROS自定义话题消息首先需要完成以下前期准备工作:具体操作流程(6条消息) ROS学习笔记(二)-----发布者publisher的编程实现、订阅者Subscriber的编程实现、话题消息的定义和使用_慕羽★的博客-CSDN博客 当完成以上准备工作后,执行编译“catkin_make”报错,报错如下:解决方法: 错误很简单,就是我在写Person_msg时将“uint8"误写为”unit8",所以此错误时个人在自定义消息类型时将数据类型写错,...
2021-10-04 21:59:07
581
原创 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
549
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人