Skip to content

Instantly share code, notes, and snippets.

@tttamaki
tttamaki / tqdm_sample_code.ipynb
Created April 23, 2024 23:47
tqdm sample code
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@tttamaki
tttamaki / torch_dataloader_test.ipynb
Created April 23, 2024 23:29
torch_dataloader_test.ipynb
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@tttamaki
tttamaki / pyav_test.py
Created August 4, 2022 23:24
pyav decode: seek and clip by seconds
import av
import numpy as np
def load_from_file(
filename,
any_frame=False,
backward=True
):
@tttamaki
tttamaki / resnet_surgery_new.ipynb
Created August 30, 2021 08:25
事前学習済みResNetを切り貼りしてABNを作ってみる
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@tttamaki
tttamaki / model-info-of-3d-cnns.ipynb
Created August 29, 2021 23:41
model info of 3D CNNs.ipynb
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@tttamaki
tttamaki / pytorch-dataset-addition.ipynb
Created August 29, 2021 22:49
pytorch dataset addition.ipynb
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@tttamaki
tttamaki / resnet_surgery.ipynb
Last active June 23, 2021 09:10
事前学習済みResNet50を切り貼りしてABNを作ってみた
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@tttamaki
tttamaki / pyro_ML_estimation.ipynb
Last active June 28, 2020 04:19
Pyroでいろいろな連続確率分布のパラメータを最尤推定する
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@tttamaki
tttamaki / pyro_normal_sampling_posterior.ipynb
Last active June 25, 2020 09:16
Pyroで正規分布のパラメータを求め事後分布からサンプリングする
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@tttamaki
tttamaki / pyro_normal_ml_vs_bayes.ipynb
Created June 19, 2020 09:11
Pyroで正規分布の最尤推定とベイズ推定を比較する
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.