question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

HParam table view sort not working

See original GitHub issue

Environment information

Diagnostics

Diagnostics output
--- check: autoidentify
INFO: diagnose_tensorboard.py version 66d35fe98ca66dc3a5ae600631a8aa6bce785bc5

--- check: general                                                                                     
INFO: sys.version_info: sys.version_info(major=3, minor=6, micro=9, releaselevel='final', serial=0)    
INFO: os.name: posix                                                                                   
INFO: os.uname(): posix.uname_result(sysname='Linux', nodename='tensorboard', release='5.0.0-1026-gcp', version='#27~18.04.1-Ubuntu SMP Fri Nov 15 07:40:39 UTC 2019', machine='x86_64')
INFO: sys.getwindowsversion(): N/A                                                                     
                                                                                                       
--- check: package_management                                                                          
INFO: has conda-meta: False                                                                            
INFO: $VIRTUAL_ENV: None                                                                               
                                                                                                       
--- check: installed_packages
INFO: installed: tensorboard==2.0.0
INFO: installed: tensorflow==1.13.1
INFO: installed: tensorflow-estimator==1.13.0

--- check: tensorboard_python_version
INFO: tensorboard.version.VERSION: '2.0.0'

--- check: tensorflow_python_version
/home/patzm/.local/lib/python3.6/site-packages/tensorflow/python/framework/dtypes.py:526: FutureWarning: Passing (type, 1) or '1type' as a synonym of type is deprecated; in a future version of numpy, it will be understood as (type, (1,)) / '(1,)type'.
  _np_qint8 = np.dtype([("qint8", np.int8, 1)])
/home/patzm/.local/lib/python3.6/site-packages/tensorflow/python/framework/dtypes.py:527: FutureWarning: Passing (type, 1) or '1type' as a synonym of type is deprecated; in a future version of numpy, it will be understood as (type, (1,)) / '(1,)type'.
  _np_quint8 = np.dtype([("quint8", np.uint8, 1)])
/home/patzm/.local/lib/python3.6/site-packages/tensorflow/python/framework/dtypes.py:528: FutureWarning: Passing (type, 1) or '1type' as a synonym of type is deprecated; in a future version of numpy, it will be understood as (type, (1,)) / '(1,)type'.
  _np_qint16 = np.dtype([("qint16", np.int16, 1)])
/home/patzm/.local/lib/python3.6/site-packages/tensorflow/python/framework/dtypes.py:529: FutureWarning: Passing (type, 1) or '1type' as a synonym of type is deprecated; in a future version of numpy, it will be understood as (type, (1,)) / '(1,)type'.
  _np_quint16 = np.dtype([("quint16", np.uint16, 1)])
/home/patzm/.local/lib/python3.6/site-packages/tensorflow/python/framework/dtypes.py:530: FutureWarning: Passing (type, 1) or '1type' as a synonym of type is deprecated; in a future version of numpy, it will be understood as (type, (1,)) / '(1,)type'.
  _np_qint32 = np.dtype([("qint32", np.int32, 1)])
/home/patzm/.local/lib/python3.6/site-packages/tensorflow/python/framework/dtypes.py:535: FutureWarning: Passing (type, 1) or '1type' as a synonym of type is deprecated; in a future version of numpy, it will be understood as (type, (1,)) / '(1,)type'.
  np_resource = np.dtype([("resource", np.ubyte, 1)])
INFO: tensorflow.__version__: '1.13.1'
INFO: tensorflow.__git_version__: "b'v1.13.1-0-g6612da8951'"

--- check: tensorboard_binary_path
INFO: which tensorboard: b'/home/patzm/.local/bin/tensorboard\n'

--- check: addrinfos
socket.has_ipv6 = True
socket.AF_UNSPEC = <AddressFamily.AF_UNSPEC: 0>
socket.SOCK_STREAM = <SocketKind.SOCK_STREAM: 1>
socket.AI_ADDRCONFIG = <AddressInfo.AI_ADDRCONFIG: 32>
socket.AI_PASSIVE = <AddressInfo.AI_PASSIVE: 1>
Loopback flags: <AddressInfo.AI_ADDRCONFIG: 32>
Loopback infos: [(<AddressFamily.AF_INET6: 10>, <SocketKind.SOCK_STREAM: 1>, 6, '', ('::1', 0, 0, 0)), (<AddressFamily.AF_INET: 2>, <SocketKind.SOCK_STREAM: 1>, 6, '', ('127.0.0.1', 0))]
Wildcard flags: <AddressInfo.AI_PASSIVE: 1>                                                            
Wildcard infos: [(<AddressFamily.AF_INET: 2>, <SocketKind.SOCK_STREAM: 1>, 6, '', ('0.0.0.0', 0)), (<AddressFamily.AF_INET6: 10>, <SocketKind.SOCK_STREAM: 1>, 6, '', ('::', 0, 0, 0))]

