savinay95n / PatchRefineNet

Improving Binary Segmentation by Incorporating Signals from Optimal Patch-wise Binarization
https://arxiv.org/pdf/2211.06560.pdf
GNU General Public License v3.0
7 stars 2 forks source link

TypeError: summary() missing 1 required positional argument: 'input_size' #1

Closed charlesrice-scu closed 10 months ago

charlesrice-scu commented 10 months ago

i download the code, the weights and the data, but can not run.

the info is: `n> python src/kvasir/refine-models/predict.py --base_model resunetplusplus --aux_model p64 --checkpoint True

Traceback (most recent call last): File "C:\Users\tang-yigong\Documents\Python-code\segment\PatchRefineNet-main\src\kvasir\refine-models\predict.py", line 80, in summary(model) TypeError: summary() missing 1 required positional argument: 'input_size'`

savinay95n commented 10 months ago

You can comment that line and retry. It was just for sanity check.