weixin-share-default

聊一聊深度学习中的优化器 Deep Learning Optimizers: From SGD to Ranger

0 写在前面 有段时间没有更新博客了,这篇其实是今年9月自己在一次组会上展示的内容,自我感觉做的还可以,因此与大家分享一下。本文中的一些见解可能不够严谨,对于理解不对的地方请不吝赐教。 1 当我们谈优化时,我们谈些什... A walkthrough of classic and modern deep learning optimizers — SGD, Momentum, AdaGrad, RMSProp, Adam, RAdam, LookAhead, and the Ranger combo — with intuitions and comparisons.

阅读更多

Scrapy小练习之爬取妹子图 Scrapy Practice: Building an Image Gallery Crawler

写在前面 之前写了一篇 Scrapy 爬取网易新闻的博客,提到下次要尝试图片爬虫,于是,这篇博客诞生啦!(我怎么会鸽呢对不对) 事实上,对于网络爬虫,爬取图片和爬取文本大同小异,其思路大致都是:获取网页 -> ... A hands-on Scrapy tutorial crawling an image gallery site — defining Items, writing spider logic, implementing ImagesPipeline, handling hotlink protection, and a comparison with a raw requests/Beau...

阅读更多

暑假前的随想 Thoughts Before Summer Break

Summer School半程总结 今天是7月12日,研究生新生暑期学校第二周的星期五。再过一周,大学本科的最后一个暑假就要来了。 暑期学校选了两门课,“Information Retrieval & In... A mid-summer-school reflection: on the courses I took, the flags I planted for the long break ahead, and doing things for yourself.

阅读更多

Scrapy小练习之新闻爬虫 Scrapy Practice: Building a News Crawler

写在前面 最近在暑期学校选的一门课需要从网上爬取文本数据,借此机会复习一下 Python 网络爬虫~ 使用的是自己之前用过的 Scrapy 框架,以下是这次自己的学习 & 动手过程。 1 复习时间 ... Building a news crawler with Scrapy — from basic CrawlSpider setup to reverse-engineering a news API when JavaScript-rendered pages block static scraping.

阅读更多

吊打一切 Shell 的 oh-my-zsh 简单配置指北 A Simple Guide to oh-my-zsh Setup

What is zsh? Shell 的类型有很多种,例如 Linux 和 MacOS 下默认的是 Bash。虽然 Bash 的功能已经足够完备,但对于以懒惰为美德的程序员来说,其提示功能不够强大,界面也不够酷(zhuan... oh-my-zsh makes zsh actually usable — here's how to install it, add syntax highlighting and autosuggestions, and pick a clean theme.

阅读更多

ffmpeg 使用笔记 ffmpeg Notes

因为毕设涉及到截取视频帧这一操作,因此(在学长的推荐下)接触并使用了 ffmpeg 这个转码视频的强大工具。 1 What is ffmpeg? ffmpeg 是一个非常有用的命令行程序,用于快速转码媒体文件。它是领... A practical guide to ffmpeg — extracting frames from video and clipping clips, with real examples from my own workflow.

阅读更多

VPS 搭建个人博客之傻瓜教程 A Beginner's Guide to Self-Hosting a Blog on a VPS

0 前言 之所以会写这篇教程,是因为发生了黑客攻击我的博客并删除数据库的事件,导致我一怒之下直接重装了服务器的系统。。。 所以,我要首先对攻击我的服务器的黑客献上最崇高的敬意: 1 准备工作 为了搭... Step-by-step: domain setup, LNMP stack install, WordPress deployment on a VPS. Written after a hacker wiped my database.

阅读更多