H-DenseUNet
H-DenseUNet copied to clipboard
TypeError: 'float' object cannot be interpreted as an integer
Hello,
I am getting an error concerning wrong type here in test.py
Loading model and preprocessing test data...0
------------------------------
------------------------------
Predicting masks on test data...0
------------------------------
Traceback (most recent call last):
File "test.py", line 124, in <module>
predict(args)
File "test.py", line 71, in predict
score1, score2 = predict_tumor_inwindow(model, img_test, 3, mini, maxi, args)
File "/pstore/home/krasona/dev/hcc/H-DenseUNet/lib/funcs.py", line 24, in predict_tumor_inwindow
for cols in range(left_cols,right_cols+window_cols,window_cols):
TypeError: 'float' object cannot be interpreted as an integer
Any idea how to fix that ?
I would be appreciate for any help please