b2be56552694c9f18b72bfdadf936e09f55f9874,train.py,,_main_,#Any#,86

Before Change


    valid_generator = BatchGenerator(
        instances           = valid_ints, 
        anchors             = config["model"]["anchors"],   
        labels              = config["model"]["labels"],        
        downsample          = 32, // ratio between network input"s size and network output"s size, 32 for YOLOv3
        max_box_per_image   = config["model"]["max_box_per_image"],
        batch_size          = config["train"]["batch_size"],

After Change



    // load the weight of the backend, which includes all layers but the last ones
    if os.path.exists(config["train"]["saved_weights_name"]): 
        train_model.load_weights(config["train"]["saved_weights_name"], by_name=True)
    else:
        train_model.load_weights("backend.h5", by_name=True)

    //////////////////////////////////////////////////////////////
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 4

Non-data size: 2

Instances


Project Name: experiencor/keras-yolo3
Commit Name: b2be56552694c9f18b72bfdadf936e09f55f9874
Time: 2018-04-09
Author: experiencor@gmail.com
File Name: train.py
Class Name:
Method Name: _main_


Project Name: tensorlayer/srgan
Commit Name: c4510646b306fe1371a76e539f7e54299b1a5c34
Time: 2019-07-28
Author: dhsig552@163.com
File Name: train.py
Class Name:
Method Name: evaluate


Project Name: philipperemy/keras-tcn
Commit Name: 0cfe82c6beb9a28a5ff7da81b86fa0e93c388f14
Time: 2019-11-20
Author: premy@cogent.co.jp
File Name: tasks/save_reload_model.py
Class Name:
Method Name:


Project Name: tensorlayer/srgan
Commit Name: 66f0a5c87917f0abe95f660ea71aa470b2625a40
Time: 2019-07-28
Author: dhsig552@163.com
File Name: train.py
Class Name:
Method Name: evaluate