Skip to content

Divide by zero and Out of memory error #45

@Jorisfournel

Description

@Jorisfournel

I get the following error :

VNet.py:53: RuntimeWarning: divide by zero encountered in divide
weightData[defLab == 1] = np.prod(defLab.shape) / np.sum((defLab==1).astype(dtype=np.float32))
F1018 14:52:56.896700 11971 syncedmem.cpp:51] Check failed: error == cudaSuccess (2 vs. 0) out of memory
*** Check failure stack trace: ***
Abandon (core dumped)

Any idea ? Can the divide by zero be linked to the out of memory error or is it just that my GPU memory is too small ?

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