已解决:/usr/bin/ld: cannot find -lcurl

root@68b38fa8ebaa:# curl --versioncurl 7.58.0 (x86_64-pc-linux-gnu) libcurl/7.58.0 OpenSSL/1.1.1 zlib/1.2.11 libidn2/2.0.4 libpsl/0.19.1 (+libidn2/2.0.4) nghttp2/1.30.0 librtmp/2.3Release-Date: 2018-01-24Protocols: dict file ftp ftps gopher http https .
分类: 其他 发布时间: 03-21 10:54 阅读次数: 0

已解决:The C compiler identification is unknown

# whereis gccgcc: /usr/bin/gcc /usr/lib/gcc# whereis g++g++: /usr/bin/g++ # gcc --versiongcc (Ubuntu 7.5.0-3ubuntu1~18.04) 7.5.0Copyright (C) 2017 Free Software Foundation, Inc.This is free software; see the source for copying conditions. There is
分类: 其他 发布时间: 03-21 10:54 阅读次数: 0

[官方] OpenVINO Model Optimizer转换时的预处理preprocess

OpenVINO Model Optimizer转换时的预处理preprocess
分类: 其他 发布时间: 03-21 10:54 阅读次数: 0

C++泛型 重载 <<

#ifndef VECTOR_OPS_FOR_NN#define VECTOR_OPS_FOR_NN#include <algorithm>#include <chrono>#include <iostream>#include <random>#include <valarray>#include <vector>namespace machine_learning{ // 重载<< 打印二维数
分类: 其他 发布时间: 03-21 10:53 阅读次数: 0

docker: Error response from daemon: Conflict.

docker: Error response from daemon: Conflict. The container name "/develop-poster-server-V6876-dongyfy" is already in use by container "83c8f544841de5e6ef82715e15806e7dbe925ee9d2d3e9be1982bc5c683c1668". You have to remove (or rename) that container to be a
分类: 其他 发布时间: 03-21 10:53 阅读次数: 0

[翻译] OpenVINO mo_onnx.py

--input_model INPUT_MODEL, -w INPUT_MODEL, -m INPUT_MODEL Tensorflow*: a file with a pre-trained model (binary or text .pb file after freezing). Caffe*: a model proto file with model weights Tensorflow *:具有预训练模型的文件(冻结后的二进制或文本.pb文件)。 Caffe *:具有模型权重的模型原
分类: 其他 发布时间: 03-21 10:53 阅读次数: 0

支付宝即时到账接口开发 - DEMO讲解与源码分享

环境要求PHP5.0以上,且需要开启curl、openssl。 文档地址: https://doc.open.alipay.com/doc2/detail?treeId=62&articleId=103566&docType=1电商网站支付流程图选择demo即时到账交易接口(create_direct_pay_by_user) demo下载解压之后目录如下图: 选择:MD5签名版本
分类: 编程语言 发布时间: 03-21 10:53 阅读次数: 0

Alpaca-Spa-Laravel后台管理系统-前后分离

lpaca-Spa-Laravel 是用Alpaca-Spa + Laravel 前后端分离开发的一款后台管理系统的DEMO. 主要功能模块有登录、定时任务管理、用户管理、权限管理、个人信息管理等。在实际开发中可以根据具体的需求添加新的功能。 开发模式为前后分离开发,Alpaca-Spa负责实现前端功能,包括组织页面结构,渲染页面数据、样式,交互逻辑等,Laravel负责提供后台功能,访问数据库,
分类: 编程语言 发布时间: 03-21 10:53 阅读次数: 0

使用Node.js+Socket.IO搭建WebSocket实时在线聊天系统

51CTO博客2.0是国内领先的IT原创文章分享及交流平台,包含系统运维,云计算,大数据分析,Web开发入门,高可用架构,微服务,架构设计,PHP教程,Python入门,Java,数据库,网络安全,人工智能,区块链,移动开发技术,服务器,考试认证等文章。
分类: 编程语言 发布时间: 03-21 10:53 阅读次数: 0

leetcode-322 零钱兑换 动态规划DP

