Closed sf-pear closed 1 year ago
Found the issue! I had to change the convert_image_id
function here:
def convert_image_id(img_id, to_integer=False, to_string=False, prefix='2021'):
if to_integer:
return int(img_id)
# return int(prefix + img_id.replace('_', ''))
if to_string:
x = str(img_id)
return x
# assert x.startswith(prefix)
# x = x[len(prefix):]
# if len(x) == 12 or len(x) == 6:
# return x
# return x[:4] + '_' + x[4:]
Hi Orr,
I'm trying to run the code on my custom data. Now the training starts but it seems like it stops by the end of the first epoch when it's evaluating the results, but I'm not sure why this is the case. Do you have any ideas about what could be causing this issue?
What I'm running:
The error: