Questions tagged [tensorboard]

TensorBoard is a visualization suite for the TensorFlow library. It can be used to visualize the TensorFlow computation graph, plot quantitative metrics about the execution of the graph, and show additional data (e.g. images) that pass through it.

Filter by
Sorted by
Tagged with
-1 votes
0 answers
18 views

Tensorflow GPU performance issues

I am having performance issues with my GPU training on Tensorflow (2.9). I am training a custom model. I use the CentralStorageStrategy and set the GPU as private. strategy = tf.distribute....
Pop's user avatar
  • 12.2k
0 votes
0 answers
27 views

Cannot display graph of my model’s structure with TensorBoard because the graph is empty

I created the following code in an attempt to display a graph of training steps. for epoch in range(EPOCHS): print(f'\nstart of epoch {epoch}') start_time = time.time() for step, ...
Infman's user avatar
  • 1
-1 votes
0 answers
11 views

The loss curve in TensorBoard cannot be displayed

Has anyone encountered an issue where the loss curve cannot be displayed? (https://i.stack.imgur.com/BhgPH.png) But when I switch to SCALARS, it can be displayed smoothly. (https://i.stack.imgur.com/...
jimmmarathon's user avatar
0 votes
0 answers
42 views

How to use tensorboard Embedding Projector using Pytorch with custom dataset and custom model

Currently im doing image embedding visualisation and I want to use Tensorboard Projector PCA and T-SNE to see the image embedding similarity. I follow a website code to do the visualisation but I am ...
azam_da_bum's user avatar
0 votes
1 answer
13 views

i can't show a net graph by tensorboardX, when i want to do this

this code is simple if name == "main": # pass from torch.utils.tensorboard import SummaryWriter model = get_net(False) input_ = torch.randn((1, 3, 256, 256)) gt_ = torch.rand((1, 2, 256, 256)...
Kerry killer's user avatar
0 votes
0 answers
11 views

what are the numbers in tensorboard and how do I name them on pytorch

I'm seeing all these numbers on tensorboard when using pytorch. Some variables are named properly but intermediate computations seem to be labeled with numbers. Is there a way to name them? If I ...
MoneyBall's user avatar
  • 2,353
0 votes
0 answers
29 views

vscode pytorch tensorboard install error is appeared

I want to import tensorboard. but in vscode, i saw Launch TensorBoard Session. after i click that, this error appeard Could not install tensorboard. If pip is not available, please use the package ...
손승우's user avatar
0 votes
1 answer
24 views

tensorboard display imcomplete image

enter image description here why tensorboard display imcomplete image import torchvision from torch.utils.data import DataLoader from torch.utils.tensorboard import SummaryWriter test_data = ...
锦丝虾球's user avatar
0 votes
1 answer
35 views

Tensorboard: Trying to log RGB image. TypeError: Cannot handle this data type

I am trying to log an RGB image to Tensorboard. I made sure that my image is a numpy array with the shape (206,127,3). The values inside are numpy.uint8 with a range from 0-255. When I do: writer....
A-wels's user avatar
  • 77
0 votes
0 answers
7 views

facing issue in changing the name of tensor in tensorboard projector?

I am facing issue while changing the name of tensorboard projector, the name of tensor is defined here in the code but config = projector.ProjectorConfig() embedding = config.embeddings.add() ...
Gagan Mehta's user avatar
0 votes
0 answers
19 views

Tensorboard not loading unless I swap port each time

I am trying to view my training process in tensorboard I have two main problems: Often the jupyter interactive window (in VSCODE) often does not display anything when i run %tensorboard --logdir ...
Governor's user avatar
  • 312
0 votes
0 answers
18 views

Tensorboard not showing loss

I am trying to train autokeras with tensorboard. In tensorboard, every method shows train loss, etc.. But, the method which include adam_weighted_decay not show every loss. The yellow line in picture. ...
LinuxPenguin99's user avatar
0 votes
0 answers
16 views

Change TensorBoard hyperparameters between runs

I am trying to do some hyperparameter sweeps to find the best neural network configuration. My way of working is that I pick some (e.g. 3) possible parameters and optimize them, and then add others ...
rmeertens's user avatar
  • 4,393
0 votes
0 answers
33 views

How to plot validation loss in tensorboard?

I'd like to see validation loss in tesnorboard along with train loss. However I only see the train loss and the validation loss of the last checkpoint. I'm training a Faster R-CNN for object detection....
sevenbonk's user avatar
0 votes
0 answers
21 views

Pytorch model gets no gradients updates (All gradients are Zero!)

Problem: When training a torch network, all gradietns historgram using tensorboard are equal to zero. TensorBoard Sample The loss function remains constant ~10.24 Code Snippet The flow of the ...
Abdallah WallyAllah's user avatar
1 vote
1 answer
48 views

Evaluate and log Tensorflow GradientBoostedTreesModel over training with custom metrics

I want to evaluate tensorflow_decision_forests GradientBoostedTreesModel (Ranking task) along the training steps with my custom validation metrics. In the other tf keras model, I can do this with a ...
Tao's user avatar
  • 23
0 votes
0 answers
19 views

Limited tf.compat.v2.summary API due to missing TensorBoard installation

My Tensorboard Location: c:\install\python\lib\site-packages WARNING:root:Limited tf.compat.v2.summary API due to missing TensorBoard installation. File "C:/DATEN/Python/shape-classifier-cnn/cnn....
Wilfried Ricken's user avatar
0 votes
0 answers
47 views

Tensorboard sees my GPU but is not capturing activities

I would like to use Tensorboard to profile my model. However, Tensorboard sees my GPU but only shows "Launch Stats" for GPU. I use the following code. import tensorflow as tf mnist = tf....
Garyday's user avatar
2 votes
1 answer
2k views

ImportError while running tensorboard command: cannot import name '_plain_int' from 'werkzeug._internal'

While running tensorboard command, I have got the following import error: ImportError: cannot import name '_plain_int' from 'werkzeug._internal'. I have upgraded the Werkzeug to the last version ...
khaled 's user avatar
0 votes
0 answers
38 views

First diverging operator message for vit_b_16 and torch.utils.tensorboard

I can't get torch.utils.tensorboard to write_graph for vit_b_16 model. Here is example code: import torch from torchvision.models import get_model from torch.utils import tensorboard # create example ...
user3731622's user avatar
  • 4,872
0 votes
0 answers
52 views

Using Tensorflow.Summary.Scalar. I get the Error Message: AttributeError: 'numpy.bool_' object has no attribute 'value'

Thank you to anyone who could help me. I am very new to TensorFlow and I am trying to manually compute the Gradients. I also want to be able to visualise the evolution of key stats such as the mean of ...
Bikai Nsoudou's user avatar
1 vote
0 answers
155 views

Pytorch tensorboard graph visualization error(TracingCheckError)

I'm encountering an error with the code below. What I'm trying to do is fairly simple: I want to visualize a PyTorch model using TensorBoard. I have absolutely no idea why this error is occurring. ...
gravitydata's user avatar
0 votes
0 answers
46 views

Tensorboard Not Displaying Projector

I've been trying to get a working example of a Tensorboard Projection via Google Colab, but have not yet found something that works. I'd like to edit this document to fit a project of mind that I'm ...
Austin Moore's user avatar
0 votes
0 answers
6 views

How to use Tensorboard to autonomously draw loss, acc, and model architecture diagrams

logs_dir = "./log" graph_writer = tf.summary.create_file_writer(logdir=logs_dir) with graph_writer.as_default(): graph = model.call.get_concrete_function(train_dataset).graph ...
user22262000's user avatar
1 vote
0 answers
67 views

Pytorch lightning "hp/metrics" does not work, as developers claim

Lightning.pytorch offers a key hp_metric for logging user-defined metrics (i.e.cost function) to the tensorboard/hparams section. With this key, the user can sample experiments that have the metrics(...
Andrey Vlasenko's user avatar
0 votes
1 answer
41 views

What can TensorBoard do with TensorFlow that it cannot do with PyTorch?

I've seen PyTorch's documentation on it's integration with TensorBoard namely torch.utils.tensorboard and I am wondering if it is lacking any features that would warrant learning TensorFlow.
Baymax Lim's user avatar
0 votes
0 answers
14 views

profiling TensorFlow dataset

I'm trying to reproduce the TF profiling example from here. import tensorflow as tf tf.profiler.experimental.start('log_folder') dataset = tf.data.Dataset.range(10) dataset = dataset.map(lambda x: x)...
itamar kanter's user avatar
0 votes
0 answers
2 views

Shift a series to the right in tensorboard

I ran two training runs where the second one started where the first left off. However, tensorboard doesn't know that the training runs are related to each other and just display them as two separate ...
Alex Flint's user avatar
  • 6,160
0 votes
0 answers
50 views

How to print accuracy & loss of GAN to tensorboard?

I've played around with GAN architecture, currently running a DC-GAN on MNIST dataset and I'm having trouble figuring out how to calculate the algorithm's accuracy & print it, along with the ...
manubmxnsb's user avatar
0 votes
0 answers
24 views

Examples of extending the default TensorBoard graph plugin as a 3rd-party plugin?

I am working on extending the features of the default graph plugin in TensorBoard for my specific use case. However, I don't want to directly contribute to the TensorBoard repository. Instead, my plan ...
taroball's user avatar
0 votes
0 answers
41 views

Tensorboard not working with Keras-rl, why?

When I want to execute Tensorboard with keras-rl (DQNAgent): tb_callback = TensorBoard('/home/jose/TED/MLU_minimization/logs', update_freq=1) dqn.fit(env, nb_steps=5000000, visualize=False, verbose=1, ...
Jose Antonio Gomez De La Hiz's user avatar
1 vote
0 answers
86 views

Need Help Reading the TensorBoard Profiler Tea Leaves : TensorFlow data.Dataset.prefetch with AUTOTUNE Running Synchronously

I'm trying to figure out how to improve the data pipeline performance for a CNN model that I am running on Google Cloud with the dataset stored in Google Cloud Storage. The image dataset is too large ...
zlwohl's user avatar
  • 11
0 votes
1 answer
44 views

Show Tensorboard time series for large images

I would like to visualize a large image which consists of 50 128x128 images in a rectangle in the time series visualization of tensorboard, but it clips the image due to the tensorboard card being too ...
Masa Hu's user avatar
  • 127
0 votes
0 answers
322 views

YOLOv5 vs YOLOv8 tensorboard - viewing internal neural network architecture

When I train a YOLOv5 model and open tensorboard, I have 4 tabs: Time series, Scalars, Images, Graphs. Graphs is particularly useful because it allows me to view internal network structure and guides ...
Aleksandar's user avatar
0 votes
0 answers
18 views

how to visualize (in .jpg form) the training or test performance of yolov6?

I tried tensor board but I can't access the local host through google colab the output of the results are in events.out.tfevents.1686769862.95b239a8a19c.244.1 form how to turn it into graphs in (.jpg ...
user21408341's user avatar
0 votes
0 answers
40 views

TensorBoard graph is ugly

I hope someone had the same problem. My TensorBoard graph looks very cluttered, and I'm having trouble understanding it. I'm trying to implement a neural network for denoising, but I'm wondering if ...
Chiara's user avatar
  • 1
0 votes
1 answer
89 views

Tensorboard histogram onehot operation causing ResourceExhauseError: OOM

I'm trying to train a VGG16 model. I'm using a sample dataset of 4000 300x300 images in 14 classes, and running my code on a Google VM using an Nvidia L4 GPU with 20gb of memory. I am running python 3....
zlwohl's user avatar
  • 11
1 vote
0 answers
368 views

TensorBoard: What's the difference between the time series and scalars tabs?

I'm using tensorboard 2.11.2. I don't understand the difference between the time series and scalars tabs. I read in this article that the only difference between them is that time series is used to ...
harsanyidani's user avatar
1 vote
1 answer
285 views

How can I load a different log directory in Tensorboard after the first session on Windows 11?

I can't load my log directory by specifying the 'logdir' of tensorboard after a first tensorboard session. Once tensorboard successfully loads the first log directory, at each session afterwards it ...
Junming Zhang's user avatar
0 votes
0 answers
19 views

My TensorBoard callback conflicts with “tf.config.experimental_connect_to_cluster” function in Keras

"I did not use the TensorBoard callback at first. Later, I added the TensorBoard callback to the training function as shown in this image: error1 .However, I encountered this error message error2 ...
cobaltyang's user avatar
0 votes
1 answer
17 views

Issue on dynamic rnn - Migration from TF1x to TF2x

The algorithm supports TF1x.So, I have migrated from TF1x to TF2x since i am running in latest version Python 3.8 | Tensorflow 2x. I am getting an error for the following lines since dynamic rnn is ...
Harshitha J R's user avatar
3 votes
0 answers
242 views

Tensorboard profiler tab not showing anything behind corporate firewall

Versions: python3.7, tensorflow 2.9.1, tensorboard 2.9.1, tensorboard-plugin-profile==2.11.2. tb_callback is passed in as follows tb_callback = tf.keras.callbacks.TensorBoard(logdir=path_tologdir, ...
haneulkim's user avatar
  • 4,588
0 votes
0 answers
19 views

Showing custom image data in tensorboard by using tf.keras.callbacks.tensorboard only

I am using keras ImageDataGenerator to load my images train_batches = ImageDataGenerator().flow_from_directory(train_path, target_size=(img_height,img_width), batch_size=16,shuffle=True,class_mode='...
How to be 6's user avatar
0 votes
0 answers
51 views

How can I overwrite the TensorBoard graphics when overwriting the log directory, instead of overlaying both graphics?

I'm implementing a function to predict how accuracy will evolve when training a model. It is intended to read the log files written by TensorBoard when training a model, compute the predictions for ...
alvarodr21's user avatar
2 votes
1 answer
60 views

Interpreting loss curves in TensorBoard

I have used pytorch-lightning trainer to train my model. The train set has 6152, test and validate sets have 769 samples. Training is done for 10 epochs. trainer = pl.Trainer(logger = logger, ...
rana's user avatar
  • 69
1 vote
1 answer
161 views

How do I change the python EXE reference path for tensorboard?

I trained an RL agent and want to view the tensorboard output. When I run: tensorboard --logdir=runs I get the following error: Fatal error in launcher: Unable to create process using '"C:\...
pav's user avatar
  • 59
0 votes
0 answers
458 views

tensorboard ERROR: Failed to launch TensorBoard (exited with 2)

Im using jupyter on vast.ai Im running model and record the logs for tensorboard logdir = os.path.join("logs", datetime.datetime.now().strftime("%Y%m%d-%H%M%S")) but then when try ...
Dimitriy Glefa's user avatar
0 votes
0 answers
64 views

Set log level of Tensorboard

I am starting Tensorboard from within my application using following code: from tensorboard import program tensorflow_dir = os.path.join(parameters.model_dir, "train") if not os.path.exists(...
tiko's user avatar
  • 17
0 votes
1 answer
528 views

how to stop tensorboard in google colab

I wanted to stop current tensorboard notebook running in google colab because I could not start another tensorboard server. I searched but everyone is showing how to start a tensorboard in google ...
BitLord's user avatar
1 vote
0 answers
215 views

How can I fix the problem of not capturing profile "tools data"? How can I find the profiler service URL?

I want to use tensorboard to profile my model. But it shows that the profile "tools data" can't be found. My model-profiler, tensorboard and tensorflow version: model-profiler 1....
陳子祈's user avatar

1
2 3 4 5
40