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

Before Change


  if args.optimizer == "adam":
    lr = lr * 0.1
    optimizer = torch.optim.Adam([
      {"params": fasterRCNN.RCNN_base.RCNN_base_model[0].parameters(), "lr": lr * 0.0},
      {"params": fasterRCNN.RCNN_base.RCNN_base_model[1].parameters(), "lr": lr * 0.1},
      {"params": fasterRCNN.RCNN_base.RCNN_base_model[2].parameters()},
      {"params": fasterRCNN.RCNN_base.RCNN_rpn.parameters()},

After Change


              "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

      if (step % args.checkpoint_interval == 0) and step > 0:
        //   pdb.set_trace()
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 4

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: arviz-devs/arviz
Commit Name: ae0138c4c9921c4280d20c0351d56ad6de448cfb
Time: 2020-08-02
Author: ahartikainen@users.noreply.github.com
File Name: arviz/data/io_cmdstan.py
Class Name: CmdStanConverter
Method Name: _parse_posterior


Project Name: arviz-devs/arviz
Commit Name: ae0138c4c9921c4280d20c0351d56ad6de448cfb
Time: 2020-08-02
Author: ahartikainen@users.noreply.github.com
File Name: arviz/data/io_cmdstan.py
Class Name: CmdStanConverter
Method Name: _parse_prior


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: