![](https://img-blog.csdnimg.cn/20201014180756923.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
报错解决
William.csj
华中科技大学在读博士研究生。
研究方向:多目标跟踪,单目标跟踪。
本科经历:获得国家奖学金等十余项奖学金,参加数学竞赛、数学建模竞赛、ROBOCON机器人比赛、互联网+、挑战杯等,曾获数学竞赛全国一、二等奖、数学建模竞赛多次国家(际)一、二等奖、ROBOCON机器人两次全国二等奖(队长)、互联网+全国铜奖(省最佳创意奖)等十余项国家级奖项,曾在深圳科创学院智能驾驶中心担任视觉感知算法实习生。
展开
-
报错解决——使用 pandas 出现 No module named ‘openpyxl‘ 报错的解决办法
pip install openpyxl原创 2024-06-19 09:16:04 · 191 阅读 · 0 评论 -
Python——open() 函数写入.txt文件时,报错:No such file or directory
.txt 文件名字过长,导致报错原创 2024-05-20 19:04:35 · 169 阅读 · 0 评论 -
报错解决——TypeError: only size-1 arrays can be converted to Python scalars
数据输入维度对不上转载 2024-05-19 16:17:07 · 31 阅读 · 0 评论 -
报错解决—— element 0 of tensors does not require grad and does not have a grad_fn
backward()的变量的requires_grad是False,会导致不会计算梯度,从而报错。原创 2024-05-18 22:25:04 · 270 阅读 · 0 评论 -
报错解决——- Can‘t parse ‘org‘. Sequence item with index 1 has a wrong type
你的输入是小数,函数要求输入是整数。原创 2024-05-18 22:22:06 · 112 阅读 · 0 评论 -
报错解决——[ WARN:0@0.004] global loadsave.cpp:248 findDecoder imread_(‘XX‘): can‘t open/read file: check
使用debug模式运行该程序原创 2024-04-24 18:16:41 · 528 阅读 · 0 评论 -
报错解决——多batchsize时,RuntimeError: each element in list of batch should be of equal size
报错解决——多batchsize时,RuntimeError: each element in list of batch should be of equal size原创 2024-04-16 18:35:34 · 266 阅读 · 0 评论 -
报错解决——raise URLError(‘unknown url type: %s‘ % type)
file_name 中路径分隔符存在错误原创 2024-04-14 11:46:10 · 304 阅读 · 0 评论 -
报错解决——TypeError: Caught TypeError in replica 0 on device 0.
推理的时候,改成单卡推理。原创 2024-04-08 19:26:29 · 344 阅读 · 0 评论 -
报错解决——ModuleNotFoundError: No module named ‘torch.ao‘
from torch.quantization import DeQuantStub, QuantStub原创 2024-04-08 19:07:48 · 385 阅读 · 0 评论 -
报错解决——RuntimeError: mat1 dim 1 must match mat2 dim 0
矩阵mat1 的第二维度要与mat2的第一维度不匹配。转载 2024-04-05 10:26:13 · 223 阅读 · 0 评论 -
报错解决——Can‘t call numpy() on Tensor that requires grad. Use tensor.detach().numpy() instead.
报错解决——Can‘t call numpy() on Tensor that requires grad. Use tensor.detach().numpy() instead.转载 2024-04-04 16:35:28 · 127 阅读 · 0 评论 -
报错解决——Python中安装matlab.engine出现UserWarning: The version specified (‘Rxxxx‘) is an invalid version...
pip uninstall setuptoolspip install setuptools==58.0转载 2024-03-05 17:09:36 · 131 阅读 · 0 评论 -
报错解决——/opt/conda/conda-bld/pytorch_1607370172916/work/aten/src/THCUNN/ClassNLLCriterion.cu:108: cunn
报错解决——/opt/conda/conda-bld/pytorch_1607370172916/work/aten/src/THCUNN/ClassNLLCriterion.cu:108: cunn转载 2024-01-25 15:44:15 · 126 阅读 · 0 评论 -
报错解决——This overload of addmm_ is deprecated:addmm_(Number beta, Number alpha, Tensor mat1, Tensor ma
目前的torch版本中,函数输入参数已经改动了。原创 2024-01-25 10:46:52 · 634 阅读 · 0 评论 -
报错解决——TypeError: No loop matching the specified signature and casting was found for ufunc greater
cum_counts = np.cumsum(np.greater(counts, 0))原创 2024-01-02 10:18:22 · 2271 阅读 · 8 评论 -
报错解决——ImportError: /lib/x86_64-linux-gnu/libstdc++.so.6: version GLIBCXX_3.4.29‘ not found
pip uninstall scipy;pip install scipy原创 2023-12-06 17:40:58 · 914 阅读 · 3 评论 -
报错解决——ERROR: Cannot uninstall numpy 1.24.4, RECORD file not found. You might be able to recover from
删除这个文件夹(numpy-1.24.4.dist-info)原创 2023-12-06 17:35:54 · 1669 阅读 · 1 评论 -
问题解决——ffmpeg生成的视频在windows平台无法播放
问题解决——ffmpeg生成的视频在windows平台无法播放原创 2023-11-06 17:03:14 · 568 阅读 · 0 评论 -
报错解决——AttributeError: ‘OpenpyxlWriter‘ object has no attribute ‘save‘
pandas版本问题导致的原创 2023-10-17 18:21:15 · 2954 阅读 · 1 评论 -
报错解决——git commint -m “xxx“时报错
邮箱和名称原创 2023-03-22 15:38:29 · 130 阅读 · 0 评论 -
报错解决——make编译时报错:C++: fatal error: Killed signal terminated program cc1plus
make原创 2023-03-22 15:22:00 · 498 阅读 · 0 评论 -
报错解决——ModuleNotFoundError: No module named ‘cython_bbox‘
报错解决——ModuleNotFoundError: No module named 'cython_bbox'原创 2022-10-10 11:19:03 · 4376 阅读 · 1 评论 -
报错解决——AttributeError: ‘Upsample‘ object has no attribute ‘recompute_scale_factor‘
AttributeError: ‘Upsample‘ object has no attribute ‘recompute_scale_factor‘转载 2022-05-17 09:25:52 · 3435 阅读 · 1 评论 -
报错解决——TypeError: load() missing 1 required positional argument: ‘Loader‘
一、完整报错:self.update(yaml.load(fo.read()))'TypeError: load() missing 1 required positional argument: 'Loader'二、解决办法:TypeError: load() missing 1 required positional argument: ‘Loader‘解决方案转载 2022-05-17 09:24:37 · 9353 阅读 · 0 评论 -
报错解决——ImportError: cannot import name ‘container_abcs‘ from ‘torch._six‘ (/home/csj/anaconda3/envs/p
将from torch._six import container_abcs, string_classes, int_classes改成:string_classes = strint_classes = intimport collections.abc as container_abcs原创 2022-05-17 09:22:01 · 1628 阅读 · 1 评论 -
apex——报错解决 ImportError: cannot import name ‘UnencryptedCookieSessionFactoryConfig’
导入apex出现ImportError: cannot import name ‘UnencryptedCookieSessionFactoryConfig’转载 2022-05-17 09:20:40 · 5349 阅读 · 0 评论