自定义博客皮肤VIP专享

*博客头图:

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

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

博客底图:

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

栏目图:

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

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(92)
  • 收藏
  • 关注

原创 ubuntu与windows双系统时间同步问题——简明指南

【代码】ubuntu与windows双系统时间同步问题——简明指南。

2024-03-04 10:30:13 460

原创 Spring Framework的设计哲学(Bing翻译)

Spring Framework的设计哲学

2023-03-11 11:19:04 387

原创 Spring Boot官方例子《Developing Your First Spring Boot Application》无法运行

Failed to read candidate component class: URL

2023-03-10 20:59:02 497

原创 Elasticsearch 8.0 installation

after creating an enrollment token on your existing cluster.You can complete the following actions at any time:Reset the password of the elastic built-in superuser with'/usr/share/elasticsearch/bin/elasticsearch-reset-password -u elastic'.Generate a

2022-02-18 07:44:16 768

原创 使用nginx代理更新ubuntu的apt和elasticsearch

名称定义ProxyServer: 能上外网的服务器有2个IP,其中内网IP是192.168.0.10Client: 不能上外网,希望通过ProxyServer进行更新的客户机,可以与ProxyServer连通。配置ProxyServer安装nginx(不在这里介绍)增加一个nginx的子配置文件proxy_conf/proxys.conf:cd /usr/local/nginx/confsudo mkdir proxy_conf && cd proxy_conf

2022-02-15 10:43:37 2240 2

原创 nvm在ubuntu中本地安装

不要再改host了,改host只是改了DNS,不代表你能连上那个IP。其实nvm的github中说的很清楚了,可以使用git方式安装:Git InstallIf you have git installed (requires git v1.7.10+):clone this repo in the root of your user profilecd ~/ from anywhere then git clone https://github.com/nvm-sh/nvm.git .

2021-11-30 05:43:54 323

原创 Visual Studio从2017 Express升级到2019 Professional,C++项目无法找到头文件

之前的项目用Visual Studio Express 2017编写的,升级后再打开时,发现一堆红线,无法编译找到项目属性发现Platform Toolset显示的是not installed更改成一个已经安装的platform这里也要改一下,改成latest installed version红线消失,可以编译了。问题解决。...

2021-09-14 08:04:03 326

原创 C#中的静态变量与内部变量的效率

一直不了解到底应该将变量定义成动态还是静态,做了一个实验: // -------------- APP ----------- public partial class App : Application { public static int int_static = 0; public static test_class class_static = new test_class() { age=0, name=""}; } // ----

2021-08-31 08:01:12 454

原创 C# WPF编译错误:App 没有合适的静态Main方法

查看app.xml的属性,发现Build Action的属性为“Page”,将其改为"ApplicationDefinition",问题解决。

2021-04-20 08:46:50 401

原创 在Jetson AGX Xavier上安装运行deepstream-app

1. 安装Jetpack,我这个Xavier买回来就安装好了Jetpack4.4,我也不想折腾最新的4.5了,就这样安装吧。2. 安装适合nVidia的Tensorflow. 步骤参考:在这里搜索tensorflow:https://developer.nvidia.com/zh-cn/embedded/downloads然后按照右侧Document里面的指导进行安装3. 安装Deepstream依赖https://docs.nvidia.com/metropolis/deepstre.

2021-01-27 15:32:28 385

转载 2021-01-15 利用TensorRT进行预测

https://docs.nvidia.com/deeplearning/tensorrt/developer-guide/index.html#build_engine_python3.5.Performing Inference In PythonThe following steps illustrate how to perform inference in Python, now that you have an engine.ProcedureAllocate some h.

2021-01-15 16:46:04 432

转载 Docker 本地导入镜像/保存镜像/载入镜像/删除镜像

原文链接:https://www.cnblogs.com/linjiqin/p/8604756.htmlDocker 本地导入镜像/保存镜像/载入镜像/删除镜像1、Docker导入本地镜像有时候我们自己在本地或者其它小伙伴电脑上拷贝了一份镜像,有了这个镜像之后,我们可以把本地的镜像导入,使用docker import 命令。例如这里下载了一个 alibaba-rocketmq-3.2.6.tar.gz 镜像文件,使用下列命令导入:[root@rocketmq-nameserver4

2021-01-08 16:23:42 640

原创 ffplay利用directshow播放USB摄像头

首先,利用ffmpeg查看摄像头的列表:C:\Windows\system32> ffmpeg -list_devices true -f dshow -i dummyffmpeg version 2020-12-24-git-9a0f5e412a-full_build-www.gyan.dev Copyright (c) 2000-2020 the FFmpeg developers built with gcc 10.2.0 (Rev5, Built by MSYS2 project)

2021-01-04 21:23:31 2000

原创 Visual Studio Express 2017 报错 :HRESULT E_FAIL

