I'm trying to implement
FCN-8s using my own custom data. While training, from scratch on the 20th iteration, I see that my loss = -nan. Could someone suggest what's going wrong. The train_val is similar to the one in the link. My solver.prototxt is as follows :-
net: "/home/ubuntu/CNN/train_val.prototxt"
test_iter: 13
test_interval: 500
display: 20
average_loss: 20
lr_policy: "fixed"
base_lr: 1e-4
momentum: 0.99
iter_size: 1
max_iter: 3000
weight_decay: 0.0005
snapshot: 200
snapshot_prefix: "train"
test_initialization: false
The images and labels are of size 512x640.