brucechou1983/CheXNet-Keras

vec should not be hard-code intialized to length of 14

taoyilee opened this issue · 2 comments

vec = np.zeros(14)

suggestion: use len(class_names) to initialize vec instead

Pull request: #3

Same thing here

def load_generator_data(generator, steps, class_num=14):