Category "tensorflow"

fedprox tensorflow federated (TypeError: cannot unpack non-iterable LearningProcessOutput object)

iterative_process = tff.learning.algorithms.build_unweighted_fed_prox( model_fn, proximal_strength= 0.5, client_optimizer_fn=lambda: tf.keras.optim

How can fit a keras model with a dataframe of numpy arrays?

I want to train a model with self-generated matrices (word vectors). My data have the following datatypes: print(type(X)) print(type(X[0])) print(type(X[0][0]))

How can i do many things to configure data with keras

I am a beginner learning deep learning by Keras. The ImageDataGenerator class in Keras and the flow_from_directory function made it easy to label images. But al

Unexpected behavior in tf.data.Dataset map function

I am working on a problem where I need to apply some transformation to my dataset using the map function that tf.data.Dataset provides. The idea is to apply thi

Model Accuracy is High but Val_Accuracy is low

I'm trying to improve my val accuracy as it is very low. I have tried changing the batch_size, the number of images being used for validation and training. Adde

Python-TensorFlow app FileNotFoundError: [Errno 2] No such file or directory

I am trying to test a simple Flask-TensorFlow Image Classifier app from docker container. The Docker containers were successfully deployed in an Ubuntu 22.10 EC

Failed to build h5py on mac M1

I am trying to install AlphaFold in a python virtual env. While trying to install dependencies, I get this error: ERROR: Could not find a version that satis

facing problems in installing tensorflow

I am facing problem in instaling tensorflow, please help me. Here is the error that I get: ^3.1 npm ERR! code 1 npm ERR! path C:\Users\dell\node_modules\@tensor

facing problems in installing tensorflow

I am facing problem in instaling tensorflow, please help me. Here is the error that I get: ^3.1 npm ERR! code 1 npm ERR! path C:\Users\dell\node_modules\@tensor

How to construct an equivalent multivariate normal distribution in tensorflow-probability, using TransformedDistribution?

How to construct an equivalent multivariate normal distribution in tensorflow-probability, using TransformedDistribution and tfb.ScaleMatvecLinearOperator? I'm

Import Error: cannot import name 'BatchNormalization' from 'keras.layers.normalization'

I am getting the following error message when trying to run this AlexNET python code. Traceback (most recent call last): File "C:\Users\PycharmProjects\Local-

Why is my accuracy is zero after set backbone trainable?

I trained my model with frozen backbone like: model.get_layer('efficientnet-b0').trainable = False Now, I unfreeze backbone, compile model, start training and

Add MC Holdout layers to trained model in Keras

I am looking for a solution for a problem that has arisen when building a generic ANN for image classification in R. What I want to do is either: Design and com

Why converted images now shown as grayscale?

I am working on image compression problem, i want to convert the images from 3 channel to 1 channle , i used tf.image.rgb_to_grayscale(img_data_array, name=None

Finding the angle of rotation relative to a normal of a 2D image with TensorFlow

I am new to TF, so what is the general process of finding the angle of a 2D image? What I want to do is find the angle of rotation a particular object real-time

How to access image datasets from Dropbox?

I have a dataset of images on Dropbox it is in uncompressed folders, and I want to train a a model using google colab. How can I tell Colab where the dataset is

cannot import name '_registerMatType' from 'cv2.cv2'

I got below error message when I run model_main_tf2.py on Object Detection API: Traceback (most recent call last): File "/content/models/research/object_detec

Getting error 'NoneType' object has no attribute 'read' in python for image processing image_dataframe['image']

I am working on image classification using CNN. I am using below source code for that task. I am stuck with this error : AttributeError: 'NoneType' object has

RuntimeError: class '__torch__.kornia.geometry.boxes.Boxes3D' already defined

I am using a Premade code that works on colab.research.google.com but when I downloaded it locally and used Jupyter I got this error RuntimeError: class '__torc

Tensorflow CNN Image Classification - Using ImageDataGenerator and then Next&Model.fit gives error

I have a CNN model, which is basically processing images and classifying them at the end. There are four class labels, which are UN, D1, D2 and D3. If you look