原创 徹底卸掉docker

# 查詢相關軟件包 dpkg -l | grep docker # 刪除這個包 sudo apt remove --purge docker.io

原创 利用zeroMQ 把c++ 從baxter 機器人獲取的CV Mat圖像數據發給python

C++發佈者 #include<baxter_xiang.hpp> namespace cv { using std::vector; } //進行初始化 ImageConverter::ImageConverte

原创 pytorch實現簡單的softmax迴歸代碼

import torch from torch import nn from torch.nn import init import numpy as np import sys from collections impor

原创 nodesjs 搭建https步驟

nodesjs 搭建https步驟 生成密鑰對 執行命令 openssl genrsa -out privatekey.pem 1024 req -new -key privatekey.pem -out certreque

原创 turtle_tf2_listener.cpp:(.text+0x327):對‘tf2_ros::Buffer::Buffer(ros::Duration, bool)’未定義的引用

在使用ROS座標轉換tf2時,編譯出現 turtle_tf2_listener.cpp:(.text+0x327):對‘tf2_ros::Buffer::Buffer(ros::Duration, bool)’未定義的引用 錯誤

原创 yolov4 訓練自己的數據集--人頭識別

0、實驗環境 ubuntu 16.04 opencv 3.4.10 cuda 10.1 1、yolov4安裝 1.1、下載編譯darknet darknet下載地址 git clone https://github.com/A

原创 使用Pytorch實現簡單的線性迴歸

import torch import numpy as np #生成數據 num_inputs=2 num_examples = 1000 true_w = [2,-3.4] true_b = 4.2 features =

原创 baxter機器人攝像機啓動與關閉

由於機器人本身寬帶問題baxter機器只能同時運行兩個攝像頭,如果三個攝像頭同時開啓將會報錯 baxter 機器人攝像頭相關的操作 關閉所有攝像頭 $ rosrun baxter_tools camera_control.py

原创 使用 pyinstaller打包多個python文件的 應用程序 並在執行時報出Failed to execute script pyi_rth_pkgres錯誤

當時使用pyinstaller對python應用程序進行打包的,執行成功打包的exe應用程序時彈出一個錯誤提示框。信息如下: Failed to execute script pyi_rth_pkgres 或者是其他的模塊無法加

原创 terminate called after throwing an instance of dmlc::Error

在python中使用MxNet時在代碼 self.module.bind(data_shapes=[data_name_shape], for_training=False)

原创 c++項目中使用YOLOv4模型簡單案例

主要是使用yolo_v2_class.hpp文件 1、hpp文件 #ifndef DEMO_HPP #define DEMO_HPP #ifndef OPENCV #define OPENCV #endif #include<yo

原创 使用yolov4 訓練自己的人頭識別模型

0、實驗環境 ubuntu 16.04 opencv 3.4.10 cuda 10.1 1、yolov4安裝 1.1、下載編譯darknet darknet下載地址 git clone https://github.com/A

原创 VScode使用Remote ssh遠程連接服務器

1、平臺 服務器:ubuntu16.4 主機:win10 2、準備工作 win10安裝openssh客戶端 下載地址 下載對應版本,直接把目錄加到path環境變量中即可 win10生成密鑰對 在終端執行 ssh-keyg

原创 Etensorflow/stream_executor/cuda/cuda_dnn.cc:329] Could not create cudnn handle: CUDNN_STATUS_INTER

在ubuntu16 GTX2060 cuda10.1中使用tensorflow報出一下錯誤 E tensorflow/stream_executor/cuda/cuda_dnn.cc:329] Could not create

原创 error: PyThreadState {aka struct _ts} has no member named exc_type

在使用Cython時候 可能會報出一下錯誤 _nms_gpu_post.c:5968:19: error: ‘PyThreadState {aka struct _ts}’ has no member named ‘exc_typ