- 博客(7)
- 收藏
- 关注
原创 import soundfile报错:OSError: sndfile library not found
发现需要安装libsndfile。缺少libsndfile,查看。
2024-07-04 10:10:34 480
原创 Libra: TypeError: expected string or buffer
import librosa时报错:TypeError: expected string or buffer。执行 `pip install joblib==1.11.0`检查joblib版本。
2024-07-04 10:07:32 234
原创 报错:ImportError: cannot import name ‘colormaps‘ from ‘matplotlib‘
pip install matplotlib==3.6.3
2024-06-26 14:52:19 200
原创 lower_bound( )和upper_bound( )
lower_bound( begin,end,num,greater<type>() ):从数组的begin位置到end-1位置二分查找第一个小于或等于num的数字,找到返回该数字的地址,不存在则返回end。通过返回的地址减去起始地址begin,得到找到数字在数组中的下标。upper_bound( begin,end,num,greater<type>() ):从数组的begin位置到end-1位置二分查找第一个小于num的数字,找到返回该数字的地址,不存在则返回end。在从小到大的排序数组中,
2024-05-17 22:24:21 252
原创 ADC-SoC学习笔记
软件:Quartus prime 17.1;gbdserver :1000 hello_world 交叉编译。chmod 777 hello_world 添加权限给文件。修改Platform Design中的设计,添加IP。cat adc_test.c 查看文件内容。重新集成qsys系统文件到quartus中。./hello_world 执行程序。rm adc_test.c 删除文件。ls 查看当前目录下的文件名。设定信号的I/O管脚。得到sof或者rbf。
2024-05-05 14:25:10 171
原创 ImportError: cannot import name ‘Mapping‘ from ‘collections‘
原因:python3.10版本及以上不支持 from collections import Mapping。修改为:from collections.abc import Mapping。
2024-04-09 20:15:06 441
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人