csatblogspotdotcom

Sunday, March 12, 2017

coursera-dl工具介绍

https://www.coursera.org 是在线学习网站,由Stanford University的 Daphne Koller 和 Andrew Ng(吴恩达) 创办,其中的课程比较不错,例如 Daphne Koller 的 Probabilistic Graphical Models,Andrew Ng 的 Machine Learning 不错,两门课程都是AI人工智能相关。课程内容托管在Amazon云服务上,由于大陆访问Amazon的云不是很顺畅,所以对课程学习有一些影响,解决方法可以用工具解析出正确的服务地址IP后,写到hosts文件中,或者下载课程内容,包括视频等。这里coursera-dl就是一个不错的download下载工具,它基于Python,建议Python3,使用pip安装好之后,直接运行: coursera-dl -u email(username) -p (password) --path=.(where to download) machine-learning(course name) 官方网址: https://github.com/coursera-dl/coursera-dl https://github.com/coursera-dl https://github.com/coursera-dl/coursera-dl/blob/master/README.md 里面还有另一个工具: https://github.com/coursera-dl/edx-dl 是针对另一个在线学习网址 edx 的。 下载的时候在目录下面生成文件 ****-syllabus-parsed.json (例如 machine-learning-syllabus-parsed.json) 下载如果卡住,可 Ctrl+C 强行终止后,在同一路径再次运行同一命令继续下载(程序错误退出也可以这样继续),之前已下载过的、重复的就不会下载

Labels: , , ,

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home