Skip to main content

Questions tagged [tensorflow]

A Python library for deep learning developed by Google. Use this tag for any on-topic question that (a) involves tensorflow either as a critical part of the question or expected answer, & (b) is not just about how to use tensorflow.

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

I'm building a handwritten digit recognition app using TensorFlow and Gradio. My model achieves ~97% accuracy on the MNIST test set. However, when I connect it to a Gradio Sketchpad interface to take ...
Khang Cao's user avatar
1 vote
1 answer
98 views

Setting: I'm training a neural network for classification purposes. This neural network leverages a transformer-based architecture and leverages PU-learning. PU-learning is a setting where you solely ...
Fred's user avatar
  • 31
0 votes
0 answers
46 views

I'm attempting to recreate a CNN architecture that predicts future trajectories based on historical paths. The implementation is defined in sections 2.3 and 2.4 of this paper. My data are sequences of ...
LivelyECDSA's user avatar
1 vote
0 answers
139 views

What is the speed of running tensorflow 2.3.0 with GPU relative to tensorflow 2.18.0 with only CPU? Hardware Laptop: MacBook Pro 15-inch 2012 64-bit. OS: Windows 10 Pro 22H2 Processor: Intel(R) Core(...
DrJerryTAO's user avatar
  • 2,921
2 votes
1 answer
134 views

I am currently working on implementing the model EEG_DMNet. For pre-processing it calls for using differential entropy like $$ h(X) = -\int_{-\infty}^{\infty} p(x) \log p(x) \, dx $$ Assuming the Data ...
Sebastian Krafft's user avatar
1 vote
0 answers
55 views

In the classic paper "Dropout: A Simple Way to Prevent Neural Networks from Overfitting", there is a figure comparing the features learned by a one-layer autoencoder trained on MNIST with ...
Ari Herman's user avatar
1 vote
1 answer
552 views

the function loss of VAE is : ...
Ramzy's user avatar
  • 21
0 votes
1 answer
159 views

I want to create a simple CNN model for multi-output prediction. The predicted values are four numeric values (all between 0-1) and one categorical value (4 classes). When I try to create a model ...
Dkasi's user avatar
  • 1
0 votes
1 answer
518 views

I was studying the transformer decoder code below in Keras/Tensorflow. It was not clear how they made making decisions. In the first attention block below (self.attention_1), why did they use ...
Chika's user avatar
  • 1
1 vote
0 answers
48 views

I have four layers of CNN to predict Javanese script letter data. The training accuracy and loss monotonically increase and decrease respectively. But, my test accuracy starts to fluctuate wildly. I ...
MrSalad's user avatar
  • 11
1 vote
1 answer
143 views

I want to understand how quantized networks can calculate activations like sigmoid and tanh. I stumbled over this question which mentions the implementation of TF-Lite Micro as an example. ...
Necrotos's user avatar
0 votes
1 answer
312 views

I am prototyping a pipeline on the FSDD dataset (audio/10-class classification); the audio data are loaded with librosa, 0-padded/trimmed to 0.5 sec (4000-dimensioned numpy vectors) each and converted ...
Nikos H.'s user avatar
0 votes
1 answer
256 views

I'm working on a project where I need an image classification system, so I've decided to learn Tensorflow, and, after a week of study i've the following model: ...
Pinnaker's user avatar
1 vote
1 answer
2k views

I've implemented a neural network with single input - multiple outputs using Keras API. The general structure of the network is like in this figure: Because each branch does a different task, I ...
Elise Le's user avatar
0 votes
0 answers
137 views

I'm trying to solve following nonlinear regression task: We got fixed point from which the bullet is released with some start speed v0 (value v0 changes each time). On the opposite side we generate ...
franz-german's user avatar
2 votes
1 answer
905 views

My goal is to increase the F1 score of Class 1 by 1-2%. I achieved this by changing the threshold from 0.5 to X using the precision recall curve when the dataset is imbalanced. I did this after I have ...
Jason Rich Darmawan's user avatar
0 votes
0 answers
196 views

Is it possible to compute an integral within a layer in tensorflow and tensorflow probability? I have a simple MLP with a couple of dense layers and a concat layer. ...
Alucard's user avatar
  • 325
2 votes
1 answer
86 views

I trained a CNN model with 6 different classes (labels are 0-5) and I am getting more than 90% accuracy out of it. It can correctly classify the classed. I am actually trying to detect anomaly with it....
Nazmul1001's user avatar
1 vote
1 answer
1k views

I am stuck with this machine learning problem. For input, we have a word in which some letters are missing, e.g., word = 'in---m-nt'. Then we can make up to 6 guesses. guess1 = 'e', then word = 'in--...
Qiuyi Li's user avatar
0 votes
2 answers
239 views

I am trying to understand the following keras model: ...
user1886681's user avatar
1 vote
0 answers
66 views

I am trying to train a model using data parallelism on multiple GPUs. As I think, in data parallelism, we divide the data into batches, and then batches are deployed parallel. Afterward, the average ...
Ahmad's user avatar
  • 161
3 votes
1 answer
741 views

Basically, predicting future values step by step using past values and some covariates as a feature, using some LSTM, Conv layers from tensorflow. I started by using mean absolute percentage error as ...
Della's user avatar
  • 593
0 votes
0 answers
209 views

i was reading this article on towarddatascience and at a certain point the author says "An important difference is that local reparametrization works only for fully connected networks, while ...
Alucard's user avatar
  • 325
1 vote
0 answers
255 views

I have been working on a project where I have a lot of time series data(3000 csv file) from 6 different devices and I am trying to convert those data to an image array so that I can use them in CNN to ...
Nazmul1001's user avatar
2 votes
1 answer
3k views

I'm working on a problem where I aim to classify sections of a track made on the floor using tape, into either left turns, right turns or straight track. I'm struggling creating a CNN that is not ...
GroupTheory14's user avatar

1
2 3 4 5
14