Category "tensorflow"

Could not load dynamic library 'cudart64_101.dll' on tensorflow CPU-only installation

I just installed the latest version of Tensorflow via pip install tensorflow and whenever I run a program, I get the log message: W tensorflow/stream_execut

Keras verbose training progress bar writing a new line on each batch issue

running a Dense feed-forward neural net in Keras. there are class_weights for two outputs, and sample_weights for a third output. fore some reason it prints the

Keras verbose training progress bar writing a new line on each batch issue

running a Dense feed-forward neural net in Keras. there are class_weights for two outputs, and sample_weights for a third output. fore some reason it prints the

Mask rcnn is giving mAP less than 1% even though the training loss is less than 0.01

I am trying to train a mask rcnn model using the tensorflow object detection api. I am using custom dataset which is grey scale CT scan images of Lung of pati

numpy random choice in Tensorflow

Is there an equivalent function to numpy random choice in Tensorflow. In numpy we can get an item randomly from the given list with its weights. np.random.c

AttributeError: module 'tensorflow_core._api.v2.config' has no attribute 'list_physical_devices'

Am using Tensorflow 2.0 on Ubuntu 18.04. On running tf.config.list_physical_devices('GPU') I get the above error. What is the workaround for this?

pipeline.config setting to train custom object detection model with keypoints pre-trained model

I have pre-trained model centernet_hg104_512x512_kpts_coco17_tpu-32, created .record files and annotated with keypoints dataset. When I run command: python mod

ImportError: No module named tensorflow - Can't install Tensorflow

I am trying to install tensorflow on mac and it's giving me this error. ImportError: No module named tensorflow Here is what I have done in the terminal sudo

Tensorflow TypeError: Fetch argument None has invalid type <type 'N

a=tf.Variable(0, name='input') b=tf.constant(1) mid_val =tf.add(a,b) update_value =tf.compat.v1.assign(a,mid_val) tg=initialize_all_variables() with tf.compa

Tensorflow - ValueError: Failed to convert a NumPy array to a Tensor (Unsupported object type float)

Continuation from previous question: Tensorflow - TypeError: 'int' object is not iterable My training data is a list of lists each comprised of 1000 floats. For

Anaconda ImportError: /usr/lib64/libstdc++.so.6: version `GLIBCXX_3.4.21' not found

I am getting the following import error when I am trying to run a Python script in a conda environment (squad) azada@scholar-fe00:~/Desktop/Toy-Problem-Team-2 $

Anyway to work with Tensorflow in Mac with Apple Silicon (M1, M1 Pro, M1 Max) GPU?

I have a MacBook Pro with an M1 Max processor and I want to run Tensorflow on this GPU. I have followed the steps from https://developer.apple.com/metal/tensorf

How to test my trained Tensor Flow model

I currently have a regression model that tries to predict a value based on 25 other ones. Here is the code I currently gave import tensorflow as tf import n

How to load data from a downloaded tar.gz file in tensorflow/keras?

Tensorflow datasets or tfds automatically starts downloading the data I want. I have cifar10 downloaded in my system. I can directly load the data in pytorch us

input_shape of Conv1D layer Keras

I am trying to make a CNN model for binary classification of a non-image dataset. My model/ code is working and producing very good results (accuracies are high

error: OpenCV(4.1.0) error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

This is the error I get: error: OpenCV(4.1.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:3718: error: (-215:Assertion failed) !ssize.empty

Sparse Categorical CrossEntropy shape problem with Keras

I have a multiclass problem where an image can be one of three classes (Masked, UnMasked, Hybrid). I am using image_dataset_from_directory from keras preprocess

Error: ValueError: The last dimension of the inputs to `Dense` should be defined. Found `None`

I'm trying to build a lstm model for text classification and I'm receiving an error. This is my entire code that I've tried. Please let me know what's the reas

Tensorflow and Multiprocessing: Passing Sessions

I have recently been working on a project that uses a neural network for virtual robot control. I used tensorflow to code it up and it runs smoothly. So far, I

Create custom convolution layer and compare two keras layers

I am currently creating a network in keras to perform harmonic/percussive source separation on an audio spectrogram using a median filtering technique (http://d