風邪治らん・・・

今日も今日とて風邪の諸症状。昔は水ガブガブ飲んでりゃ勝手に治った気がするんだけど、年かねえ。


写真から写っている人の形状やポーズを機械学習で推定。

github.com

はてブで見つけたんだけど、READMEに載ってる手順も簡単だったので試してみたら、なかなか良い感じの精度で出力されて面白かった。

一応のひっかかりポイントとしては、コマンドコピペで作業してくとpip install -r requirements.txtの前の段階でnumpyを単独でインストールしといたほうが良さそうなのと、Mac環境だと以下のようなmatplotlibのエラーが出るので

RuntimeError: Python is not installed as a framework. The Mac OS X backend will not be able to function correctly if Python is not installed as a framework. See the Python documentation for more information on installing Python as a framework on Mac OS X. Please either reinstall Python as a framework, or try one of the other backends. If you are using (Ana)Conda please install python.app and replace the use of 'python' with 'pythonw'. See 'Working with Matplotlib on OSX' in the Matplotlib FAQ for more information.

以下のようなコンフィグを予め作成しておくとちゃんと動いてくれた。

$ echo "backend : TkAgg" > ~/.matplotlib/matplotlibrc


しかしDeepLearningすげーなー。一昔前ならある程度プログラミングの心得がある人ほど「いや無理でしょ」って思っちゃうようなものがどんどん実現してくる。