Skip to content

Stuck in the while loop #1

@BadourAlBahar

Description

@BadourAlBahar

The code gets stuck in the while loop in train.py. This happens when torch.sum(seg[i_bs,0,xstart:xend,ystart:yend]) is equal to zero at which case (k x patch_size x
patch_size) will never reach zero and hence there is no exit from the loop.

Can you please explain the function of this while loop?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions