Category "tensorflow"

Access Tensorflow tensor value

I have a tensor with the following properties. I want to save the numpy = 1 but I don't know how to access this value. How do I do this? test_labels[1] <tf.

Could not load dynamic library 'libcublas.so.10'; dlerror: libcublas.so.10: cannot open shared object file: No such file or directory;

When I try to run a python script , which uses tensorflow, it shows following error ... 2020-10-04 16:01:44.994797: I tensorflow/stream_executor/platform/defaul

When importing from keras in Jupyter, getting error 'NoneType' object has no attribute 'message_types_by_name'

I am trying to do several imports from the keras library. I am doing this on a Jupyter notebook using an Anaconda installed Python. I have used keras before fin

Tensorflow fit method with generator error. AttributeError: 'tuple' object has no attribute 'shape'

I'm trying to get a basic segmentation model going before making major tweaks and no matter how simple I make it I receive this error. I'm working on Collaborat

GPU error: Sagemaker mp.p2.xlarge instance using tensorflow==2.3.0

I got the following error when trying to train my tensorflow model on sagemaker ml.p2.xlarge instance. I use tensorflow==2.3.0. I wonder whether this is because

Inverse transformation of a conditional masked autoregressive flow in tensorflow probability

The following is a normalizing flow model of the log conditional density of x_ given c_. import tensorflow as tf import tensorflow_probability as tfp tfk = tf.k

Using 3d sparse input with partial shape in Keras/Tensorflow gives error

I am trying to create a dense neural network where my input is a sparse 3d matrix. When converted to a dense matrix the shape is (2, None, n) (where n is a numb

How to enable PEP8 inspection in PyCharm IDE, except for using 2 spaces for indents? [duplicate]

I've been using PyCharm IDE a lot recently when working with the TensorFlow Python repository. TensorFlow follows the PEP8 Python style guide,

having a very large loss when I am training a regression loss

I want to predict the center of the pupil from an image. so I used a CNN with 3 Dence layer. so the input is an image and the output is a coordinate (X,Y). my m

No module named 'tqdm'

I am running the following pixel recurrent neural network (RNN) code using Python 3.6 import os import logging import numpy as np from tqdm import trange impo

Tensor conversion of bool type to int type error

I'm doing an ML practice project using tensorflow to create a model. I am stuck at a problem where i have to create a filter_mask (bool) and then multiply it to

Tensorboard Error: No dashboards are active for current data set

I am trying to use Tensorboard but every time I run any program with Tensorflow, I get an error when I go to localhost:6006 to view the Visualization Here is m

Tensor error using DiffAugment for data augmentation in my own dataset . data efficient gans

I'm trying to create synthetic data from pics within a folder called Bathroom using this colab example => https://colab.research.google.com/gist/zsyzzsoft/5f

ValueError: The two structures don't have the same sequence length

Recently I tried to convert mask rcnn in this repository from tensorflow 1 to tensorflow 2. After re-writing the codes and when I run sample "shape" and execute

AttributeError: module 'tensorflow.python.pywrap_tensorflow' has no attribute 'TFE_Py_RegisterExceptionClass'

I am trying to develop some time-series sequence prediction, using the latest resources available. To that end, I did check the example code from TensorFlow tim

AttributeError: module 'pandas' has no attribute 'core'

I have installed the tensorflow library on Windows, then my Pandas library stopped working, and after pandas importing appears the same issue as by importing th

Input 0 of layer "sequential_3" is incompatible with the layer: expected shape=(None, 256, 256, 3), found shape=(None, 324, 500, 3)

I'm having an issue if anyone can help please comment input_shape=(BATCH_SIZE,256,256,3) model=models.Sequential([ resize_and_rescale, data_aug

ImportError: No module named 'keras'

So basically, I am fairly new to programming and using python. I am trying to build an ANN model for which I have to use Tensor flow, Theano and Keras library.

Tensorflow seq2seq - keep max three checkpoints not working

I am writing a seq2seq and would like to keep only three checkpoints; I thought I was implementing this with: checkpoint_dir = './training_checkpoints' checkpoi

Reverse Image search (for image duplicates) on local computer

I have a bunch of poor quality photos that I extracted from a pdf. Somebody I know has the good quality photo's somewhere on her computer(Mac), but it's my unde