Questions tagged [tensorflow]

TensorFlow is an open-source library and API designed for deep learning, written and maintained by Google. Use this tag with a language-specific tag ([python], [c++], [javascript], [r], etc.) for questions about using the API to solve machine learning problems. The programming languages that can be used with TensorFlow API vary, so you must specify the programming language. Please specify the application area such as [object-detection] as well.

Filter by
Sorted by
Tagged with
0 votes
0 answers
5 views

Having problem with TensorFlow not recognizing my GPU (NVIDIA 4090 RTX)

For some reason my installation of TensorFlow on an Ubuntu Focal is not recognizing my GPU. testTensorFlowTTS.py 2023-05-05 20:10:21.682174: I tensorflow/tsl/cuda/cudart_stub.cc:28] Could not find ...
0 votes
0 answers
11 views

Transfer trained model with keras gives the same probabilities for each outcome, except for the one which is correct, but with very small probability

I have created my own data set for a seal of approval recognition. This data set consists of about 20 labels (it changes from time to time because it is still being filled with additional data). There ...
  • 1
0 votes
0 answers
7 views

raraise IOError( OSError: SavedModel file does not exist at: /home/marc/Documents/Drowsiness+Road Pathole/{saved_model.pbtxt|saved_model.pb

I have created a haar cascade model using tensorflow , which detects wheather driver is drowsy or not. after executing the code I get an error which states ^^^^^^^^^^^^^^^^ File "/home/marc/...
0 votes
0 answers
11 views

tensorflow training from tf.data.dataset from tfrecords outputs ValueError: Missing data for input "input_2". You passed a data dictionary with keys

python version 3.7.11, tensorflow version 2.7.0 I've created tfrecords from pandas dataframe and trying to load into tf.data.dataset then train it using tensorflow. Reading and parsing tfrecords as ...
  • 4,350
-1 votes
0 answers
7 views

Which version of tensorflow should I use for keras code example?

I am trying to run codes in https://keras.io/examples/vision/3D_image_classification/ using miniconda. The code was released on 2020/09/23 and I think current version I just installed in my conda ...
0 votes
0 answers
12 views

I encountered the following error when trying to run BT-Unet: a TensorFlow program on pycharm

2023-05-06 17:30:37.471901: W tensorflow/core/framework/op_kernel.cc:1680] Unknown: AttributeError: 'tensorflow.python.framework.ops.EagerTensor' object has no attribute 'swapaxes' Traceback (most ...
  • 1
-1 votes
0 answers
12 views

Can we expand the access to any number of users for a ML app [closed]

I'm trying to serve an ML Model as REST API using TensorFlow Serving. I am hoping to use BentoML. How to make a collaborative model which can be expanded over to any number of users and items? ...
0 votes
0 answers
4 views

TensorFlow estimator export_saved_model function restore variables failed when I add new variable to graph

when i use estimator export_saved_model function to get model pb file, encountered a error which is as below: ValueError: Could not load all requested variables from checkpoint. Please make sure your ...
0 votes
0 answers
19 views

Get unexpected result of `train_function` || Tensorflow

!! I know there are a lot of similar questions. But somehow I can't find the right answer !! I am currently writing a model based on a dataset that has the different chess moves of a game. The aim is ...
  • 19
0 votes
0 answers
7 views

How to resolve this Import Error for the training code for speech reconstruction from silent audio?

I am trying to run the code from this github repository enter link description here In this I have installed all neccessary libraries as specified. After Preprocessing, when I try to run the train.py ...
0 votes
0 answers
13 views

How to reinstall a "deinstalled" apt and apt-listchanges on raspbian

I'm new to raspberry pi. I have a raspbian os and I accidentally executed this on my terminal: sudo apt-get --reinstall apt and it warned me if I wanted to continue should I type "Yes, do as I ...
0 votes
0 answers
24 views

TensorFlow 2.12 GPU Utilisation with CUDA 11.8 - Unsuccessful GPU utilisation during training even though it shown to be available

Update: Apparently the GPU was being used, only at 30% of its max capability for some reason, assuming its due to the simple network's complexity and batch sizes. Fluctuations during GPU Performance ...
0 votes
0 answers
11 views

Dimension 0 in both shapes must be equal, but are 0 and 512. Shapes are [0] and [512]

run: python .\main.py import os import copy import time import argparse import numpy as np from scipy import misc import tensorflow as tf import tensorflow.compat.v1 as tf from tensorflow.keras import ...
0 votes
0 answers
16 views

Gather elements from tensor with an inner batch dimension in tensorflow

I'll present my actual problem, and then a simpler version that is more easily reproducible. My actual problem I have a tensor that represents a batch of images from my training data. Its shape is: [...
  • 2,440
0 votes
0 answers
20 views

InvalidArgumentError: Cannot add tensor to the batch: number of elements does not match. Shapes are: [tensor]: [1], [batch]: [2] [Op:IteratorGetNext]

I am trying to use captcha from my dataset set, but doing so is causing the title error. Traceback (most recent call last): File "train.py", line 137, in for batch in train_dataset.take(1):...
  • 27

15 30 50 per page
1
2 3 4 5
5451