给定不同面额的硬币 coins 和一个总金额 amount。编写一个函数来计算可以凑成总金额所需的最少的硬币个数。如果没有任何一种硬币组合能组成总金额,返回 -1。你可以认为每种硬币的数量是无限的。cpp实现class Solution {public: int coinChange(vector<int>& coins, int amount) { // 方法一:动态规划 // 等于钞票面值的最优解 // 找出最小的i-
分类: 其他 发布时间: 03-21 10:53 阅读次数: 0

windows+WSL2搭建docker本地镜像仓库

1. 拉去registry镜像docker pull registry2. 运行registry镜像 指定端口-p(base) PS C:\Users\User> docker run -d --name registry -p 5000:5000 registry4216abd7aeb67f6acc5e23ef7a440ad0b4dcda7a2a2c8c39352f58c9ecd282f23. 镜像打标签tag镜像前面加上本地主机ip, 端口设置5000(base) PS C:\U
分类: 其他 发布时间: 03-21 10:52 阅读次数: 0

ONNX Runtime for Azure ML

ONNX Runtime for Azure MLdocker pull mcr.microsoft.com/azureml/onnxruntime:latestdocker pull mcr.microsoft.com/azureml/onnxruntime:latest-cuda
分类: 其他 发布时间: 03-21 10:52 阅读次数: 0

cmake卸载、安装和重装

cmake下载链接1.卸载旧版cmakesudo apt-get autoremove cmake2. 下载其它版本cmakecmake下载链接 解压如果是下载到挂载的路径(如wsl需要cp到wsl中)3. 安装# 进入wslmkdir /packagescp -r /mnt/g/tools/cmake-3.20.0-rc3 /packagescd /mnt/g/tools/cmake-3.20.0-rc3/cmake-3.20.0./bootstrapmakemake in
分类: 其他 发布时间: 03-21 10:52 阅读次数: 0

记录一次艰难的onnxtuntime源码编译过程

1、首先是onnxruntime源码下载源码地址:onnxruntime# 必须--recursive, 否则很多库文件下载不齐git clone --recursive https://github.com/microsoft/onnxruntime.git编译报错的绝大部分的原因是git clone没有下载完成,里面嵌套了很多git,需要–recursive下载2.源码编译我使用的是windows下的WSL2(docker)进行编译,使用windows下的windows terminal
分类: 其他 发布时间: 03-21 10:52 阅读次数: 0

pyopengl:OpenGL.error.NullFunctionError: Attempt to call an undefined function glutInit

File "D:\ProgramData\Anaconda3\envs\pytorch_cpu\lib\site-packages\OpenGL\GLUT\special.py", line 333, in glutInit _base_glutInit( ctypes.byref(count), holder ) File "D:\ProgramData\Anaconda3\envs\pytorch_cpu\lib\site-packages\OpenGL\platform\baseplatf
分类: 其他 发布时间: 03-21 10:51 阅读次数: 0

VScode 修改变量名称

选定某一个变量shift+ctrl+L,锁定修改所有变量的右边都有鼠标光标,即可批量修改
分类: 其他 发布时间: 03-21 10:51 阅读次数: 0

Linux OpenCV cmake project example

#include <stdio.h>#include <opencv2/core.hpp>#include <opencv2/highgui.hpp>using namespace cv;int main(int argc, char** argv){ if(argc !=2) { printf("usage: DisplayImage.out <Image_Path>\n"); return -1;
分类: 其他 发布时间: 03-21 10:51 阅读次数: 0

使用清华大学镜像安装库文件

使用清华大学镜像安装库文件pip install scipy -i https://pypi.tuna.tsinghua.edu.cn/simplepip install (需要安装的库)-i https://pypi.tuna.tsinghua.edu.cn/simple
分类: 其他 发布时间: 03-21 10:51 阅读次数: 0

常用的指令(更新中)

1、python/usr/python3.7/bin/python3.7 -m pip list
分类: 其他 发布时间: 03-21 10:50 阅读次数: 0

狂神说docker 常用命令笔记

Docker的常用命令1. 帮助命令docker version # 显示docker的版本信息docker info # 显示docker的系统信息,包括镜像和容器的数量docker 命令 --help # 帮助命令帮助文档的地址: https://docs.docker.com/engine/reference/commandline/docker/2. 镜像指令2.1 docker images 查看所有本地的主机上的镜像[root@abc123 /]# dock
分类: 其他 发布时间: 03-21 10:50 阅读次数: 0