摘要:
wav音频文件按秒切片段 import wave def split_wav_by_seconds(input_file, output_file, start_second, end_second): with wave.open(input_file, 'rb') as wf: framerat 阅读全文
摘要:
推荐使用库: blind-watermark pip install blind-watermark https://github.com/guofei9987/blind_watermark 阅读全文
摘要:
把图片的颜色空间转为HSV H表示色调(下图横轴), 图片的平均H值可用于区分冷暖 阅读全文
摘要:
安装:https://pypi.org/project/spleeter/ 下载权重: 2sterms.tar.gz https://github.com/deezer/spleeter/releases/tag/v1.4.0 2sterms分区分 背景音和人声, 此外还有4sterms和5ster 阅读全文
摘要:
可以用Tensorboard在vscode的ssh连接中显示plot出的图像. 具体方法如下: from torch.utils.tensorboard import SummaryWriter writer = SummaryWriter(log_dir='./logdir/') fig = pl 阅读全文