Category "tensorflow"

How to use tensorflow 2.0 with AWS Lambda?

I am new to AWS Lambda and running a tensorflow model in AWS Lambda. Now tensorflow 1.0.0 is the one that fits into the 50Mb limit but since tensorflow 2.0 is

TensorFlow: How do I generate a dataset from two arrays?

I've been trying to generate a custom dataset from two arrays. One with the shape (128,128,6) (satellite data with 6 channels), and the other with the shape (12

Error:MetaGraphDef associated with tags 'serve' could not be found in SavedModel

I have this error RuntimeError: MetaGraphDef associated with tags 'serve' could not be found in SavedModel. To inspect available tag-sets in the SavedModel, pl

Tensorflow-gpu cudnn_cnn_infer64_8.dll not recognised [Error code 193]

When trying to use Tensorflow (gpu), it won't run because of this : Could not load library cudnn_cnn_infer64_8.dll. Error code 193 Please make sure cudnn_cnn_i

Print class name from tensorflow object detection api

PLEASE NOTE: I have tried other solutions accross the web and didnt find the working result. I am detecting objects from live feed using tensorflow object detec

Mask R-CNN is not loading weights properly for inference and re-training

QUESTION: I'm new to the world of computer vision and this is my second project with it. I am running an edited version of the Matterport Mask RCNN that runs wi

What is the prediction value of this LSTM neural network?

I just implemented a LSTM, but I'm not sure if I interpreted the structure right. is in this context testPredict = model.predict(Xtest) the last value of the se

How to create federated dataset from a CSV file?

I have selected this dataset: https://www.kaggle.com/karangadiya/fifa19 Now, I would like to convert this CSV file into the federated dataset to fit in the mod

How does tf.keras.metrics.TopKCategoricalAccuracy differ from Precision@k?

Coming from recommender systems, precision@k is a popular metric. precision@k = number of relevant predictions in top k / k On the tensorflow docs for tf.kera

tensorflow_probability: TransformedDistribution not accepting event_shape and batch_shape arguments

In version 0.11.0 of Tensorflow Probability, I can define a TransformedDistribution as follows, indicating event and batch shape: mvn = tfd.TransformedDistribut

tensorflow_probability: TransformedDistribution not accepting event_shape and batch_shape arguments

In version 0.11.0 of Tensorflow Probability, I can define a TransformedDistribution as follows, indicating event and batch shape: mvn = tfd.TransformedDistribut

Colab: Importing old modules from tf.keras 2.4 fails; importing from Keras 2.4 works, but leads to mixing tf and tf.keras

I'm trying to modify a jupyter notebook to run on colab. It's from a somewhat older repo with known compatibility issues for tensorflow/keras versions after ~2.

Tensorflow on Docker Engine Error Code 132

I am using Docker and Docker-Compose on Ubuntu 20. The application I am deploying on container is using Tensorflow. Docker-Compose build is able to be executed

how to use CRF in tensorflow keras?

The code is like this: import tensorflow as tf from keras_contrib.layers import CRF from tensorflow import keras def create_model(max_seq_len, adapter_size=64

AttributeError: 'Node' object has no attribute 'input_masks'

I created a network, but got the error: AttributeError: in user code: C:\Users\LocalAdmin\.conda\envs\newenvt\lib\site-packages\keras_contrib\metrics\crf_accura

Tensorflow not found. pip 21.3.1, Python 3.8.9

I am trying to install TF but pip is failing to find any of it's versions. pip install tensorflow returns ERROR: Could not find a version that satisfies the req

I can't run my deployed Tensorflow Lite Model in Android Studio due to customized model?

I was deploying my Tensorflow Lite model into my Android Studio. The application does run but when after I took a picture and tried to predict the result, the a

How do I retrieve the one-hot-encoded feature names in tensorflow.keras preprocessing layers

What is the tf.keras equivalent of encoder.get_feature_names found in sklearn? As shown shown in this SO question Need this to get all the one-hot encoded featu

Could not load dynamic library 'cudnn64_8.dll'; dlerror: cudnn64_8.dll not found

Using tensorflow 2.4.1 When I run my program, I'm getting this error and can't use my gpu. I'm using CUDA 11.0, cudnn 8.0 2021-02-07 03:36:18.132005: I tensorfl

ImportError: cannot import name 'dtensor'

I just got a Jetson Nano and created my SD-Card with Jetpack 4.6.1. After that I installed TensorFlow like this: [Tensorflow-Install][1] Than I wanted to create