DeepTemporalClustering icon indicating copy to clipboard operation
DeepTemporalClustering copied to clipboard

About the loss value

Open lushunn opened this issue 3 years ago • 2 comments

When I usepython DeepTemporalClustering.py --heatmap False --dist_metric cid --dataset CBF --pool_size 8to 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 746f18f1e6f49fd74b2c6c4de1dfcaf 7676fc6860a4d01398f565615df05a7 Looking forward to your reply,thank you!

lushunn avatar Jan 17 '22 07:01 lushunn

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

sajinpgupta avatar Apr 26 '22 17:04 sajinpgupta

    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)

sajinpgupta avatar Apr 26 '22 17:04 sajinpgupta