Skip to content

Commit

Permalink
looked like a typo (#18)
Browse files Browse the repository at this point in the history
* looked like a typo

* adding .idea to gitignore

* removing file

* deleting folder

* idea workspace removal
  • Loading branch information
skviswa authored Aug 18, 2020
1 parent 97a9edd commit 65e562c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
.ipynb_checkpoints
.DS_Store
.idea

__pycache__/

Expand Down
2 changes: 1 addition & 1 deletion DeepPurpose/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,7 @@ def __init__(self, encoding, **config):
raise AttributeError('Please use LSTM or GRU.')
direction = 2 if config['rnn_drug_bidirectional'] else 1
self.rnn = self.rnn.double()
self.fc1 = nn.Linear(config['rnn_drug_hid_dim'] * direction * n_size_p, config['hidden_dim_drug'])
self.fc1 = nn.Linear(config['rnn_drug_hid_dim'] * direction * n_size_d, config['hidden_dim_drug'])

if encoding == 'protein':
in_ch = [26] + config['cnn_target_filters']
Expand Down

0 comments on commit 65e562c

Please sign in to comment.