Skip to content

Commit

Permalink
Merge pull request #136 from kipoi/Deepsea-remove-legacy-dep
Browse files Browse the repository at this point in the history
Fix pytorch 1.0 compatibility of DeepSEA and Basset models
  • Loading branch information
krrome authored Dec 10, 2018
2 parents 899d5de + 2a3a6b9 commit 581e40b
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 2 deletions.
1 change: 0 additions & 1 deletion Basset/pretrained_model_reloaded_th.py
Original file line number Diff line number Diff line change
@@ -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
Expand Down
1 change: 0 additions & 1 deletion DeepSEA/model_architecture.py
Original file line number Diff line number Diff line change
@@ -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
Expand Down

0 comments on commit 581e40b

Please sign in to comment.