From 58cf1b104fa6adff32ae6f47423391aec5634c8a Mon Sep 17 00:00:00 2001 From: Luan Pham Date: Tue, 28 Nov 2023 18:15:51 +1100 Subject: [PATCH] Delete rmn/models/tmp.py --- rmn/models/tmp.py | 18 ------------------ 1 file changed, 18 deletions(-) delete mode 100644 rmn/models/tmp.py diff --git a/rmn/models/tmp.py b/rmn/models/tmp.py deleted file mode 100644 index dfe674e..0000000 --- a/rmn/models/tmp.py +++ /dev/null @@ -1,18 +0,0 @@ -import numpy as np -import torch -from torchvision import transforms - -image = np.random.rand(48, 48, 1) -image = image * 255 -image = image.astype(np.uint8) - -transform = transforms.Compose([transforms.ToPILImage(), transforms.ToTensor()]) - -tensor = transform(image) -tensor = torch.unsqueeze(tensor, 0) - - -from fer2013_models import BaseNet - -model = BaseNet() -print(model(tensor))