0a7220ed201eee2ad463264a72d5ce42c33dbcc1,trainval_net.py,,,#,113

Before Change


    os.makedirs(output_dir)

  dataset = roibatchLoader(roidb, imdb.num_classes, training=False,
                        normalize = transforms.Normalize(
                        mean=[0.485, 0.456, 0.406],
                        std=[0.229, 0.224, 0.225]))

  dataloader = torch.utils.data.DataLoader(dataset, batch_size=1,
                            shuffle=True, num_workers=0)

After Change


             fasterRCNN.RCNN_loss_cls.data[0], \
             fasterRCNN.RCNN_loss_bbox.data[0]))
          if args.use_tfboard:
            info = {
              "loss": loss_temp / args.disp_interval,
              "loss_rpn_cls": fasterRCNN.RCNN_base.RCNN_rpn.rpn_loss_cls.data[0],
              "loss_rpn_box": fasterRCNN.RCNN_base.RCNN_rpn.rpn_loss_box.data[0],
              "loss_rcnn_cls": fasterRCNN.RCNN_loss_cls.data[0],
              "loss_rcnn_box": fasterRCNN.RCNN_loss_bbox.data[0]
            }
            for tag, value in info.items():
              logger.scalar_summary(tag, value, step)

        loss_temp = 0
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 3

Instances


Project Name: jwyang/faster-rcnn.pytorch
Commit Name: 0a7220ed201eee2ad463264a72d5ce42c33dbcc1
Time: 2017-08-25
Author: jw2.yang@gmail.com
File Name: trainval_net.py
Class Name:
Method Name:


Project Name: pytorch/examples
Commit Name: 49ec0bd72b85be55579ae8ceb278c66145f593e1
Time: 2020-07-01
Author: matti.picus@gmail.com
File Name: mnist/main.py
Class Name:
Method Name: main


Project Name: ecs-vlc/torchbearer
Commit Name: 0de148f6892361e61d4b68cf97814e73692f6b1a
Time: 2019-03-14
Author: mp2u16@ecs.soton.ac.uk
File Name: docs/_static/examples/gan.py
Class Name:
Method Name: