reginabarzilaygroup / Sybil

Deep Learning for Lung Cancer Risk Prediction using LDCT
MIT License
62 stars 38 forks source link

ValueError: high is out of bounds for int32 #8

Closed jryoungw closed 5 months ago

jryoungw commented 1 year ago

Error message

ValueError: high is out of bounds for int32

Solution

modify 132-th line of sybil/serie.py as follows: sample = {"seed": np.random.randint(0, 2**32 - 1)} to sample = {"seed": np.random.randint(0, 2**32 - 1, dtype=np.int64)}

max-bacon commented 1 year ago

Even with that change, there are still other issues. This seems to be a Windows-only problem and doesn't occur on other OS.

pgmikhael commented 5 months ago

In case this is helpful to others, if this is a Windows issue, then there is a Windows-supported docker image released (https://github.com/reginabarzilaygroup/Sybil/wiki).