I think that is because patchSize is defined as [40, 40] in param.yml by default and 40 is parsed as int instead of string - which is not allowed in python.
It could be easily solved by changing ''.join(patchSize).replace(" ", "") to str(patchSize[0]) + str(patchSize[1]).
I'm using Python 2.7 by the way, could anyone please take a look at this code or correct me if I make a mistake
Hi, I'm new to this group. However, when I try to run the
main.py
with the defaultparam.yml
configuration. Following error occurs:I think that is because
patchSize
is defined as [40, 40] inparam.yml
by default and40
is parsed as int instead of string - which is not allowed in python.It could be easily solved by changing
''.join(patchSize).replace(" ", "")
tostr(patchSize[0]) + str(patchSize[1])
.I'm using Python 2.7 by the way, could anyone please take a look at this code or correct me if I make a mistake