解决chrome内置google翻译无法使用的问题
修改本地hosts
203.208.40.66 translate.google.com
203.208.40.66 translate.googleapis.com
修改本地hosts
203.208.40.66 translate.google.com
203.208.40.66 translate.googleapis.com
背景
用pip安装依赖包时默认访问https://pypi.Python.org/simple/,但是经常出现不稳定以及访问速度非常慢的情况,国内厂商提供的pipy镜像目前可用的有:
清华:https://pypi.tuna.tsinghua.edu.cn/simple
阿里云:http://mirrors.aliyun.com/pypi/simple/
中国科技大学 https://pypi.mirrors.ustc.edu.cn/simple/
华中理工大学:http://pypi.hustunique.com/
山东理工大学:http://pypi.sdutlinux.org/
豆瓣:http://pypi.douban.com/simple/
note:新版ubuntu要求使用https源,要注意。
NVIDIA最新深度学习模型:根据音乐自动编舞
AI Dancing
Facebook Research
Facebook AI研究人员开发了一种系统,该系统可使机器为任何输入的音乐生成舞蹈。它不仅仅是模仿人类的舞蹈动作,而是可以创建极富创意的舞蹈。研究人员认为,人工智能的舞蹈更具创造力和启发性。
AI生成了人类想象不到的舞蹈动作
(记得领取文末福利)
工作方式
1 在两个不同的时间点检测歌曲中的可量化相似性
2 在巨大的舞步序列矩阵中搜索相似的模式
1、编译x264
git clone https://code.videolan.org/videolan/x264.git
cd x264
./configure --enable-shared --enable-static --disable-asm
make
make install
cp /usr/local/lib/libx264.so.164 /lib
var playerVideo = videojs("my-player", options, function onPlayerReady() {
videojs.log('Your player is ready!');
this.on("loadstart",function(){
console.log("开始请求数据 ");
})
this.on("progress",function(){
console.log("正在请求数据 ");
})
this.on("loadedmetadata",function(){
console.log("获取资源长度完成 ")
})
this.on("canplaythrough",function(){
console.log("视频源数据加载完成")
})
this.on("waiting", function(){
console.log("等待数据")
});
this.on("play", function(){
console.log("视频开始播放")
});
this.on("playing", function(){
console.log("视频播放中")
});
this.on("pause", function(){
console.log("视频暂停播放")
});
this.on("ended", function(){
console.log("视频播放结束");
});
this.on("error", function(){
console.log("加载错误")
});
this.on("seeking",function(){
console.log("视频跳转中");
})
this.on("seeked",function(){
console.log("视频跳转结束");
})
this.on("ratechange", function(){
console.log("播放速率改变")
});
this.on("timeupdate",function(){
console.log("播放时长改变");
})
this.on("volumechange",function(){
console.log("音量改变");
})
this.on("stalled",function(){
console.log("网速异常");
})
});