Questions tagged [tensorflow]

TensorFlow is an open source library for machine learning and machine intelligence. TensorFlow uses data flow graphs with tensors flowing along edges. For details, see https://www.tensorflow.org. TensorFlow is released under an Apache 2.0 License.

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

Implementing a Full-Feed-Forward (Cascading Feed Forward) Network in Tensorflow

About I am currently trying to reimplement a paper I read about neural net cryptanalysis. The paper claims to use a 128-256-256-128 Cascade-Feed-Forward net for cryptanalysis of DES. I think the term ...
0
votes
1answer
22 views

why we need data labelling tool for computer vision?

Before start training images with tensorflow object detection api we need to use labelling tool to annotate our images and converted to XML format. What happens when we convert our annoted image to ...
0
votes
1answer
942 views

Getting TypeError: expected bytes, Descriptor found while importing tensorflow

I am trying to use tensorflow and keras for one of the tasks but while importing the tensorflow I am getting the below error. Till now I have removed the virtual which I have created previously and ...
0
votes
1answer
51 views

How to create a model to recognize matching label and ROI with OCR

I am trying to make a model in python using Tensorflow to process the Tesseract OCR to detecting and extracting particular ROI from Image. I want to recognize the particular fields and values from ...
1
vote
0answers
22 views

MinMaxScaling vs L1/L2-Normalization

I'm wondering about the difference or the application of the different types of rescaling data. So far, I'm aware that standardization assumes the data has a gaussian distribution. So if this is the ...
1
vote
1answer
163 views

Using Tensorflow object detection API vs Keras

I am new to machine learning. I am curious to know what is the difference between using Keras instead of TensorFlow object detection API. We need to manually configure hidden layers and input layer in ...
1
vote
0answers
26 views

How can I get the predict future following value using Tensorflow LSTM?

Thank you for reading. I'm not good at English. I am wondering how to predict and get future time series data after model training. I would like to get the values after N steps. So, I used the time ...
0
votes
0answers
23 views

Dynamic sequence length in Keras LSTM layer

I'm implementing an LSTM with Keras to predict the correct words order. My dataset is composed by sentences, each sentences is ...
0
votes
0answers
50 views

Indexing tensors in custom loss function with Keras

I'm using a custom loss function in Keras. This is the function: ...
1
vote
0answers
12 views

How can I do a sequence to sequence model (RNN / LSTM) with Keras with fixed length data?

What I'm trying to do seems so simple, but I can't find any examples online. First, I'm not working in language, so all of the embedding stuff adds needless ...
1
vote
1answer
25 views

Distributed DL model with Tensorflow

Suppose I want to develop and train a big end-to-end deep learning model using Tensorflow (1.15, for legacy reasons). The objects are complex, with many types of features that can be extracted: vector ...
2
votes
1answer
101 views

How to get sentence from embedding vector with Universal Sentence Encoder?

I'd like to ask, if there is possibility to get sentence (or word) from embedding vector using Universal Sentence Encoder? First of all, I've clustered my embedded sentences and I've got a vector ...
0
votes
0answers
22 views

How does one apply a arbitrary map to a TensorFlow tensor?

BACKGROUND Consider the following code ...
0
votes
0answers
17 views

Is there a function that could find slope of a curve ignoring peaks?

Let's say I obtained a timeserie (in blue) (with some missing data) that is (as far as i understood) : - following a general trend between specific points - more or less cyclic I have drawn the red ...
0
votes
1answer
43 views

How to label images for CNN use as classifier

I have theorical question that I couldnt decide how to approach. I have tons of grayscaled shape pictures and my goal is seperate these images to good printed and bad printed. For this, I look at ...
0
votes
0answers
42 views

Custom training loss with custom gradients

I am trying to write a custom loss in Tensorflow v2, for simplicity let's say that I'm using Mean Squared Error loss as follows, ...
0
votes
0answers
37 views

Can tf.keras.utils.get_file(), be used to load local zip files? [duplicate]

