From 2661ce0edc6cc9a06335da41974dc1d116e63867 Mon Sep 17 00:00:00 2001 From: krrome Date: Mon, 10 Dec 2018 10:34:01 +0000 Subject: [PATCH 1/2] Update model_architecture.py --- DeepSEA/model_architecture.py | 1 - 1 file changed, 1 deletion(-) diff --git a/DeepSEA/model_architecture.py b/DeepSEA/model_architecture.py index a4ac2230a..70274dac6 100644 --- a/DeepSEA/model_architecture.py +++ b/DeepSEA/model_architecture.py @@ -1,6 +1,5 @@ import torch import torch.nn as nn -import torch.legacy.nn as lnn import numpy as np from functools import reduce from torch.autograd import Variable From 2a3a6b9f9b33e3ca9a6d64f2d3aceedaf5bcbb2a Mon Sep 17 00:00:00 2001 From: krrome Date: Mon, 10 Dec 2018 10:52:18 +0000 Subject: [PATCH 2/2] Update pretrained_model_reloaded_th.py --- Basset/pretrained_model_reloaded_th.py | 1 - 1 file changed, 1 deletion(-) diff --git a/Basset/pretrained_model_reloaded_th.py b/Basset/pretrained_model_reloaded_th.py index 901664b90..5ab2979e8 100644 --- a/Basset/pretrained_model_reloaded_th.py +++ b/Basset/pretrained_model_reloaded_th.py @@ -1,7 +1,6 @@ import torch import torch.nn as nn -import torch.legacy.nn as lnn from functools import reduce from torch.autograd import Variable