From 7d7f84dd5880452059bb4e718a08f2ef76c96ebf Mon Sep 17 00:00:00 2001 From: David Rotermund <54365609+davrot@users.noreply.github.com> Date: Thu, 13 Jul 2023 11:05:22 +0200 Subject: [PATCH] Delete 4_show.py --- 4_show.py | 24 ------------------------ 1 file changed, 24 deletions(-) delete mode 100644 4_show.py diff --git a/4_show.py b/4_show.py deleted file mode 100644 index 7276dd6..0000000 --- a/4_show.py +++ /dev/null @@ -1,24 +0,0 @@ -import numpy as np -import torch -from Anime import Anime - -# Convert from avi to npy -filename: str = "example_data_crop" - - -torch_device: torch.device = torch.device( - "cuda:0" if torch.cuda.is_available() else "cpu" -) - -print("Load data") -input = np.load(filename + str("_decorrelated.npy")) -data = torch.tensor(input, device=torch_device) -del input -print("loading done") - -data = data.nan_to_num(nan=0.0) -#data -= data.min(dim=0, keepdim=True)[0] - - -ani = Anime() -ani.show(data, vmin=0.0)