I have zip file containing 4 image folders. The tutorial I followed on Google Colab uses a similar zip file but the file is hosted online and the link is given as the value of ...
0
votes
1answer
15 views

How to know the probability of correctness of a test data in a Binary Classifier

I have written a sequential classifier script using Keras, Tensorflow. Its a binary image classifier that predicts the class, given the directory path of a sample image. I want to implement a ...
0
votes
0answers
80 views

Teachable Machine Object detection

I have a trained an image classification model using teachable machine and can export it in any format. I would like to know if we can train/modify it for object detection i.e. getting bounding boxes ...
2
votes
1answer
83 views

Transfer Learning Question: Extending the Functionality of a Multipose-Estimation Machine Learning Model?

I have experimented with a number of different machine learning models used for pose estimation. Most of them output a heatmap and offsets for the detected person(s) in the image. I really like the ...
0
votes
0answers
10 views

Transfer learning on inference TensorRT model

Is it possible to do transfer learning using an inference model of tensorrt by converting it back into tensorflow?
1
vote
2answers
19 views

Metrics for same signal

Is there a metric in tensorflow.keras.metrics that counts how many time the predicted output and the real output have the same signal? For example, if the ...
0
votes
1answer
64 views

How to support a dynamic shape input for tf.where()

Tensorflow (tf.where) function does not support dynamic input shapes. For example, the following function calculates the svd of a matrix A and tries to identify the singular values greater than a ...
0
votes
1answer
165 views

Does keras' model.fit() remember learning rate when called multiple times?

Let's say I'm using the Adam optimizer, and calling fit() on my model multiple times. What parameters does the fit function remember? From what I've observed, the loss function/metrics seem to ...
1
vote
1answer
489 views

AttributeError: module 'keras.backend' has no attribute 'backend'

Hi I have tensorflow installed of version 1.14.0 on my ubuntu machine. I am trying to run a code with import keras and I get an error ...
0
votes
0answers
22 views

In what form the optical flow data is fed to a 3d cnn model?

