When running batch training with -d flag, the following error outputs:
line 585, in main
writer.writerow(['path']+nb_classes)
NameError: name 'nb_classes' is not defined
Looks like there is a misplaced variable assignment. Should be a quick fix for someone more familiar with the code.