Open enesok opened 1 year ago
The issue here seems to have to do with using TensorBoard in VSCode which we don't officially support (though it would be nice to fix).
Here's a workaround:
The python extension just run the PIP package which starts a server listening on port 6006 by default. You should be able to download the data by visiting http://localhost:6006/#hparams
in the browser.
It seems not working at all. I've this error on downloading HParam CSV : experiment = get_experiment.Handler( TypeError: init() missing 1 required positional argument: 'request'
Indeed, we have this call that have not all the parameters to init the Handler : https://github.com/tensorflow/tensorboard/blob/1ef41724f837a97000ad9a371b7b0d5c1606bc70/tensorboard/plugins/hparams/hparams_plugin.py#L96 The Handler constructor : https://github.com/tensorflow/tensorboard/blob/1ef41724f837a97000ad9a371b7b0d5c1606bc70/tensorboard/plugins/hparams/get_experiment.py#L22
Also, hparams_limit is defined as optional : https://github.com/tensorflow/tensorboard/blob/1ef41724f837a97000ad9a371b7b0d5c1606bc70/tensorboard/plugins/hparams/api.proto#L267 but it's used here with no check : https://github.com/tensorflow/tensorboard/blob/1ef41724f837a97000ad9a371b7b0d5c1606bc70/tensorboard/plugins/hparams/get_experiment.py#L41
After setting request_proto at end of call constructor and adding hparams_limit in the request it's working
Environment information (required)
Diagnostics
Diagnostics output
`````` --- check: autoidentify INFO: diagnose_tensorboard.py version 516a2f9433ba4f9c3a4fdb0f89735870eda054a1 --- check: general INFO: sys.version_info: sys.version_info(major=3, minor=10, micro=8, releaselevel='final', serial=0) INFO: os.name: posix INFO: os.uname(): posix.uname_result(sysname='Darwin', nodename= release='21.6.0', version='Darwin Kernel Version 21.6.0: Mon Aug 22 20:20:07 PDT 2022; root:xnu-8020.140.49~2/RELEASE_ARM64_T8110', machine='arm64') INFO: sys.getwindowsversion(): N/A --- check: package_management INFO: has conda-meta: True INFO: $VIRTUAL_ENV: None --- check: installed_packages INFO: installed: tensorboard==2.10.1 WARNING: no installation among: ['tensorflow', 'tensorflow-gpu', 'tf-nightly', 'tf-nightly-2.0-preview', 'tf-nightly-gpu', 'tf-nightly-gpu-2.0-preview'] INFO: installed: tensorflow-estimator==2.10.0 INFO: installed: tensorboard-data-server==0.6.1 --- check: tensorboard_python_version INFO: tensorboard.version.VERSION: '2.10.1' --- check: tensorflow_python_version INFO: tensorflow.__version__: '2.10.0' INFO: tensorflow.__git_version__: 'unknown' --- check: tensorboard_data_server_version INFO: data server binary: None --- check: tensorboard_binary_path INFO: which tensorboard: b'/opt/homebrew/Caskroom/miniforge/base/envs/tf-2-copy/bin/tensorboard\n' --- check: addrinfos socket.has_ipv6 = True socket.AF_UNSPEC =Issue description
Hey,
I'm trying to use tensorboard with keras-tuner to access the results as a csv file. However, the buttons 'Download data as ' in HParams do not work. I'm using tensorboard in vscode.