8125b970cd39392aaa74f9dfc1e51bb4ed2106ea,deeppavlov/core/models/tf_model.py,TFModel,load,#TFModel#Any#,95

Before Change


        Load session from fname or from checkpoint
        
        if fname is None:
            ckpt = tf.train.get_checkpoint_state(self._model_path.parent)
            if ckpt and ckpt.model_checkpoint_path:
                fname = ckpt.model_checkpoint_path
        if fname is None:
            raise FileNotFoundError("\n:: <ERR> checkpoint not found! \n")

After Change


        Load session from fname or from checkpoint
        
        if fname is None:
            ckpt = self.get_checkpoint_state()
            if ckpt and ckpt.model_checkpoint_path:
                fname = ckpt.model_checkpoint_path
        if fname is None:
            raise FileNotFoundError("\n:: <ERR> checkpoint not found! \n")
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 5

Instances


Project Name: deepmipt/DeepPavlov
Commit Name: 8125b970cd39392aaa74f9dfc1e51bb4ed2106ea
Time: 2017-12-15
Author: mary.vikhreva@gmail.com
File Name: deeppavlov/core/models/tf_model.py
Class Name: TFModel
Method Name: load


Project Name: deepmipt/DeepPavlov
Commit Name: 0711c6e6bf8143ea6c9e8e5e138ccf2f5e9af25c
Time: 2017-12-20
Author: mary.vikhreva@gmail.com
File Name: deeppavlov/core/models/tf_model.py
Class Name: TFModel
Method Name: load


Project Name: deepmipt/DeepPavlov
Commit Name: 76125cafc9734441b4dab036e345fbb0abf1d84a
Time: 2018-01-26
Author: ol.gure@gmail.com
File Name: deeppavlov/models/ner/ner_network.py
Class Name: NerNetwork
Method Name: load