c5e3687e01175db4bc00fe0738b0504f78601d9b,options/train_options.py,TrainOptions,initialize,#TrainOptions#,6

Before Change



class TrainOptions(BaseOptions):
    def initialize(self):
        BaseOptions.initialize(self)
        self.parser.add_argument("--display_freq", type=int, default=10, help="frequency of showing training results on screen")
        self.parser.add_argument("--print_freq", type=int, default=50, help="frequency of showing training results on console")
        self.parser.add_argument("--display_single_pane_ncols", type=int, default=0, help="if positive, display all images in a single visdom web panel with certain number of images per row.")
        self.parser.add_argument("--save_latest_freq", type=int, default=5000, help="frequency of saving the latest results")

After Change



class TrainOptions(BaseOptions):
    def initialize(self, parser):
        parser = BaseOptions.initialize(self, parser)
        parser.add_argument("--display_freq", type=int, default=10, help="frequency of showing training results on screen")
        parser.add_argument("--print_freq", type=int, default=50, help="frequency of showing training results on console")
        parser.add_argument("--display_single_pane_ncols", type=int, default=0, help="if positive, display all images in a single visdom web panel with certain number of images per row.")
        parser.add_argument("--save_latest_freq", type=int, default=5000, help="frequency of saving the latest results")
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 2

Instances


Project Name: Zhaoyi-Yan/Shift-Net_pytorch
Commit Name: c5e3687e01175db4bc00fe0738b0504f78601d9b
Time: 2018-07-03
Author: v_yanzhaoyi@baidu.com
File Name: options/train_options.py
Class Name: TrainOptions
Method Name: initialize


Project Name: explosion/thinc
Commit Name: 97729e6201978abec166fe351d59767bed1cbb5a
Time: 2020-12-03
Author: svlandeg@users.noreply.github.com
File Name: thinc/layers/residual.py
Class Name:
Method Name: init


Project Name: Zhaoyi-Yan/Shift-Net_pytorch
Commit Name: c5e3687e01175db4bc00fe0738b0504f78601d9b
Time: 2018-07-03
Author: v_yanzhaoyi@baidu.com
File Name: options/test_options.py
Class Name: TestOptions
Method Name: initialize