Measure Zero


  • About

  • Quotes

  • Notes

  • Sitemap

  • Search

Python 的 web 相关库杂录

2022-09-04 | ~ 2023-12-25 | Tech

随手找的一些模型部署简单例子.

  • Flask+Gunicorn+Service Streamer
  • Flask+Gunicorn
  • Flask+gevent
  • Tornado
Read more »

Triton Inference Server 简要

2022-08-29 | ~ | Tech

NVIDIA 的 Triton Inference Server.

总体架构

把模型文件 (支持主流格式) 放在 model repo, 由 inference server 调度, 根据模型配置的推理引擎 (ONNX, TensorRT 等) 输出结果.

下面以在 CPU 上部署 ONNX 模型为例.

Read more »

狮子与基督徒问题, 以及其他追及问题

2022-08-27 | ~ | Mathematics

狮子与基督徒问题 一头狮子和一个基督徒在古罗马圆形竞技场中以相同的最大速度移动. 狮子能在有限时间内抓到基督徒吗? (为什么牵扯到基督徒可以参考 这里.)

上个世纪 30 年代德裔英国数学家 Richard Rado 提出了上述问题, 称为狮子与人问题 (Lion and Man problem). 把这个问题当做数学问题, 作以下假设:

  • 不考虑体力等现实因素
  • 狮子和基督徒各为一个点 (没有体积)
  • 竞技场为闭圆盘 (后面会改变这个假设)
Read more »

CRF 复习

2022-08-23 | ~ | Statistics

回顾经典, 仔细写一下.

原论文

  • Lafferty, J., McCallum, A., & Pereira, F. C. (2001). Conditional random fields: Probabilistic models for segmenting and labeling sequence data.

条件随机场 (conditional random field, CRF) 是一种判别式无向概率图模型, 在机器学习中最常见的应用是序列标注.

Read more »

Docker 简要: 部署 Python 应用简例

2022-08-19 | ~ 2022-10-19 | Tech

Introduction

Why did Docker decide to go with a whale for their logo? Apparently to express its product’s values of expedition, automation, encapsulation and simplification. As they explain “the whale is carrying a stack of containers on its way to deliver those to you”.

  • The Hidden Stories Behind the Open Source Logos We All Love | Mend

来自官网首页

下面改编自 官方教程. 总得来说, Dockerfile 类似脚本, 记录了构建镜像 (文件) 的指令. 运行着的镜像称为容器 (类似进程). 而 docker-compose.yml 记录了运行镜像的参数配置 (类似用 shell 脚本记录命令行).

Read more »

租房 checklist

2022-08-14 | ~ | Miscellanea

先看微信小程序「暖房直租」上的避坑指南, 下文是一些自己补充的 checklist.

想象一些关键生活场景, 比如洗漱, 工作, 睡觉, 做饭, 锻炼, 购物等, 然后制定 checklist.

Read more »

Notes on cracking the PM Interview

2022-08-06 | ~ | Reading

Gayle Laakmann McDowell & Jackie Bavaro. (2013). Cracking the PM Interview: How to Land a Product Manager Job in Technology. CareerCup.

主要挑了和产品经理无关的通用章节阅读.

Read more »

工业界 NLP 实践杂录

2022-08-01 | ~ | Machine Learning

一些摘抄.

Read more »

《合作的进化》笔记

2022-07-17 | ~ | Mathematics
  • Axelrod, R. (2016). 合作的进化 (吴坚忠, 译). 上海人民出版社.

什么条件下才能从没有集权的利己主义者中产生合作? 本书在重复囚徒困境博弈的假设下, 用中学生都能懂的数学和模型推断出整个系统的行为结果. “一报还一报” 在该设定下是稳健策略, 它的收益总是不高于博弈的对手, 但能通过促成合作 (不需要参与者利他主义), 在作者组织的算法竞赛中得到最高的收益.

“没有集权的利己主义者” 这个假设的局限性很小. 本书提出的合作理论基于追求自身利益的个体. 这些个体中没有中心权威强迫他们合作, 彼此的合作不是完全基于关心他人或者考虑群体利益.

Read more »

《中国居民膳食指南》笔记

2022-07-15 | ~ | Food and Cooking
  • 中国营养学会. (2016). 中国居民膳食指南 2016. 人民卫生出版社.

看过其他类似的版本, 其他地方也零碎看过很多, 现在重新整理一遍. 很多对我而言的常识就不写了. 2022 版暂时白嫖不到, 据说加入了食物存储指南.

Read more »
1 … 5 6 7 … 18
Shiina

Shiina

知乎 豆瓣 bangumi Instagram Weibo
Creative Commons
RSS
© 2019 - 2026   Shiina   CC BY-NC-ND 4.0
RSS  
Powered by Jekyll
 
Theme NexT.Mist