diff --git a/RELEASE.md b/RELEASE.md index 9be498b753..b042bc5eb2 100644 --- a/RELEASE.md +++ b/RELEASE.md @@ -1,3 +1,12 @@ +# Release 1.13.1 + +## Bug fixes +- #1895 - Fix `strftime`-related launch error on Windows (PR #1900) +- #1794 - Fix What-If Tool loading examples without inference (PR #1898) +- #1914 - Disable the profile dashboard inside Colab, where it doesn’t work +- #1945 - Fix profile dashboard loading behavior + + # Release 1.13.0 The 1.13 minor series tracks TensorFlow 1.13. diff --git a/tensorboard/manager.py b/tensorboard/manager.py index 0e941ce06f..a86c010b10 100644 --- a/tensorboard/manager.py +++ b/tensorboard/manager.py @@ -47,7 +47,8 @@ _type_timestamp = _FieldType( serialized_type=int, # seconds since epoch runtime_type=datetime.datetime, # microseconds component ignored - serialize=lambda dt: int(dt.strftime("%s")), + serialize=lambda dt: int( + (dt - datetime.datetime.fromtimestamp(0)).total_seconds()), deserialize=lambda n: datetime.datetime.fromtimestamp(n), ) _type_int = _FieldType( diff --git a/tensorboard/plugins/interactive_inference/tf_interactive_inference_dashboard/tf-interactive-inference-dashboard.html b/tensorboard/plugins/interactive_inference/tf_interactive_inference_dashboard/tf-interactive-inference-dashboard.html index 5237daffb4..35ebd8d9f1 100644 --- a/tensorboard/plugins/interactive_inference/tf_interactive_inference_dashboard/tf-interactive-inference-dashboard.html +++ b/tensorboard/plugins/interactive_inference/tf_interactive_inference_dashboard/tf-interactive-inference-dashboard.html @@ -3729,7 +3729,7 @@

Create a distance feature

this.$.dive.atlasUrl = ''; this.$.dive.imageFieldName = ''; this.hasSprite = hasSprite; - this.updateSprite(); + this.refreshDive_(); if (!this.shouldDisableInferButton_( this.examplesAndInferences, this.modelName, this.inferenceAddress, this.updatedExample)) { diff --git a/tensorboard/plugins/profile/tf_profile_dashboard/tf-profile-dashboard.html b/tensorboard/plugins/profile/tf_profile_dashboard/tf-profile-dashboard.html index 7363254628..452fd3abde 100644 --- a/tensorboard/plugins/profile/tf_profile_dashboard/tf-profile-dashboard.html +++ b/tensorboard/plugins/profile/tf_profile_dashboard/tf-profile-dashboard.html @@ -43,37 +43,69 @@