in line 99 of base trainer, not_improved_count += 1
when i resume training, my code into else partition. so occured error because this variable is not initialized but perform plus operation itself+1.
so i propose to initialize variable before where into if partition.
i face error when resume training.
in line 99 of base trainer, not_improved_count += 1 when i resume training, my code into else partition. so occured error because this variable is not initialized but perform plus operation itself+1.
so i propose to initialize variable before where into if partition.