37d2a3fee7048675cb8f34df68c7b616553918ac,tutorials/tensorflow/mlflow_gcp/trainer/task.py,,train_and_evaluate,#Any#,144

Before Change


                                    tf_signature_def_key="serving_default",
                                    artifact_path="model")
        // Reloading the model
        pyfunc_model = mlflow.pyfunc.load_model(
            mlflow.get_artifact_uri("model"))
        logging.info("Uploading TensorFlow events as a run artifact.")
        mlflow.log_artifacts(tensorboard_path)
        logging.info(
            "Launch TensorBoard with:\n\ntensorboard --logdir=%s" %

After Change


                                    artifact_path="model")
        // Reloading the model
        if args.model_reload:
            mlflow.pyfunc.load_model(mlflow.get_artifact_uri("model"))

        logging.info("Uploading TensorFlow events as a run artifact.")
        mlflow.log_artifacts(tensorboard_path)
        logging.info(
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 6

Non-data size: 3

Instances


Project Name: GoogleCloudPlatform/ml-on-gcp
Commit Name: 37d2a3fee7048675cb8f34df68c7b616553918ac
Time: 2019-12-18
Author: gogasca@google.com
File Name: tutorials/tensorflow/mlflow_gcp/trainer/task.py
Class Name:
Method Name: train_and_evaluate


Project Name: mlflow/mlflow
Commit Name: 062722b172f403e613c41f9bb024b3e1673dfe31
Time: 2020-08-13
Author: hkawamura0130@gmail.com
File Name: tests/tensorflow_autolog/test_tensorflow_autolog.py
Class Name:
Method Name: test_tf_estimator_autolog_model_can_load_from_artifact


Project Name: mlflow/mlflow
Commit Name: 062722b172f403e613c41f9bb024b3e1673dfe31
Time: 2020-08-13
Author: hkawamura0130@gmail.com
File Name: tests/tensorflow/test_tensorflow2_model_export.py
Class Name:
Method Name: test_log_and_load_model_persists_and_restores_model_successfully


Project Name: mlflow/mlflow
Commit Name: 062722b172f403e613c41f9bb024b3e1673dfe31
Time: 2020-08-13
Author: hkawamura0130@gmail.com
File Name: tests/tensorflow_autolog/test_tensorflow2_autolog.py
Class Name:
Method Name: test_tf_estimator_autolog_model_can_load_from_artifact


Project Name: mlflow/mlflow
Commit Name: 062722b172f403e613c41f9bb024b3e1673dfe31
Time: 2020-08-13
Author: hkawamura0130@gmail.com
File Name: tests/tensorflow/test_tensorflow_model_export.py
Class Name:
Method Name: test_load_model_loads_artifacts_from_specified_model_directory


Project Name: mlflow/mlflow
Commit Name: 062722b172f403e613c41f9bb024b3e1673dfe31
Time: 2020-08-13
Author: hkawamura0130@gmail.com
File Name: tests/tensorflow/test_tensorflow2_model_export.py
Class Name:
Method Name: test_load_model_loads_artifacts_from_specified_model_directory