- 博客(134)
- 资源 (19)
- 收藏
- 关注
原创 ESP32开发环境的搭建
此时,一个服务正在 Windows 上运行以共享 USB 设备,并且在 WSL 中安装了必要的工具来连接到共享设备。在附加 USB 设备之前,请确保 WSL 命令行已打开。复制examples/get-started/hello_world文件夹到你想存放的位置。WSL 本身并不支持连接 USB 设备,因此你需要安装开源 usbipd-win 项目。执行idf.py menuconfig,进入menuconfig操作主界面中。接入ESP32,找到ESP32的COM端口,本机为。编译、烧录和监控程序执行。
2023-07-15 09:39:48 505
原创 Rust Programming :The Complete Developor‘s Guide--06 Fundamentals
rust 学习笔记
2023-03-12 09:41:21 349
原创 Rust Programming :The Complete Developor‘s Guide--05 Smart Pointers & Thread
rust 学习笔记
2023-03-08 21:50:56 645 2
原创 Rust Programming :The Complete Developor‘s Guide--04 Ownership & Lifetimes
Ownership & Lifetimes
2023-02-19 09:50:31 828
原创 Rust Programming :The Complete Developor‘s Guide--03 Trait
Rust Programming :The Complete Developor‘s Guide--03 Trait
2023-02-10 22:16:42 669
原创 Rust Programming :The Complete Developor‘s Guide--02 Working With Data
rust笔记
2022-12-17 09:57:33 529
转载 makefile
makefile的规则```shell# 每条规则的语法格式:target1,target2...: depend1, depend2, ... command ...... ......```每条规则由三个部分组成分别是目标(target), 依赖(depend) 和命令(command)。命令(command): 当前这条规则的动作,一般情况下这个动作就是一个 shell 命令例如:通过某个命令编译文件、生成库文件、进入目录等。动作可以是多个,每个命令前必须
2021-08-31 15:03:35 190
原创 Git 常用方法
git push 本地项目推送到远程分支的方法在本地建立项目初始化项目 git initgit add -A提交git到版本 -m是提交的注释配置远程仓库 origin是远程仓库的别名 代替xxx.git的地址git remote add origin https://gitee.com/kingCould/HelloWord.git开始推送git push <远程主机名> <本地分支名>:<远程分支名>git push origin master:
2021-08-25 10:19:20 110
转载 GDB调试
GDB调试调试准备项目程序如果是为了进行调试而编译时,必须要打开调试选项 (-g)。另外还有一些可选项,比如:在尽量不影响程序行为的情况下关掉编译器的优化选项 (-O0),-Wall 选项打开所有 warning,也可以发现许多问题,避免一些不必要的 bug。-g选项的作用是在可执行文件中加入源代码的信息,比如可执行文件中第几条机器指令对应源代码的第几行,但并不是把整个源文件嵌入到可执行文件中,所以在调试时必须保证 gdb 能找到源文件。习惯上如果是 c程序就使用 gcc 编译,如果是 c++ 程序就使
2021-08-19 10:26:22 1095
原创 Pytorch常见问题
Can‘t get attribute ‘SiLU‘ on <module ‘torch.nn.modules.activationubuntu 18.04 serverpython3.8.0pytorch==1.6.0 torchvision==0.7.0解决方法将SiLU拷贝到~/.local/lib/python3.8/site-packages/torch/nn/modules/activation.py文件中class SiLU(Module): # export-friendly
2021-05-06 15:46:33 788 2
原创 开发常用库编译
FFMPEG(with cuda)Download FFmpeg下载nvenc的头文件git clone https://git.videolan.org/git/ffmpeg/nv-codec-headers.gitcd nv-codec-headersmakesudo make installexport PKG_CONFIG_PATH="/usr/local/lib/pkgconfig"注意选择对应cuda的版本编译../configure --prefix=/you
2021-04-30 15:22:16 141 1
原创 实用笔记10
SpaceVim配置vi ~/.SpaceVim.d/init.toml# All SpaceVim option below [option] section[options] # set spacevim theme. by default colorscheme layer is not loaded, # if you want to use more colorscheme, please load the colorscheme # layer colors
2021-04-28 14:35:10 95
原创 TVM问题集
Auto-tuning 报错参考代码:https://github.com/gary30404/tvm-yolov3.git运行一会之后程序报错,出现ImportError: cannot import name ‘aggcv’解决办法是将tvm/autotvm/tuner/xgboostcost_model 450行修改为try: from xgboost.training import aggcvexcept ImportError: from xgboost.callba
2021-04-19 17:28:13 390
原创 实用笔记09
redisRedisHelper.pyimport redisclass RedisHelper(object): def __init__(self): self.__conn = redis.Redis(host='localhost',port=6379)#连接Redis self.sub_channel = 'deep_engine_receive' #定义名称 self.pub_channel = "deep_engine_send"
2021-04-19 09:51:42 68
原创 实用笔记08
xxd命令xxd命令的作用是将给定的标准输入或者文件,做一次十六进制的输出,反之它也可以将十六进制的输出转换为原来的二进制格式。xxd -hUsage: xxd [options] [infile [outfile]] or xxd -r [-s [-]offset] [-c cols] [-ps] [infile [outfile]]Options: -a toggle autoskip: A single '*' replaces
2021-04-17 10:31:47 93
原创 实用笔记系列07
python 日志模块# -*- coding: utf-8 -*-from __future__ import absolute_importfrom __future__ import divisionfrom __future__ import print_functionfrom __future__ import unicode_literalsimport os,sysimport loggingfrom logging.handlers import TimedRotatin
2021-04-14 14:44:05 98 2
转载 A half-hour to learn Rust
In order to increase fluency in a programming language, one has to read a lot of it. But how can you read a lot of it if you don’t know what it means?In this article, instead of focusing on one or two concepts, I’ll try to go through as many Rust snippets
2021-04-01 10:28:42 179
AUTOSAR-SWS-ServiceDiscovery-4.2.1\CommonAPICppAMMSeoul\
2023-05-04
openGL 大礼包
2018-10-24
Vulkan资源包
2018-10-24
CUDA_C_Programming_Guide、CUDA并行程序设计 GPU编程指南
2018-09-02
C++优化指南
2018-07-25
X86 汇编 Assembly x86 Processors
2017-10-15
opencv 3学习资料集锦
2017-10-07
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人