故障描述:在选择项目的References的时候,报错HRESULT E_FAIL参考链接:https://blog.csdn.net/qq_36981814/article/details/103574485?utm_medium=distribute.pc_relevant.none-task-blog-searchFromBaidu-1.control&depth_1-utm_source=distribute.pc_relevant.none-task-blog-searchFr

2021-01-04 16:21:08 211

原创 ubuntu 20.01利用apt部署logstash并添加到自启动服务

参考官方指导:https://www.elastic.co/guide/en/logstash/current/installing-logstash.htmlsudo apt-get install apt-transport-https设定elasticsearch的源 echo "deb https://artifacts.elastic.co/packages/7.x/apt stable main" | sudo tee /etc/apt/sources.list.d/elastic-

2020-12-08 16:47:42 617

原创 Error: Could not find or load main class xxxx错误

运行环境:Windowsdata_wrapper.java的源代码:public class data_wrapper{ public static void main(String[] args){ System.out.println("Hello"); }}直接执行javac data_wrapper.javajava data_wrapper会报错:Error: Could not find or load main class data_wrapper解决办法:

2020-11-26 14:20:08 488

原创 Python错误:UnicodeDecodeError: ‘gbk‘ codec can‘t decode byte...

错误提示如下:(tf2) C:\Users\user>pythonPython 3.7.6 | packaged by conda-forge | (default, Mar 5 2020, 14:47:50) [MSC v.1916 64 bit (AMD64)] on win32Type "help", "copyright", "credits" or "license" for more information.Failed calling sys.__interactiveh.

2020-09-03 14:22:16 12255 7

原创 Some configuration for Raspiberry

Backup disk using dd command in Ubuntusudo dd if=/dev/sdc | gzip>/home/pi/raspberry.gzHide the mouse:apt install unclutterecho "@unclutter -idle 1 -root" >> /etc/xdg/lxsession/LXDE/autostartDownload a deb package:sudo apt download x.

2020-08-13 20:53:54 99

原创 Opencv Python 录像

import numpy as npimport cv2import datetimefrom general_utils import ImgUtilcap = cv2.VideoCapture(0) ## some videowriter propssz = (int(cap.get(cv2.CAP_PROP_FRAME_WIDTH)), int(cap.get(cv2.CAP_PROP_FRAME_HEIGHT))) fps = 10#fourcc = cv2.VideoWrit.

2020-07-21 22:13:25 304

原创 在Jetson的虚拟环境中安装scipy的问题

问题如下:(tf2) cpt@cie-jetson:~/jm/envs$ pip install PEP517Looking in indexes: https://mirrors.aliyun.com/pypi/simple/Collecting PEP517 Downloading https://mirrors.aliyun.com/pypi/packages/43/f6/4af3567c136e8e1620f6fcff665f9a478e68d06f9c990d0f2717cf9a2.

2020-06-11 14:16:03 896

原创 Vue的index.html文件

里面有一个这个id需要和App.vue里中的id,以及main.js里面的el:’#app’保持一致否则有问题。

2020-05-20 11:24:02 1053

原创 开始玩Vue

1. 安装nodejs参考教程:https://www.runoob.com/nodejs/nodejs-install-setup.html2. 安装npm参考教程:https://www.runoob.com/nodejs/nodejs-npm.html3. Vue的安装以及创建第一个项目:参考教程:https://www.runoob.com/vue2/vue-install.html注意,Vue应该安装在你的项目下,否则会有下面的错误信息:D:\MyDev\vue\te

2020-05-20 10:51:40 538

原创 用nginx解决Ubuntu安装Nodejs的8080端口无法访问

在树莓派Ubuntu 20.4 Server中,安装了一个Vue,在本机可以通过curl访问,但是在局域网中的其他电脑无法访问。用nginx代理服务器的形式解决了:编辑/etc/nginx/nginx.confsudo nano /etc/nginx/nginx.conf在http段的server下user www-data;worker_processes auto;pid /run/nginx.pid;include /etc/nginx/modules-enabled..

2020-05-09 17:29:40 673

原创 可以实现自动挂载双硬盘的/etc/fstab配置文件

可以实现自动挂载双硬盘的/etc/fstab配置文件LABEL=writable / ext4 defaults 0 0LABEL=system-boot /boot/firmware vfat defaults 0 1UUID=C6BCE210BCE1FAB7 /home/ubuntu/usb1 ntfs defaults 0 0UUID=9AE097F8E097D8B9 .

2020-05-09 08:50:43 296

转载 FSTAB的手册

FSTAB(5) File Formats FSTAB(5)NAME fstab - static information about the filesystemsSYNOPSIS /etc/fstabDESCRIPTION The file fstab contains ...

2020-05-09 08:27:56 238

原创 ubuntu下装载ntfs硬盘

