Open AmmarKamoona opened 5 years ago
Hi,
what optimizer are you using? Secondly, I see you are printing the running loss (the sum of the loss of the batches so far). Are you sure the loss is actually increasing?
Hi There, I am using Adam optimizer with learning rate set to=0.001. epochs is set to 30. the loss function decrease and then increase
the loss is= tensor(14281.7119, device='cuda:0', grad_fn=
@AmmarKamoona HI, can you share the complete code for training in Shanghaitech dataset? best wishes
@AmmarKamoona Have you been successful with the training? We just started experimenting with the code.
I am trying to do training but the loss function increases rather than decrease
I have attached the following training part __code start___ for cl_idx, video_id in enumerate(dataset.train_videos):