DeepTemporalClustering
DeepTemporalClustering copied to clipboard
About the loss value
When I usepython DeepTemporalClustering.py --heatmap False --dist_metric cid --dataset CBF --pool_size 8
to train the DTC, no matter what dataset used, loss value always suddenly increases on the 8th epoch, looks like weight of Lr
and Lc
also change with epoch, which really confuses me
Looking forward to your reply,thank you!
After 8th epoch the heatmap loss weight increases from 0.1 to 0.9. This increases the heatmap loss weightage and overall loss value can be high. Hope this helps
if epoch > self.finetune_heatmap_at_epoch:
print('On epoch end fine tune heatmap', self.finetune_heatmap_at_epoch)
K.set_value(self.heatmap_loss_weight, self.final_heatmap_loss_weight)