Skip to content

Commit

Permalink
fixed test set selection
Browse files Browse the repository at this point in the history
  • Loading branch information
michal-pikusa committed Jul 11, 2023
1 parent 06934f5 commit 1b99b67
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion train.py
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,7 @@ def main(
dataset = create_datasets(compounds, profiles)
train_len = int(len(dataset)*0.9)
train_set = dataset.take(train_len)
valid_set = dataset.take(train_len)
valid_set = dataset.skip(train_len)
train(train_set, valid_set, epochs, compounds.shape[1], profiles.shape[1])


Expand Down

0 comments on commit 1b99b67

Please sign in to comment.