Auto Speaker Recognition main.py the main file for test audio_record.py record audio from micro phone count_days.py count days between two date. 20110805 20160903 mfcc_feature.py extract mfcc feature from wav files SGD.model* the trained model on tr
Auto Speaker Recognition
main.py
the main file for test
audio_record.py
record audio from micro phone
count_days.py
count days between two date. 20110805 20160903
mfcc_feature.py
extract mfcc feature from wav files
SGD.model*
the trained mo
Auto Speaker Recognition
main.py
the main file for test
audio_record.py
record audio from micro phone
count_days.py
count days between two date. 20110805 20160903
mfcc_feature.py
extract mfcc feature from wav files
SGD.model*
the trained mo
变压器
中简单的变压器pytorch实现。
模型
model
ㄴ transformer.py ﹒﹒﹒ 트랜스포머 모델
ㄴ util.py ﹒﹒﹒ 모델에 사용되는 유틸
ㄴ visualization.py ﹒﹒﹒ 모델의 각 부분 시각화
train_translation.py﹒﹒﹒ 한국어-영어 번역 학습
run_translation.py ﹒﹒﹒ 한국어-영어 번역 테스트
例子
1.掩盖语言模型
在掩盖语言模型任务上进行预训练转换器,并在
环境:xadmin-for-python3 python3.5.2 django1.9.12
问题描述:Product ProductSku两个实体,ProductSku FK外键关联Product ,Product 列表页的filter不支持productsku__sku_code的搜索,主要页面加载时报Product has no field named ‘sku_code’
解决办法:
xadmin\util.py文件中def get_model_from_relation(field):
问题描述:
python代码中包含paramiko模块的远程登录ssh,在用pyInstaller转为exe时报错,
报错提示为“No handlers could be found for logger “paramiko.transport”
出错位置:
ssh = paramiko.SSHClient()
ssh.set_missing_host_key_policy(paramiko.AutoAddPolicy())
解决方案:
添加一行代码,记录传输日志。
代码如下:
p