0f0c7745d169abd3d9c37e59a7a4ed2b1db14d75,research/object_detection/meta_architectures/center_net_meta_arch.py,CenterNetMetaArch,restore_map,#CenterNetMetaArch#Any#Any#,2333

Before Change


      return {"feature_extractor": self._feature_extractor.get_base_model()}

    if fine_tune_checkpoint_type == "detection":
      return {"feature_extractor": self._feature_extractor.get_model()}

    else:
      raise ValueError("Unknown fine tune checkpoint type - {}".format(
          fine_tune_checkpoint_type))

After Change


  def restore_map(self,
                  fine_tune_checkpoint_type="detection",
                  load_all_detection_checkpoint_vars=False):
    raise RuntimeError("CenterNetMetaArch not supported under TF1.x.")

  def restore_from_objects(self, fine_tune_checkpoint_type="detection"):
    Returns a map of Trackable objects to load from a foreign checkpoint.
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 4

Non-data size: 3

Instances


Project Name: tensorflow/models
Commit Name: 0f0c7745d169abd3d9c37e59a7a4ed2b1db14d75
Time: 2020-06-26
Author: rathodv@google.com
File Name: research/object_detection/meta_architectures/center_net_meta_arch.py
Class Name: CenterNetMetaArch
Method Name: restore_map


Project Name: pytorch/pytorch
Commit Name: 249c21346208b682d128e28fe4480262f8b76cd8
Time: 2021-02-27
Author: benjamin.lefaudeux@gmail.com
File Name: torch/distributed/optim/zero_redundancy_optimizer.py
Class Name: ZeroRedundancyOptimizer
Method Name: state_dict


Project Name: onnx/onnxmltools
Commit Name: 7483270e1df4df7dd2bbe636aa4c5b92bd07fee4
Time: 2019-11-13
Author: xadupre@users.noreply.github.com
File Name: onnxmltools/convert/lightgbm/operator_converters/LightGbm.py
Class Name:
Method Name: convert_lightgbm


Project Name: onnx/onnxmltools
Commit Name: 9a24286338298ed7a75ac564054c5ab8d5580e84
Time: 2018-05-29
Author: wschin@outlook.com
File Name: onnxmltools/convert/keras/operator_converters/Pool.py
Class Name:
Method Name: convert_keras_pooling_core