I want to create a 2 stream architecture for video classification using keras and tensorflow as its back-end .In this method you basically give 2 types of data to the model.One is the video itself(...
1
vote
0answers
18 views

Why tensorflow saver meta file is getting large?

Far as I know, a meta file for saver is for the information of model like structure and operation. So the file size should be same, but the first meta file size is much smaller than the last meta file....
3
votes
1answer
87 views

tensorflow pseudo inverse doesn't work for complex matrices!

The Tensorflow documentation here says that: tf.linalg.pinv is ''analogous to numpy.linalg.pinv. It differs only in default value of rcond''. However, tf.linalg.pinv requires the matrix to ...
1
vote
0answers
26 views

Keras Encoder - Decoder Model

Im training a model of 400 samples . The dataset contains 400 images of faces as input (X) and also 400 faces with glasses as output (Y) . im training the model by code below : ...
0
votes
1answer
56 views

Is there a difference between tf.nn.conv1d and tf.nn.convolution in Tensorflow?

I want to know what is the difference between a these two. For me, they are the same function, so I do not see the reason of existance two same functions.
2
votes
1answer
67 views

Attention mechanism in Tensorflow 2

In the past days, I read up on the theory behind attention, when to apply it and what types there are. I think I have a decent first understanding of the concept, but now I would like to apply some of ...
3
votes
0answers
23 views

How to encode multiple inputs and multiple outputs

I have a piece of math more complicated than I can understand at the moment, a dynamic graph visualization. It uses a physics metaphor of springs and magnets, where the vertices act as magnets ...
2
votes
0answers
20 views

Why does this implementation of SimpleNet use 3x3 kernels on it's final layer for cifar10?

Question; I'm trying to implement simplenet in tensorflow and I have a question that I can't seem to answer myself. The implementation I'm basing this off of is here: https://github.com/Coderx7/...
2
votes
0answers
50 views

Help understanding the Tensorboard histogram names and meaning in an LSTM Model

Can someone please help me understand what the names and shapes of the following tensorboard histogram outputs mean about an LSTM model I coded? Thank you! I understand the terms in the names like ...
1
vote
0answers
81 views

TensorFlow 2: Find MAE, RMSE for validation dataset in time-series LSTM

TensorFlow 2 "Time series forecasting tutorial" (https://www.tensorflow.org/tutorials/structured_data/time_series#recurrent_neural_network) gives an example of a LSTM multi-step prediction model that ...
2
votes
2answers
34 views

How are the Convolution kernels learned?

As I went through the basics of machine learning, I failed to understand how do the Convolutional layers in a CNN learn the convolution kernels. After looking at first few tutorials, I thought the ...
3
votes
0answers
40 views

Terrible Tensorflow performance on powerful production server

Background I am building a simple face detection API with Python, Flask and the MTCNN face detector. My problem is that the model and API are running really quickly (batch of 100 images takes 0.5-0....
1
vote
1answer
18 views

Multi layer full connected neural network in tensor flow

I am reading about deep learning using tensor flow using book Tensor flow for deep learning by Bharath RamSundar et. Here author implemented as below in chapter 5 ...
1
vote
0answers
17 views

how to update a face recongition ( e.g facenet)

I'm searching for a face recognition that detects new faces not just faces getting from the datasets, for example, facenet is a project that can detect and recognize a face from labels. I would like ...
3
votes
0answers
28 views

Avoid Load and re-Train of a Neural Network Model [closed]

I built a feedforward neural network, his goal is to classify a target value, the train has to be defined for n-days. The input is constituted by 12 neurons (since I have 12 different data each of ...
2
votes
1answer
89 views

What is the difference between step size and learning rate in machine learning?

I am using TensorFlow to implement some basic ML code in Python. I was wondering if anyone could give me a short explanation of the meaning of and difference between step size and learning rate in the ...
3
votes
2answers
240 views

Keypoint detection from an image using a neural network

I am trying to design and train a neural network, which would be able to give me coordinates of certain key points in the image. Dataset I've got a dataset containing 1800 images similar to these: ...
3
votes
1answer
72 views

Why is my validation loss going up while my validation accuracy also goes up?

Scenario: I've been training a CNN for the cifar10 dataset. I'm using tensorflow, and a CNN with 12 conv layers and 1 dense layer before a softmax dense layer. I'm using data augmentation as well ...
0
votes
0answers
38 views

Torch and TensorFlow: Is Variable(torch.cuda.FloatTensor([x]) equivalent to tf.convert_to_tensor([x])?

I would like to ask you if this: Variable(torch.cuda.FloatTensor([x]), requires_grad=False) in Torch is the equivalent to this: ...
4
votes
0answers
256 views

Tensorflow, Optimizer.apply_gradient: 'NoneType' object has no attribute 'merge_call'

My programme gives the following error message: ...
0
votes
0answers
15 views

CNN: What's the relationship between point clouds and features derived from point clouds?

What's the relationship between point clouds and features derived from point clouds? Particularly in CNN prediction. Particularly, I have point clouds about which I can imagine features that are ...
0
votes
0answers
392 views

Tensorflow2 graph tensor leaking when using layer.output

I am trying to build a Contractive Auto Encoder using Tensorflow 2.0. The model's loss function uses the encoder output in its calculations. The problem is that every time i retrieve the output, it ...
0
votes
0answers
23 views

Which tensorflow operations trigger memory allocation?

Upon reading the documentation for the TensorArray class, I encountered this line: If True, the TensorArray will be colocated on the same device as the Tensor used on its first write (write ...
0
votes
0answers
78 views

Keras custom metrics - MAP and MRR

I am trying to build a LSTM model in keras where I have one question with 10 answers but only ONE among them is correct. So basically im tring to build a 10 class classification problem. As most of ...
0
votes
0answers
318 views

Cannot convert between a TensorFlowLite buffer with 1392640 bytes and a Java Buffer with 4177920 bytes

I am using Tensorflow.Lite.Support function for Inference of a model that takes two input and gives output in the form of Image. The first input is an RGB image whereas the second image is a single-...

1
3 4
5
6 7
29