Commit a0865d9
authored
Bug Fix: update hparams plugin to generate domains for boolean hparams (#6393)
## Motivation for features / changes
This has been a bug for a while that we only noticed now that hparams
are being used to filter runs in the time series dashboard.
Googlers see https://chat.google.com/room/AAAA03izhrk/VyyPgojcNvY for
context on how this was discovered
## Technical description of changes
Boolean HParams were not having a domain set. This lead to the ui
treating them as intervals, however, this lead to incorrect filter
conditions. We currently treat all non number values being filtered this
way as not matching (the alternative would be to treat them all as being
true which also seems wrong). This leads to all runs with a value for a
boolean hparam being filtered out.
## Screenshots of UI changes (or N/A)
Googlers see cl/532932348
## Alternate designs / implementations considered (or N/A)
This could have been done on the client but ideally the bug would be
fixed in other places where the api is being used.1 parent 87b3656 commit a0865d9
File tree
2 files changed
+47
-4
lines changed- tensorboard/plugins/hparams
2 files changed
+47
-4
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
311 | 311 | | |
312 | 312 | | |
313 | 313 | | |
| 314 | + | |
| 315 | + | |
| 316 | + | |
314 | 317 | | |
315 | 318 | | |
316 | 319 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
80 | 80 | | |
81 | 81 | | |
82 | 82 | | |
83 | | - | |
| 83 | + | |
84 | 84 | | |
85 | | - | |
| 85 | + | |
86 | 86 | | |
87 | 87 | | |
88 | 88 | | |
| |||
131 | 131 | | |
132 | 132 | | |
133 | 133 | | |
134 | | - | |
| 134 | + | |
135 | 135 | | |
136 | | - | |
| 136 | + | |
137 | 137 | | |
138 | 138 | | |
139 | 139 | | |
| |||
358 | 358 | | |
359 | 359 | | |
360 | 360 | | |
| 361 | + | |
| 362 | + | |
| 363 | + | |
| 364 | + | |
| 365 | + | |
| 366 | + | |
| 367 | + | |
| 368 | + | |
| 369 | + | |
| 370 | + | |
| 371 | + | |
| 372 | + | |
| 373 | + | |
| 374 | + | |
| 375 | + | |
| 376 | + | |
| 377 | + | |
| 378 | + | |
| 379 | + | |
| 380 | + | |
| 381 | + | |
| 382 | + | |
| 383 | + | |
| 384 | + | |
| 385 | + | |
| 386 | + | |
| 387 | + | |
| 388 | + | |
| 389 | + | |
| 390 | + | |
| 391 | + | |
| 392 | + | |
| 393 | + | |
| 394 | + | |
| 395 | + | |
| 396 | + | |
| 397 | + | |
| 398 | + | |
| 399 | + | |
| 400 | + | |
361 | 401 | | |
362 | 402 | | |
363 | 403 | | |
| |||
0 commit comments