Skip to content

Instantly share code, notes, and snippets.

@vhoulbreque
vhoulbreque / nteract-tricks.md
Last active March 30, 2021 14:44
Make conda environments visible in nteract

Nteract tricks

To add a conda environment to the list of environments:

$ source activate thisenv
(thisenv) $ pip install ipykernel
(thisenv) $ python -m ipykernel install --user --name thisenv
# git clone from https://github.com/tkarras/progressive_growing_of_gans
# download the snapshot from their Google drive
# use the following code in the same directory to generate random faces
import os
import sys
import time
import glob
import shutil
import operator
import theano
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
親愛なるOFユーザーの皆様
元気ですか?
僕は元気です。
日曜日、僕の住む西永福の公園をジョギングしていると、太極拳のような謎の体操をしているおじさん、おばさんを見かけます。そのゆっくりな、スムーズな、同じ方向へ向かう動きや目線、腰のオリエンテーションを見て、心が新たな発見をしたりします。
これを書いている今は24:47, 京王井の頭線、三鷹台、只今八王子へ向かっております。何を言いたいのかは未だ決まっておりません。