Skip to content
This repository has been archived by the owner on Jun 22, 2022. It is now read-only.

UNet error #2

Open
kamil-kaczmarek opened this issue May 23, 2018 · 0 comments
Open

UNet error #2

kamil-kaczmarek opened this issue May 23, 2018 · 0 comments
Labels

Comments

@kamil-kaczmarek
Copy link
Member

kamil-kaczmarek commented May 23, 2018

Currently UNet model in its forward() method returns a single tensor, so len(tensor) is batch size. On the other hand we have assertion in:
https://github.com/minerva-ml/steppy-toolkit/blob/master/steppy_toolkit/pytorch/models.py#L94, so when batch_size>1 this assertion throws an error and it should not.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

1 participant