Skip to content

Commit

Permalink
geneset_to_pathways
Browse files Browse the repository at this point in the history
  • Loading branch information
HanwenXuTHU committed Nov 8, 2021
1 parent 40c7066 commit 718c0d2
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 116 deletions.
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import torch
import torch.nn as nn
from model import deepTNFSLModel
from model import ProTranslatorModel
from options import model_config, data_loading
from file_loader import FileLoader
from torch.utils.data import DataLoader
Expand All @@ -16,11 +16,11 @@
import collections


class DeepTNFSL:
class ProTranslator:

def __init__(self, model_config):
self.loss_func = torch.nn.BCELoss()
self.model = deepTNFSLModel.deepTNFSLModel(input_nc=model_config.input_nc,
self.model = ProTranslatorModel.ProTranslatorModel(input_nc=model_config.input_nc,
in_nc=model_config.in_nc,
max_kernels=model_config.max_kernels,
hidden_dim=model_config.hidden_dim,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
import torch


class deepTNFSLModel(nn.Module):
class ProTranslatorModel(nn.Module):

def __init__(self,
input_nc=4,
Expand Down
50 changes: 0 additions & 50 deletions geneset_to_pathways/model/deepGoPlusModel.py

This file was deleted.

62 changes: 0 additions & 62 deletions geneset_to_pathways/model/deepZSLModel.py

This file was deleted.

0 comments on commit 718c0d2

Please sign in to comment.