losses

mail@pastecode.io avatar
unknown
python
3 years ago
414 B
1
Indexable
Never
x_rpn_loss = []
x_iter = [50]
x_loss_cls = []
for i in range(len(experiment_metrics)):
  if "loss_rpn_bbox" in experiment_metrics[i].keys():
        x_iter.append(x_iter[-1]+50)
        x_rpn_loss.append(experiment_metrics[i]['loss_rpn_bbox'])

for i in range(len(experiment_metrics)):
  if "loss_cls" in experiment_metrics[i].keys():
        x_loss_cls.append(experiment_metrics[i]['loss_cls'])
   
x_iter.pop(-1)