自定义博客皮肤VIP专享

*博客头图:

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

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

博客底图:

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

栏目图:

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

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+

Shaoyc

GitHub:https://github.com/Shaoyc

  • 博客(110)
  • 资源 (1)
  • 收藏
  • 关注

原创 pt转onnx

pt模型转onnx模型完整流程

2022-03-30 10:19:18 5254 1

原创 EndNote Configure选项灰色不可用

解决Configure EndNote选项灰色不可用问题

2021-02-23 16:57:14 14293 2

原创 No module named ‘torch‘

解决No module named ‘torch‘问题

2020-11-25 10:42:08 57013

原创 Error loading Python lib ‘/tmp/<tmp_dir>/libpython3.8.so.1.0‘

改为安装Miniforge3。

2024-03-07 11:34:25 476

原创 OSError: [E050] Can‘t find model ‘en_core_web_sm‘.

这个错误信息表明在尝试使用spacy.load(‘en_core_web_sm’)加载SpaCy的英文模型en_core_web_sm时遇到了问题。错误原因是因为SpaCy无法找到名为en_core_web_sm的模型。这通常是因为该模型尚未被安装。

2024-02-28 14:58:30 400

原创 $‘\r‘: 未找到命令

这个错误是因为脚本文件包含了 Windows 风格的换行符(CR LF),而不是 UNIX/Linux 所期望的换行符(LF)。在 UNIX/Linux 系统中执行含有 Windows 换行符的脚本会导致 未找到命令 和 语法错误 的问题,因为 shell 无法正确解析文件。可以使用 dos2unix 工具来转换文件的换行符,从而解决这个问题。如果你的系统中还没有安装 dos2unix,你可以根据你的 Linux 发行版安装它。安装 dos2unix。

2024-02-27 18:42:20 581

原创 ImportError: liblapack.so.3: cannot open shared object file: No such file or directory

遇到 ImportError: liblapack.so.3: cannot open shared object file: No such file or directory 错误表明系统中缺少 LAPACK(线性代数包)库,这是执行科学计算常需的一个库,特别是在使用像 NumPy 或 SciPy 这样的 Python 库进行矩阵运算时。

2024-02-27 18:27:40 423

原创 ImportError: libblas.so.3: cannot open shared object file: No such file or directory

在Debian或Ubuntu系统上,你可以通过安装libblas-dev包来解决这个问题。

2024-02-27 18:24:17 411

原创 centos7.6配置华为310NPU

显卡驱动对内核版本有要求,centos系统仅支持7.6和8.3。

2024-02-27 15:12:19 527

原创 can‘t decompress data; zlib not available

安装依赖zlib、zlib-devel。

2024-02-27 14:39:15 393

原创 libpython3.7m.so.1.0: cannot open shared object file: No such file or directory

该方法为临时方案,后续需要自己编译python生成libpython3.7m.so.1.0文件。将对应libpython3.7m.so.1.0放到项目文件下。

2024-02-27 11:47:17 306

原创 ModuleNotFoundError: No module named ‘_ssl‘

【代码】ModuleNotFoundError: No module named ‘_ssl‘

2024-02-27 11:08:21 459

原创 One of the configured repositories failed

【代码】One of the configured repositories failed。

2024-02-27 09:13:49 296

原创 [ERROR]The list of missing tools: lspci,ifconfig

【代码】[ERROR]The list of missing tools: lspci,ifconfig。

2024-02-26 11:53:56 492

原创 TorchServe部署模型-index_to_name.json

torchserve --start --model-store model_store --models 模型名=模型名.mar。TorchServe部署模型时候将模型输出结果对应到指定标签上的文件。

2024-01-19 15:15:01 398

原创 RuntimeError: result type Float can’t be cast to the desired output type long int

yolov5模型训练时候报错。

2024-01-19 15:04:01 352

原创 TorchServe部署问题-curl: (7) Failed connect to localhost:8080; Connection refused

创建镜像环境但是没有吧8080端口映射到本地主机,2.问题原因:Nginx未安装。3.问题原因:容器端口未映射。临时处理方案:在容器内使用。(1)查看防火墙状态。

2024-01-19 14:51:22 501

原创 TorchServe部署模型-handler文件

目标检测类TorchServe打包mar文件所需的handler文件:目标检测类yolov5。

2024-01-19 14:30:40 472

原创 python捕获异常并重启程序

【代码】python捕获异常并重启程序。

2023-08-15 15:27:04 130

原创 Ubuntu设置定时重启

定时重启

2023-08-14 13:36:37 1273

原创 WARNING: Ignoring invalid distribution

WARNING: Ignoring invalid distribution(目录地址)根据提示到指定目录地址中删除~开头的文件。一般是由于下载过程中异常终止导致的。

2023-04-19 17:45:00 1797 1

原创 Vscode更新后远程服务器连接不上

