Skip to content

Commit

Permalink
Merge pull request #138 from TeamEpochGithub/v0.3.2
Browse files Browse the repository at this point in the history
V0.3.2
  • Loading branch information
schobbejak authored Apr 17, 2024
2 parents aa0e4d0 + 2487c7f commit 58f4cd6
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion epochalyst/pipeline/model/training/torch_trainer.py
Original file line number Diff line number Diff line change
Expand Up @@ -402,7 +402,7 @@ def predict_on_loader(
for data in tepoch:
X_batch = data[0].to(self.device).float()

y_pred = self.model(X_batch).cpu().numpy()
y_pred = self.model(X_batch).squeeze(1).cpu().numpy()
predictions.extend(y_pred)

self.log_to_terminal("Done predicting")
Expand Down
3 changes: 2 additions & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,11 +1,12 @@
[project]
name = "epochalyst"
version = "0.3.1"
version = "0.3.2"
authors = [
{ name = "Jasper van Selm", email = "jmvanselm@gmail.com" },
{ name = "Ariel Ebersberger", email = "arielebersberger@gmail.com" },
{ name = "Tolga Kopar", email = "cahittolgakopar@gmail.com" },
{ name = "Jeffrey Lim", email = "jeffrey-lim@outlook.com" },
{ name = "Hugo de Heer", email = "hugodeheer1234@gmail.com"},
]
description = "This package contains the code for team Epoch's pipeline"
readme = "README.md"
Expand Down

0 comments on commit 58f4cd6

Please sign in to comment.