CutPaste icon indicating copy to clipboard operation
CutPaste copied to clipboard

Bug of localization in train.py

Open zhiyuanyou opened this issue 2 years ago • 2 comments

Hi,

In train.py, there is a localization option shown like, parser.add_argument('--localization', default='False', choices=('True', 'False'), help='If True train on (64,64) cropped patches') However, if 'False' actually means True because 'False' is seen as string. So, the localization option is always True.

zhiyuanyou avatar Apr 20 '22 09:04 zhiyuanyou

thanks for noticing, we will fix it asap

LilitYolyan avatar Apr 21 '22 14:04 LilitYolyan

Also heatmap_on_image() in the final line of code has 3 arguments, but while defining it, there were only 2 arguments.

princeofpython avatar Apr 22 '22 09:04 princeofpython