
错误
错误
理心炼丹
只争朝夕
展开
-
YOLOv7 开启 --image-weights DDP 训练时候遇到的错误:RuntimeError: Tensors must be CUDA and dense
YOLOv5 作者说两者不兼容,他在新的代码中添加了一个提示。不开启 --image-weights 参数。原创 2022-10-24 00:05:57 · 4057 阅读 · 2 评论 -
labelimg 修正模型错误标注遇到的问题
使用了 模型(如YOLOv5/v7) detec.py 保存的 YOLO 格式的结果,包括测试的图像和对应的 txt 文件。模型跑出来的结果可能不够准确,需要手工修正下,因此我需要使用 labelimg 来可视化图像,并且修改其标注信息。原创 2022-10-21 12:10:09 · 5450 阅读 · 3 评论 -
vscode debug,无法在第三方库上打断点
vscode debug,无法在第三方库上打断点原创 2022-05-06 21:56:11 · 2521 阅读 · 4 评论 -
numpy 版本问题
错误:ValueError: numpy.ndarray size changed, may indicate binary incompatibility. Expected 88 from C header, got 80 from PyObject解决:pip install --upgrade numpy -i https://pypi.tuna.tsinghua.edu.cn/simple原创 2022-03-01 10:54:16 · 574 阅读 · 0 评论 -
Mysql 保存csv文件遇到的问题
LOAD DATA INFILE '/home/xx/xxx.csv'当我使用 上面的 SQL 语句将 csv 文件 导入 mysql 时候,出错:ERROR 1290 (HY000): The MySQL server is running with the --secure-file-priv option so it cannot execute this statement查看官方文档,secure_file_priv参数用于限制LOAD DATA, SELECT …OUTFIL.原创 2022-02-11 00:30:54 · 678 阅读 · 0 评论 -
错误-pd.read_json(ValueError: Protocol not known: ..., http)
错误:ValueError: Protocol not known: ..."http...解决:import iowith open('xx.json') as f: line = f.readline()pd.read_json(io.StringIO(line)).shape参考:Bug with read_json from str reporting "Protocol not known" · Issue #43594 · pandas-dev/pandas ..原创 2022-02-06 00:04:03 · 1833 阅读 · 0 评论 -
vscode markdown 导出PDF错误
1. 错误提示:“princexml” is required to be installed.2. 解决:需要安装 princesudo dpkg -i prince_14.2-1_ubuntu20.04_amd64.deb 预览,右键选择PDF(prince)即可。安装的插件:Markdown All in One,Markdown Preview Enhanced, vscode-pdf(打开PDF文件)。...原创 2022-02-05 13:05:37 · 4223 阅读 · 0 评论 -
onnx python 推理错误
ValueError: could not broadcast input array from shape (150528,) into shape (602112,)[TensorRT] ERROR: 1: [hardwareContext.cpp::terminateCommonContext::141] Error Code 1: Cuda Runtime (invalid device context)[TensorRT] INTERNAL ERROR: [defaultAllocator.c原创 2022-01-14 14:46:21 · 3319 阅读 · 0 评论 -
工程错误C++
在 GitHub - shouxieai/tensorRT_Pro: C++ library based on tensorrt integration工程中升级 tensorrt版本后一直编译不通过make: *** No rule to make target '/usr/include/cublas_v2.h', needed by 'objs/tensorRT/builder/trt_builder.o'. Stop.直到看到了make: *** No rule to make tar.原创 2022-01-13 19:42:08 · 3876 阅读 · 0 评论 -
PaddlePaddle 错误
--------------------------------------C++ Traceback (most recent call last):--------------------------------------No stack trace in paddle, may be caused by external reasons.----------------------Error Message Summary:----------------------FatalErr原创 2022-01-11 11:22:31 · 5068 阅读 · 1 评论 -
错误:TensorBoard logging requires TensorBoard version 1.15 or above
错误:raise ImportError('TensorBoard logging requires TensorBoard version 1.15 or above')ImportError: TensorBoard logging requires TensorBoard version 1.15 or above检查:from tensorboard import versionprint(version.VERSION)输出:1.14.0xxx原因:已安装了1.15.0的te原创 2021-11-11 00:55:43 · 1759 阅读 · 0 评论