摘要: 1.安装Wine git clone https://gitee.com/wszqkzqk/deepin-wine-for-ubuntu.gitcd deepin-wine-for-ubuntusudo ./install.sh 2.安装企业微信 wget https://packages.deep 阅读全文
posted @ 2021-09-30 15:46 魔仙小丽丽 阅读(962) 评论(0) 推荐(0) 编辑
摘要: 1.换源 装完系统后,首先进行换源。我一般使用阿里云的源,也可以使用其他的国内源 ①备份Ubuntu原始的源 sudo cp /etc/apt/sources.list /etc/apt/sources_init.list ②修改源文件 sudo gedit /etc/apt/sources.lis 阅读全文
posted @ 2021-09-30 15:36 魔仙小丽丽 阅读(926) 评论(0) 推荐(0) 编辑
摘要: 1.因为项目需要,我安装的是opencv3.0.0,从github上面下载的opencv包 git clone https://github.com/Itseez/opencv.git git clone https://github.com/Itseez/opencv_contrib.git #o 阅读全文
posted @ 2020-12-07 14:35 魔仙小丽丽 阅读(7866) 评论(0) 推荐(1) 编辑
摘要: NEP: Testing Nonsymmetric Eigenvalue Problem routines ./EIG/xeigtstz < nep.in > znep.out 2>&1 Makefile:463: recipe for target 'znep.out' failed make[1 阅读全文
posted @ 2020-11-11 17:27 魔仙小丽丽 阅读(629) 评论(0) 推荐(0) 编辑
摘要: 在做音频处理时,用到了librosa这个库,但是一直在报错,一开始以为代码错误,后来发现import的时候就已经出错了。 我给他卸载了重新安装,结果是一样的,报错如下: Traceback (most recent call last): File "C:\Users\zhuguili\ruanji 阅读全文
posted @ 2020-04-13 12:21 魔仙小丽丽 阅读(9371) 评论(0) 推荐(0) 编辑
摘要: 1、采样频率 即取样频率, 指每秒钟取得声音样本的次数。采样频率越高,声音的质量也就越好,声音的还原也就越真实,但同时它占的资源比较多。由于人耳的分辨率很有限,太高的频率并不能分辨出来。 22050 的采样频率是常用的, 44100已是CD音质, 超过48000或96000的采样对人耳已经没有意义。 阅读全文
posted @ 2020-04-10 15:28 魔仙小丽丽 阅读(656) 评论(0) 推荐(0) 编辑
摘要: 很简单,只需要做一步(困扰了我好久) 如果你想写入文件中,显示所有的数据,而不是带有... 类似于这样: 试了好多种方法,这个是最实用的 import numpy as np np.set_printoptions(threshold=np.nan) 这样就🆗了。 简单完成 阅读全文
posted @ 2020-04-09 14:50 魔仙小丽丽 阅读(646) 评论(0) 推荐(0) 编辑
摘要: 第一步:cd 到目标路径 第二步:新建一个requirement.txt文档,将所有要下载的包一一罗列出来(需要指定版本的话,可以用==表明) 第三步:输入命令 pip install -r requirements.txt 以上操作即可完成。 上面几步操作是批量安装包,pip同时支持批量导出。 p 阅读全文
posted @ 2019-12-02 12:00 魔仙小丽丽 阅读(490) 评论(0) 推荐(0) 编辑
摘要: import numpy as np import matplotlib.pyplot as plt T = 1.0 / sample_rate #周期 x = np.arange(0, 1.0, T) y = 0.9*np.sin(2 * np.pi * fc * x) file=wave.ope 阅读全文
posted @ 2019-11-21 13:50 魔仙小丽丽 阅读(1781) 评论(0) 推荐(0) 编辑
摘要: OpenCV 基础,常用方法 导入头文件 #include <opencv2/opencv.hpp> #include <opencv2/highgui/highgui.hpp> #include <opencv2/imgproc/imgproc.hpp> using namespace cv; u 阅读全文
posted @ 2019-08-27 21:02 魔仙小丽丽 阅读(991) 评论(0) 推荐(0) 编辑