zhhlee/InterFusion

【ValueError】high is out of bounds for int32

04756 opened this issue · 3 comments

04756 commented

I have install the modules requested according the requested.txt and the project runs on the Windows OS. But i meet this issue when I run "python algorithm/stack_train.py --dataset=omi-1".
At first, it shows in the line 143-145 of stack_train.py.
image
Then i change "0xffffffff" to "(1 << 31) - 1)" and fix the error which happened here. However, it still happens in another file.
image

04756 commented

The issue would not happens when the project runs on the ubuntu OS.

add a parameter dtype=int64

04756 commented