--extra-index-url https://download.pytorch.org/whl/cpu
ultralytics
requirements中添加如上设定[......]
Category Archives: Linux
Linux下使用esp32做micropython开发
1 安装工具
python -m pip install esptool
如果是conda,最好先切换到root,然后激活conda
source /your_path/anaconda3/bin/activate
conda init
更推荐提前添加权限
sudo adduser $USER $(stat --format="%G" /dev/ttyACM0 )
or
sudo usermod -aG dialout $USERNAME
需要重启操作系统才能生效
2 下[......]
Rockchip的RK3588的CPU上测试Electron(以及硬件加速)
1 安装Node.js
# Download and install nvm:
curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.40.3/install.sh | bash
# in lieu of restarting the shell
\. "$HOME/.nvm/nvm.sh"
# Download and install Node.js:
nvm install 20
# Verify t[......]
开发板GPU跑分记录
跑分附录
我的香橙派5 pro (xfce)
OpenGL Information
GL_VENDOR: Mesa/X.org
GL_RENDERER: llvmpipe (LLVM 15.0.6, 128 bits)
GL_VERSION: 4.5 (Compatibility Profile) Mesa 22.3.6
Surface Config: buf=32 r=8 g=8 b=8 a=8 depth=32 stencil=0 samples=0
S[......]
Linux设备驱动相关命令
1 查看某个驱动的支持设备信息
modinfo rtc-ds1307
会列出很多,其中能alias是都能兼容的
alias: i2c:m41t11
alias: i2c:m41t00
alias: i2c:m41t0
alias: i2c:ds3231
alias: i2c:ds1341
alias: i2c:ds1340
alias: i2c:ds13[......]