96da2cacf837a9b84ecdeafb50dfb4a93b402f33,deeplabcut/pose_estimation_tensorflow/train.py,,train,#Any#Any#Any#Any#Any#Any#Any#,143

Before Change


        cfg.dataset_type == "scalecrop"
        or cfg.dataset_type == "tensorpack"
        or cfg.dataset_type == "deterministic"
    ) and cfg["batch_size"] != 1:
        print(
            "Switching batchsize to 1, as the tensorpack/ scalecrop/ deterministic loader does not support batches >1. Use imgaug/default loader for larger batch sizes."
        )
        cfg["batch_size"] = 1  // in case this was edited for analysis.-

After Change


    for it in range(max_iter + 1):
        if "efficientnet" in cfg.net_type:
            dict={tstep: it}
            current_lr = sess.run(learning_rate,feed_dict=dict)
        else:
            current_lr = lr_gen.get_lr(it)
            dict={learning_rate: current_lr}
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 5

Instances


Project Name: AlexEMG/DeepLabCut
Commit Name: 96da2cacf837a9b84ecdeafb50dfb4a93b402f33
Time: 2021-01-06
Author: tr.biasi@gmail.com
File Name: deeplabcut/pose_estimation_tensorflow/train.py
Class Name:
Method Name: train


Project Name: ray-project/ray
Commit Name: 57544b1ff9f97d4da9f64d25c8ea5a3d8d247ffc
Time: 2020-05-11
Author: sven@anyscale.io
File Name: rllib/examples/nested_action_spaces.py
Class Name:
Method Name:


Project Name: ray-project/ray
Commit Name: d9f1874e3489edc915228dcfdae64d5294034464
Time: 2020-10-27
Author: sven@anyscale.io
File Name: rllib/tests/test_rollout_worker.py
Class Name: TestRolloutWorker
Method Name: test_global_vars_update