-
Notifications
You must be signed in to change notification settings - Fork 43
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
get_steps_per_epoch fails if block_shape is None #278
Comments
won't fail. all good. nobrainer/nobrainer/dataset.py Lines 241 to 243 in ed0d609
|
fails if |
this line nobrainer/nobrainer/dataset.py Line 122 in ed0d609
|
this is resolved by calculating the number of files within each shard. This case doesn't account for the situation where the last shard may have fewer files but that shouldn't impact the training process in any way. |
The
get_steps_per_epoch
method of thenobrainer.dataset.Dataset
class assumes blocks are created from the input images. This method needs refactoring to handle theblock_shape = None
case.nobrainer/nobrainer/dataset.py
Lines 249 to 266 in ed0d609
The text was updated successfully, but these errors were encountered: