My model isn't converging for some reason.
I'm checking out what could be the cause, testing with a lower amount of classes ( 50 ).
I noticed the batch_y might be incorrectly generated.
batch_y = np.zeros((len(batch_x), self.num_class), dtype=K.floatx())
for i, label in enumerate(self.classes):
batch_y[i, label] = 1.
Since self.classes is always zero, it will always generate an array where only the first one is 1.
But I don't think the cause is this, probably being self.classes being incorrect, as its all zero's
This wouldn't have allowed you to generate the results in the blog.
Do you have a hint where this might be ?
Thanks
My model isn't converging for some reason. I'm checking out what could be the cause, testing with a lower amount of classes ( 50 ). I noticed the batch_y might be incorrectly generated.
Since self.classes is always zero, it will always generate an array where only the first one is 1. But I don't think the cause is this, probably being self.classes being incorrect, as its all zero's This wouldn't have allowed you to generate the results in the blog. Do you have a hint where this might be ? Thanks