Category "tensorflow"

Tensorflow on M1

Importing Tensorflow gives this error This is my "code": import tensorflow as tf My versions: protoc --version libprotoc 3.15.8 pip show protobuf Name: prot

Incompatibility issue when installing tensorflow in conda

I was trying to install tensorflow in a new conda environment, but I met an incompatibility issue. First, I use conda search tensorflow-gpu -c conda-forge to se

Can not run the the tflite model on Interpreter in android studio

I am trying to run a TensorFlow-lite model on my App on a smartphone. First, I trained the model with numerical data using LSTM and build the model layer using

multilabel text clasification with 1D CNN

I'm working on authorship detection from text task, I'm doing this by using a data frame consisting of symbol n-gram that I created using about 110k of 147 diff

Inputing a torch 3d tensor into a keras.Sequential model

Here I have a pytorch tensor object which I need to use for training a neural network. Can pytorch tensors be used for training a keras neural network and if so

Unable to "npm install @tensorflow/tfjs-react-native" either expo cli or react-native cli

Im trying to install tensorflow for react native but when when i try to install it throw all these errors in the picture link attached below. Does anyone know w

How to copy local runs from mlflow to remote tracking server?

Dear mlflow community, I am struggeling with a performant environment for both testing and production. What I want to do is, train models locally and compare th

How is the Keras Conv1D input specified? I seem to be lacking a dimension

My input is a array of 64 integers. model = Sequential() model.add( Input(shape=(68,), name="input")) model.add(Conv1D(64, 2, activation="relu", padding="same",

Concatenation layer raise Value Error: as_list() is not defined on an unknown Tensor Shape

I'm Trying to making DNN using Wide Deep Nural Network using keras the following code produces the following after trying to implement it, I also making my cust

TF pipeline to dynamically extract patches and flatten dataset

I was trying to train an autoencoder on image patches. My training data consists of single-channel images loaded into a numpy array with shape [10000, 256, 512,

Unable to run tensorflow lite on ESP32 and Arduino Due both are 32 bits microcontrollers

I got two microcontrollers, one ESP32 and one Arduino DUE R3, both has an architecture of 32 bits and should be able to run a tensorflow lite model, however I t

pip install gym package but import error given

I created my tensorflow env using conda (MacBook Pro), and installed manually all the tensorflow required packages following the apple developer website: https:

What is the from repeating same layers in AI architecture

I know that in ai models lstm is used to extract features from data and dropout is used to focus in the main ones, but i can't understand why people used to rep

Setting up keras-rl2 on my M1 Macbook Pro

I am working on a project on Reinforcement Learning - and completely new at this. I installed keras-rl as pip install keras-rl, however it caused an error as ma

strongly different accuracy-values from model.evaluate(test_set) and from the sklearn classification_report

i'm experimenting on colab in image-classification with images of 32x32 pixels; i have 248 pics for training and 62 for testing (much too less, i know, but for

ValueError: `logits` and `labels` must have the same shape, received ((None, 250, 1) vs (None,)). What is wrong?

I'm new to ML and im trying to make a simple MLP work using serialization. I'll be using 2 layer MLP and binary outcome. (yes/no) Could someone explain what i'm

How to create custom tensor value with shape (b,n,m)?

How to create custom tensor value with shape (b,n,m) I see the cppflow::fill method but it allows inserting 1 value which fills the whole same value in the shap

Thread tf_data_private_threadpool creation via pthread_create() failed. with Tensorflow

Tensorflow: 2.9.0rc2 When I am running code from https://www.tensorflow.org/hub/tutorials/wav2vec2_saved_model_finetuning I get the following error: 2022-05-14

Why do I get worse results in Java than in Python when using the same Tensorflow models?

Introduction: For education purpose I developed a Java class that enables students to load Tensorflow models in the Tensorflow SavedModel format and use them fo

VAE reconstruction loss (MSE) not decreasing, but KL Divergence is

I've been trying to create an LSTM VAE to reconstruct multivariate time-series data on Tensorflow. To start off I attempted to adapt (changed to Functional API,