03 2022 档案
摘要:借助pretty_midi包进行数据格式转换 https://ldzhangyx.github.io/2020/01/13/music-practice/ midi音阶与频率关系 https://blog.csdn.net/hans_yu/article/details/113818152?spm=
阅读全文
摘要:神经网络反向传播矩阵求导 https://zhuanlan.zhihu.com/p/83859554?from_voters_page=true 词嵌入向量WordEmbedding的原理和生成方法 https://www.sohu.com/a/210757729_826434 LSTM详解 htt
阅读全文
摘要:查看已安装的包 pip list 安装指定包 pip install [package] 判断类型是否为空 if var is None: print('None') print()不换行 print('hell word',end='') 代码换行 print('hell\ o world'\ )
阅读全文
摘要:Sequence to Sequence Learning with Neural Networks https://arxiv.org/abs/1409.3215 Neural Machine Translation by Jointly Learning to Align and Transla
阅读全文
摘要:read() 读取全部数据 #打开文件 file = open('data/data/names/Arabic.txt') #一次性读取全部数据 print(file.read()) readline() 读取一行数据 # 打开文件 file = open('data/data/names/Arab
阅读全文
摘要:代码 读取excel数据合并并且保存为pkl格式 # -*- coding: utf-8 -*- import pandas as pd import os # 文件所在目录的路径 root = '日值数据集气温' # 获取目录下所有的文件名, 返回一个list file_name_list = o
阅读全文
摘要:目录下的文件 目录的名称 代码 import os # 文件所在目录的路径 root = '日值数据集气温' # 获取目录下所有的文件名, 返回一个list file_name_list = os.listdir(root) for file in file_name_list: print(fil
阅读全文