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.

HParams plugin ModuleNotFoundError v1.13.1

See original GitHub issue

Installing Tensorflow/board v1.13.1 via pip, it seems like the pip package is missing the HParams plugin.

Importing it from tensorboard.plugins import hparams I get a ModuleNotFoundError: No module named 'tensorboard.plugins.hparams'

But the module is in the release branch of 1.13.0 here on GitHub? Am I missing something? @wchargin can shed some light? why is the HParams plugin not included in the build?

  • TensorBoard version: v1.13.0
  • OS Platform and version Ubuntu 16.04
  • Python version v3.6.8
help(tensorboard.plugins)

Help on package tensorboard.plugins in tensorboard:

NAME
    tensorboard.plugins

PACKAGE CONTENTS
    audio (package)
    base_plugin
    beholder (package)
    core (package)
    custom_scalar (package)
    debugger (package)
    distribution (package)
    graph (package)
    histogram (package)
    image (package)
    interactive_inference (package)
    pr_curve (package)
    profile (package)
    projector (package)
    scalar (package)
    text (package)

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:16 (8 by maintainers)

github_iconTop GitHub Comments

1reaction
wchargincommented, Apr 22, 2019

1.14 will (likely) be released earlier than TF 2.0, and will be compatible with the 1.x series.

0reactions
AceOfSpadesProduc100commented, Mar 2, 2021

I installed tb-nightly, but I got “TypeError: 'module; object is not callable” on “hparams=hp(”

import tensorflow as tf from text import symbols from tensorboard.plugins import hparams as hp

def create_hparams(hparams_string=None, verbose=False): """Create model hyperparameters. Parse nondefault from given string."""

hparams = hp(
    ################################
    # Experiment Parameters        #
    ################################
    epochs=500,
    iters_per_checkpoint=1000,
    seed=1234,
    dynamic_loss_scaling=True,
    fp16_run=False,
    distributed_run=False,
    dist_backend="nccl",
    dist_url="tcp://localhost:54321",
    cudnn_enabled=True,
    cudnn_benchmark=False,
    ignore_layers=['embedding.weight'],
Read more comments on GitHub >

github_iconTop Results From Across the Web

hparams - PyPI
Extensible and Fault-Tolerant Hyperparameter Management. HParams is a thoughtful approach to configuration management for machine learning projects.
Read more >
Lightning-Bolts Documentation
Table 1: Dataset information (source: EMNIST: an extension of MNIST ... z = torch.randn(x.shape[0], self.hparams.latent_dim).
Read more >
Hyperparameter Tuning with the HParams Dashboard
Visualize the results in TensorBoard's HParams plugin. The HParams dashboard can now be opened. Start TensorBoard and click on "HParams" at the ...
Read more >
2021年08月_weixin_39745013的博客_CSDN博客
sql2000不显示服务器失败,安装sql server 2000数据库提示程序配置服务器失败.(解决方法)...,服务器上没有空闲位置星露谷,星露谷物语献祭全房间收集攻略(上), ...
Read more >
Hyperparameter tuning with tensorboard HParams Dashboad ...
tf.keras.Model class overrides __setattr__ function, so you can not set mismatched variables. However, you can bypass this function below ...
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