--- check: readable_fqdn
INFO: socket.getfqdn(): 'tensorboard.c.tensorflow-training-176320.internal'

--- check: stat_tensorboardinfo
INFO: directory: /tmp/.tensorboard-info                                                                
INFO: os.stat(...): os.stat_result(st_mode=16895, st_ino=145168, st_dev=2049, st_nlink=2, st_uid=1005, st_gid=1006, st_size=4096, st_atime=1576537836, st_mtime=1576576519, st_ctime=1576576519)
INFO: mode: 0o40777

--- check: source_trees_without_genfiles
INFO: tensorboard_roots (1): ['/home/patzm/.local/lib/python3.6/site-packages']; bad_roots (0): []

--- check: full_pip_freeze

netifaces==0.10.4
numpy==1.17.2
oauthlib==2.0.6
PAM==0.4.2
parso==0.5.1
pbr==5.1.1
pip==9.0.1
pluggy==0.12.0
protobuf==3.10.0
pyasn1==0.4.2
pyasn1-modules==0.2.1
pycrypto==2.6.1
pygobject==3.26.1
PyJWT==1.5.3
pynvim==0.3.2
pyOpenSSL==17.5.0
pyserial==3.4
python-apt==1.6.4
python-debian==0.1.32
python-jsonrpc-server==0.2.0
python-language-server==0.28.1
pyxdg==0.25
PyYAML==3.12
requests==2.18.4
requests-unixsocket==0.1.5
SecretStorage==2.3.1
service-identity==16.0.0
setuptools==41.4.0
six==1.12.0
ssh-import-id==5.7
stevedore==1.30.0
systemd-python==234
tensorboard==2.0.0
tensorflow==1.13.1
tensorflow-estimator==1.13.0
termcolor==1.1.0
Twisted==17.9.0
ufw==0.36
unattended-upgrades==0.1
urllib3==1.22
virtualenv==16.1.0
virtualenv-clone==0.4.0
virtualenvwrapper==4.8.2
Werkzeug==0.16.0
wheel==0.33.6
zipp==0.5.2
zope.interface==4.3.2

For browser-related issues, please additionally specify:

  • Firefox 71.0 on Manjaro Linux 64 bit
  • Google Chrome Version 79.0.3945.79 (Official Build) (64-bit)

Issue description

In the Table View image sorting only works sporadically. Most of the time, it doesn’t work at all, other times, sorting is applied to the previously selected column. This seems to be independent of whether you first select the sorting direction and then the sort by drop down, or otherwise round. This seems to be independent of the number of trials. Currently, I observe that for around ~50 runs. On the server side that hosts the TensorBoard, I don’t observe CPU core utilization or RAM saturation.

Issue Analytics

  • State:open
  • Created 4 years ago
  • Reactions:2
  • Comments:22 (5 by maintainers)

github_iconTop GitHub Comments

4reactions
georgeadamcommented, May 11, 2020

I am having a very similar problem, and it seems to only be a problem with some columns, namely the metrics columns. However, this depends on the total number of columns

image

The requests to the server are fine in terms of completion.

I will note that this problem also occurs when trying to filter values based on min-max range for a column where the sorting doesn’t work. Interestingly enough, if you filter values before trying to sort, it works. If you try after, it no longer works, likely due to the client-side bugs that are messing with the table.

2reactions
tshadleycommented, Aug 14, 2021

I observe this issue but only when I have at least one hparam that is a string. That string creates an off-by-one miscalculation in the session_groups Request Payload judging by the position of the “order:” key.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Why doesn't the sort on my TableView in JavaFX work
When clicking the header it seems like its sorting but not refreshing the view. If I change the tab and go back, the...
Read more >
Hyperparameter Tuning with the HParams Dashboard
Sort by hyperparameter/metric in the table view; Number of session groups to show (useful for performance when there are many experiments). The ...
Read more >
Data Table Sort Direction Param Not Firing On Certain Columns
Just flip the order in which you map fieldName and update the data table parameters and your code looks like it'll work fine....
Read more >
JavaScript Data Grid ColumnSorting - Handsontable
This plugin sorts the view by columns (but does not sort the data source!) ... sorting options for all columns columnSorting: { sortEmptyCells:...
Read more >
Tables and Views — PostgREST 9.0.0 documentation
not. NOT. negates another operator, see Logical operators ... schema you must refresh PostgREST's schema cache for Resource Embedding to work properly. See...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found