Skip to content

Commit 56763b1

Browse files
jameswexwchargin
authored andcommitted
Fix what-if tool display issue on example loading without inference (#1898)
When loading just examples, without inferring through a model (such as loading data from a csv file), still need to call refreshDive_ to fully refresh the dataset display, including calculating statistics.
1 parent a795148 commit 56763b1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tensorboard/plugins/interactive_inference/tf_interactive_inference_dashboard/tf-interactive-inference-dashboard.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3729,7 +3729,7 @@ <h2>Create a distance feature</h2>
37293729
this.$.dive.atlasUrl = '';
37303730
this.$.dive.imageFieldName = '';
37313731
this.hasSprite = hasSprite;
3732-
this.updateSprite();
3732+
this.refreshDive_();
37333733
if (!this.shouldDisableInferButton_(
37343734
this.examplesAndInferences, this.modelName, this.inferenceAddress,
37353735
this.updatedExample)) {

0 commit comments

Comments
 (0)