2019-12-28から1日間の記事一覧

中卒でもわかる科学入門

小飼 弾「中卒でもわかる科学入門」 - 原発:失敗と改善を繰り返せない。- 私たちにあるのは自由意志ではなく自由不意思。次に読む本:池谷裕二「単純な脳、複雑な私」https://freespeechact.files.wordpress.com/2016/03/seeing_as_things_as_they_are_priv…

TorchScript. C++でpytorchを動かす

C++でpytorchを動かした際のメモ。 [pytorch]- tracingとscriptingについて[2]。traceは、example dataを入力しそのときに実行された計算のみを記録する。ifやloopがある場合は、scriptを用いる。 - torch.nn.ModuleListにアクセスする際は、indexを指定でき…

"cannot create temp file for here-document: No space left on device"の本質的ではない対処方法

export TMPDIR=/path/to/tmp/directory/で別途、一時ディレクトリを指定。