到系统盘指定文件夹下.ssh文件夹中打开known_hosts文件找到要连接的服务器地址,删除对应行。Vscode更新后远程服务器连接不上,输入密码后一直弹出密码框。使用Vscode打开该文件,删除其中连不上的主机对应行即可。(.ssh文件夹为隐藏文件)

2022-12-08 14:09:37 785

原创 No module ‘xformers‘. Proceeding without it.

通过python命令行安装确认运行时python版本,不确定的话进创建的虚拟环境中找到python文件运行下述命令 stable-diffusion-webui-master\虚拟环境名称\Scripts\python.exe)下载xformers-0.0.14.dev0-cp310-cp310-win_amd64.whl文件。

2022-12-02 18:06:26 35925 7

原创 SSLError(SSLEOFError(8, ‘EOF occurred in violation of protocol (_ssl.c:852)‘),)

novelai运行时提示上述错误。

2022-12-02 17:13:31 1118

原创 You can skip this check with --disable-safe-unpickle commandline argument.

运行时增加–disable-safe-unpickle。NovelAI运行时会提示上述错误。

2022-12-02 17:10:07 1873

原创 DefaultCPUAllocator: not enough memory: you tried to allocate

解决方案(1):重启电脑/使用任务管理器关闭多余应用释放系统内存(临时方案)解决方案(2):增加电脑虚拟内存(建议选该方案)

2022-12-02 16:44:27 18876 3

原创 GitHub Copilot could not connect to server.

在切换账号时出现GitHub Copilot could not connect to server. Extension activation failed: "Thank you for participating in the GitHub Copilot Technical Preview. Your extended access has ended.错误。针对上述问题,由于VScode上登录的github账号未切换导致。重新切换为GitHub Copilot的github账号即可。

2022-09-29 09:51:51 10228

原创 判断图像通道数

【代码】判断图像通道数。

2022-08-25 18:08:56 796

原创 module ‘cv2‘ has no attribute ‘gapi_wip_gst_GStreamerPipeline‘

mmclassification在进行onnx向engine模型转换时出现module ‘cv2‘ has no attribute ‘gapi_wip_gst_GStreamerPipeline‘可以通过安装第三方库的问题解决。

2022-08-25 17:50:04 1673

原创 module ‘cv2‘ has no attribute ‘COLOR_BRG2GRAY‘

mmclassification在进行onnx转plan时会出现module ‘cv2‘ has no attribute ‘COLOR_BRG2GRAY‘问题。通过安装第三方库解决。

2022-08-25 17:48:15 5743

原创 libGL.so.1: cannot open shared object file: No such file or directory

mmclassification配置onnx转engine时出现上述问题。通过重装opencv-python-headless包解决问题。

2022-08-25 17:44:57 283

原创 ‘tensorrt.tensorrt.Builder‘ object has no attribute ‘max_workspace_size‘

mmc常见问题

2022-08-25 17:41:57 708

原创 Only py/yml/yaml/json type are supported now!

mmc模型转换常见错误

2022-08-25 17:38:18 1193 1

原创 mmcv及mmcv-full安装

mmcv安装mmcv-full安装

2022-08-25 13:54:40 1677

原创 IndexError:invalid map<K,T> key

oak相机报错 IndexError:invalid map key

2022-08-23 11:24:19 1174

原创 pt转blob

pt转onnxonnx转irir转blob

2022-08-23 11:18:12 255

原创 pt转IR

pt转onnxonnx转ir

2022-08-23 11:11:34 421 1

原创 No module named ‘google.colab‘

oak相机No module namde google.colab

2022-08-01 16:56:47 3649

原创 ImageNet数据集

ImageNet是一个按照WordNet层次结构(目前只有名词)组织的图像数据库,其中层次结构的每个节点由成百上千张图像描绘。该项目在推进计算机视觉和深度学习研究方面发挥了重要作用。这些数据可供研究人员免费用于非商业用途。ImageNet 大规模视觉识别挑战赛 (ILSVRC) 评估用于大规模对象检测和图像分类的算法。一个高层次的动机是允许研究人员比较更广泛的物体的检测进展——利用相当昂贵的标记工作。另一个动机是衡量计算机视觉在用于检索和注释的大规模图像索引方面的进展。......

2022-06-06 15:36:43 718

原创 this is an issue with the package mentioned above not pip

python版本导致Pip文件安装失败

2022-06-06 15:28:48 12469

libpython3.7m.so.1.0

libpython3.7m.so.1.0

2024-02-27

libpython3.7m.so.1.0

libpython3.7m.so.1.0

2024-02-27

EAN 13条形码生成器.zip

demo程序详细资料见博客。博客有相关代码和相关软件测试截图和运行生成代码截图文件。此压缩包为该项目工程打包文件。

2020-04-26

空空如也

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

TA关注的人

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