需要先安装ntfs-3g的支持sudo apt install ntfs-3g然后创建一个用来装载ntfs硬盘的目录mkdir ~/usb查看硬盘的名字sudo fdisk -l比如我的硬盘名字是dev/sdb 1那么我就用下面的命令装载sudo mount -t ntfs-3g /dev/sdb1 ~/usb...

2020-04-16 20:27:20 1043

原创 在Windows的Anaconda环境构建Object Detection应用

Prerequisite packages Name Tutorial version-build pillow 5.4.1-py36hdc69c19_0 lxml 4.3.1-py36h1350720_0 jupyter 1.0.0-py36_7 matplotlib 3.0.2-py36hc8f65d3_0 opencv ...

2020-03-06 20:09:40 252

原创 Logstash 使用JDBC的注意事项

问题:使用如下配置文件,logstash无法连接数据库:input { jdbc { jdbc_driver_library => "../connector/mysql-connector-java-5.0.8.jar" jdbc_driver_class => "com.mysql.jdbc.Driver" jdbc_connection_string =...

2020-01-12 09:36:50 1230

原创 logstash使用JDBC连接MySQL错误(已经解决)

开始时候使用JDBC8.0.11[2020-01-03T08:17:00,189][ERROR][logstash.inputs.jdbc ] Unable to connect to database. Tried 1 times {:error_message=>"Java::JavaSql::SQLNonTransientConnectionException: CLIENT...

2020-01-03 08:38:53 6669

原创 logstash的file input plugin插件不按顺序读取数据

比如csv文件的内容如下:rec1,1,5,5rec1,2,2,2rec1,3,44,44rec1,4,33,22rec2,5,66,55rec2,6,4,4csv的mapping:csv { separator => "," skip_empty_rows => true columns => [ "Sensor...

2020-01-02 15:52:42 1050

转载 《动手学深度学习》

http://zh.d2l.ai/index.html

2019-12-26 22:21:28 86

原创 linux系统配置文件

/etc/sudoers设置哪些用户可以使用sudo命令,编辑要用so模式/etc/hosts设置本地主机与地址解析

2019-12-18 08:20:20 137

原创 视觉检测方法

https://m.sohu.com/a/286018721_100251942/?pvid=000115_3w_ahttps://m.sohu.com/a/237994751_100166336/?pvid=000115_3w_a

2019-12-18 05:42:13 561

原创 elk与hadoop的区别

https://help.aliyun.com/document_detail/48204.html

2019-12-17 05:32:49 2184

原创 anaconda打不开的解决方法

电脑系统Windows10,不知为何,anaconda navigator 点了之后没有反应,无法启动。网上有一系列教程,告诉怎么conda update之类的,尝试多种方法都没有效果。考虑到自己系统里面还有别的python被安装了,会不会是这个原因?卸载了所有的python以及anaconda,并且把anaconda的安装文件夹全部删除:C:\Users\ljm\AppData...

2019-12-11 14:12:12 18067

转载 【转】【深度学习】目标检测算法总结(R-CNN、Fast R-CNN、Faster R-CNN、FPN、YOLO、SSD、RetinaNet)

本文转自于cnblogshttps://www.cnblogs.com/guoyaohua/p/8994246.html目标检测是很多计算机视觉任务的基础,不论我们需要实现图像与文字的交互还是需要识别精细类别,它都提供了可靠的信息。本文对目标检测进行了整体回顾,第一部分从RCNN开始介绍基于候选区域的目标检测器,包括Fast R-CNN、Faster R-CNN 和 FPN等。第二部分...

2019-12-11 12:39:22 462 1

原创 Windows下更改pip源的方法

首先确定pip的位置,在命令提示符下运行:C:\Users\ljm>where pip我这里有这样的3条记录:C:\Users\ljm\AppData\Local\Continuum\anaconda3\Scripts\pip.exeC:\Python27\Scripts\pip.exeC:\Users\ljm\AppData\Local\Programs\Python\...

2019-12-10 20:16:58 265

原创 linux下给文件夹创建链接

参考教程:https://www.runoob.com/linux/linux-comm-ln.htmlln -s -n /media/cpt/d38dee7d-9a67-48d4-ba7b-40337ad955db/home/jm ~/jm

2019-12-10 08:36:31 714

原创 pycocotools在windows下的安装

如果直接用pip install pycocotools,会出现错误提示:(tf14) C:\Users\ljm\AppData\Local\Continuum\anaconda3\envs\tf14>pip install git+https://github.com/philferriere/cocoapi.git#subdirectory=PythonAPICollecting...

2019-12-05 16:08:12 1487

原创 Jetson Xavier中安装DIGITS-》Caffee中的错误

不知道为什么这么长Building wheels for collected packages: numpy, scikit-image, leveldb, pandas, python-dateutil, python-gflags, PyWavelets Building wheel for numpy (setup.py) ... error ERROR: Command erro...

2019-12-03 15:16:30 449 2

空空如也

空空如也

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

TA关注的人

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