Skip to content

get_gap_t produces DivisionByZero Error #40

@s-weissbach

Description

@s-weissbach

Hello,

I am trying to train DeepCAD-RT on a custom dataset. However, I always get a division by zero error in the get_gap_t function. It is working when changing self.gap_t = math.floor((self.whole_t - self.patch_t * 2) / (s_num - 1)) to self.gap_t = math.floor((self.whole_t - self.patch_t * 2) / (s_num )).

Noise image shape -----> (2100, 800, 800)

Thank you in advance

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