Tensorboard get blank page

I'm new in tensorflow and i follow this tutorial to learn about this framework. Now i'm trying to visualize my graph using Tensorboard but but i get a tensorboard blank page without any...

Argparse in iPython notebook: unrecognized arguments: -f

I am trying to pass a .py file to ipython notebook environment. I have never had to deal directly with argparse before. How do I rewrite the main() function? I tried to delete the line of def...

Tensorboard scalar plotting with epoch number on the horizontal axis

I am new to TensorFlow, and I recently started to play around a little bit with data visualization using Tensorboard. I was wondering if it is possible to convert the horizontal axis of the...

Your CPU supports instructions that this TensorFlow binary was not compiled to use: AVX AVX2

I am new to TensorFlow. I have recently installed it (Windows CPU version) and received the following message: Successfully installed tensorflow-1.4.0 tensorflow-tensorboard-0.4.0rc2 Then when I...

keras tensorboard: plot train and validation scalars in a same figure

So I am using tensorboard within keras. In tensorflow one could use two different summarywriters for train and validation scalars so that tensorboard could plot them in a same figure. Something...

How to resolve keras.callbacks import errors for TensorBoard?

Attempt 1 from keras.callbacks import TensorBoard from keras.models import Sequential from keras import layers from keras.optimizers import RMSprop tb_callback =...

How to find the Input and Output Nodes of a Frozen Model

I want to use tensorflow's optimize_for_inference.py script on a frozen Model from the model zoo: the ssd_mobilenet_v1_coco. How do i find/determine the names of the input and output name of the...

Is it possible to make tensorflow graph summary?

I'm aware of Tensorboard and how awesome it is, but I think that simple console output with current graph summary is better (and faster) for prototyping purpose. And also know that I can generate...

How to use Visdom (Tensorboard for PyTorch) with Google Colaboratory?

I would like to use visdom when training my networks using Google Colaboratory. This topic explains how to use Tensorboard thanks to ngrok : https://stackoverflow.com/a/48468512/9686730 Is there...

keras shapes while UpSampling mismatch

I'm trying to run this convolutional auto encoder sample but with my own data, so I modified its InputLayer accoridng to my images. However, on the output layer there is a problem with dimensions....

ValueError: The passed save_path is not a valid checkpoint: modeltest.ckpt

I run this code tf.reset_default_graph() v1 = tf.Variable(tf.constant(0.1, shape = [2]), name="v1") v2 = tf.Variable(tf.constant(0.2, shape = [2]), name="v2") saver = tf.train.Saver() with...

Plot validation loss in Tensorflow Object Detection API

I'm using Tensorflow Object Detection API for detection and localization of one class object in images. For these purposes, I use the pre-trained faster_rcnn_resnet50_coco_2018_01_28 model. I want...

Can I delete events.out.tfevents.XXXXXXXXXX.computer_name files from training folder

I am training faster_rcnn_inception module for object detection on custom dataset. In training directory,we found folder called eval_0 and tensorflow generated events.out.tfevents.xxxxxx...

Too Much Memory Issue with Semantic Image Segmentation NN (DeepLabV3+)

I first explain my task: I have nearly 3000 images from two different ropes. They contain rope 1, rope 2 and the background. My Labels/Masks are images, where for example the pixel value 0...

tensorboard - error:Trace already enabled - How to solve?

I'm trying to learn and use tensorboard and followed these guideline codes with a few modifications. When I run the code model.fit(x=x_train, y=y_train, epochs=5, ...

How to graph tf.keras model in Tensorflow-2.0?

I upgraded to Tensorflow 2.0 and there is no tf.summary.FileWriter("tf_graphs", sess.graph). I was looking through some other StackOverflow questions on this and they said to use...

"AssertionError: Torch not compiled with CUDA enabled" in spite upgrading to CUDA version

I figured out this is a popular question, but still I couldn't find a solution for that. I'm trying to run a simple repo Here which uses PyTorch. Although I just upgraded my Pytorch to the latest...

I can't run tf_upgrade_v2 to migrate to tensorflow 2

I try to do the following steps to migrate from TensorFlow 1 to TensorFlow 2: https://www.tensorflow.org/guide/upgrade. I can do this in Google Colab but I can't do this on my laptop. To do so, I...

ImportError: cannot import name 'rcParams' from 'matplotlib'

I have tried to uninstall and reinstall matplotlib in my tf-gpu enviornment I made but I keep getting this error: ImportError: cannot import name 'rcParams' from 'matplotlib' This is the entire...

tensorflow:Can save best model only with val_acc available, skipping

I have an issue with tf.callbacks.ModelChekpoint. As you can see in my log file, the warning comes always before the last iteration where the val_acc is calculated. Therefore, Modelcheckpoint...

error while use '' pip install torch-geometric '' ,ERROR: Failed building wheel for llvmlite

error while use '' pip install torch-geometric '' ,ERROR: Failed building wheel for llvmlite Dependence: windows VS studio 2017 python 3.5.2 tensorboard 1.8.0 absl-py ...

Tensorflow cannot find DLL, but DLL directory is in PATH

I am running a Python file inside a virtualenv. This Python file imports keras, which imports tensorflow. Running the file gives this error: (mnist)...

TF2 Object Detection API: model_main_tf2.py - validation loss?

I have been trying to train an object detection model for past 2 months and have finally succeeded by following this tutorial. Here is my colab which contains all my work. The problem is, the...

How to draw a scatter plot in Tensorboard Pytorch?

Assuming I want a generic scatter plot drawn in TensorBoard that draws the 1st batch[:, 0], batch[:, 1] of every epoch. How can that be done in TensorBoard? An old similar question (2017 january)...

How to install CUDA enabled PyTorch in a Docker container?

I am trying to build a Docker container on a server within which a conda environment is built. All the other requirements are satisfied except for CUDA enabled PyTorch (I can get PyTorch working...

Logging training metrics to a csv file

I want to log all training metrics to a csv file while it is training on YOLOV5 which is written with pytorch but the problem is that I don't want to use tensorboard. To achieve this goal I tried...

Im trying to build mediapipe on my jetson nano

So Im trying to build a mediapipe whl file for my jetson nano by following this guide https://github.com/jiuqiant/mediapipe_python_aarch64 I am successful on building it with my raspberry pi 4. By...

InvalidArgumentError: required broadcastable shapes at loc(unknown)

Background I am totally new to Python and to machine learning. I just tried to set up a UNet from code I found on the internet and wanted to adapt it to the case I'm working on bit for bit. When...

HDBSCAN: ValueError: numpy.ndarray size changed, may indicate binary incompatibility. Expected 88 from C header, got 80 from PyObject

I try to inititialize HDBSCAN for clustering in JupytherLab. I use Python 3.7.6.. import numpy as np import pandas as pd from sklearn.datasets import load_digits from sklearn.manifold import...

AttributeError: module 'setuptools._distutils' has no attribute 'version'

I was trying to train a model using tensorboard. While executing, I got this error: $ python train.py Traceback (most recent call last): File "train.py", line 6, in <module> from...