Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [tensorflow]

For questions related to Google's open source library for machine learning and machine intelligence.

0
votes
0answers
19 views

I have a million records of duty trades between two users, need to figure out which ML to use [migrated]

I have a million records of duty trades between two users. One user drops a duty, and other user will pick it up if he/she likes it (There are 50k users in total) and anybody could pick it up, in 20 ...
2
votes
0answers
35 views

RNN: Different test results on balanced and unbalanced data

I trained a recurrent neural network (if it matters - it contains three CuDNNLSTM cells and 3 Dense layers, Dropout = 0.2). The result of data preparation is one array of ~330.000 sequences. Each ...
1
vote
1answer
46 views

How to detect LEGO bricks by using a deep learning approach?

In my thesis I dealt with the question how a computer can recognize LEGO bricks. With multiple object detection, I chose a deep learning approach. I also looked at an existing training set of LEGO ...
1
vote
0answers
18 views

how to add the pool4 to the 2 x conv7 in FCN-16s using keras?

Now I'm using tensorflow.keras to implement the FCN-16s, this picture may be different with others, you should focus this it add ...
1
vote
1answer
24 views

How do I normalise/un-normalise data when loading a model?

I am following this TensorFlow JS tutorial where you load car data. The data looks like this: [{x:100, y:20}, {x:80, y:33}] X is the horsepower of a car, Y is ...
1
vote
1answer
19 views

How to implement word2vec using Tensorflow 2.0 keras API?

Since Keras API as defined as layers, how would it be used to implement the word2vec?
0
votes
0answers
16 views

Tensorflow session [migrated]

I am new to deep learning and Tensorflow. I got some basic questions with the sample code below : ...
0
votes
0answers
13 views

Tensor operation in Tensorflow [migrated]

I have a tensor of shape (3,?,16). I want to tile each (1,16) sub-tensor 28 times horizontally and vertically so as to end up with a resultant shape of (3,?,28,28.16). How do I go about doing this?
3
votes
0answers
20 views

YOLO v3 complete architecture

I am attempting to implement YOLO v3 in Tensorflow-Keras from scratch, with the aim of training my own model on a custom dataset. By that, I mean without using pretrained weights. I have gone through ...
0
votes
0answers
15 views

How to limit actions based on a state [duplicate]

I'm trying to implement DQN using tf-agents for simple environment. So far I have ...
0
votes
0answers
14 views

Controlling number of channels in weight/kernel in tensorflow

To implement a specific function, I need "input_channels" number of kernels in my layer, each having only a single channel depth, and not depth = "input_channels". I need to convolve one kernel with ...
0
votes
0answers
23 views

Neural Network Regression predicting negative values

I am training a model using the DNN Regressor estimator from the Tensorflow API to predict prices based on 1035 features. My dataset contains a little over 500 millions inputs and none of the target ...
0
votes
0answers
17 views

How to serve a deep q network using tensorflow serving?

How to Serve a Deep Q Network using Tensorflow Serving. I have built a Deep Q Network using Multilayer Perceptron. Is it possible to serve it?
0
votes
0answers
14 views

Loading multiple trained models for use in multi-agent environment

I have an agent that will play in a multi-agent environment, and I'd like that agent to play against other agents that have been previously trained. The model for each agent was saved using ...
1
vote
0answers
26 views

Selu and how to implement it?

I just came accros the "Selu" function. It looks promising, especially with the header "self normalizing neural network", since I have some serious with exploding gradient within my network with (...
0
votes
0answers
32 views

How do I apply batch normalization to my algorithm?

I am working lately on batch normalization for the last couple of days, but I just can't seem to solve it on how to apply it. So, to give the full code to you, I will just send the implementation. ...
0
votes
1answer
67 views

Getting NaN from A3C PPO model [closed]

I've pieced together this A3C w/ PPO Gym Pendulum example, but I'm finding after a while, when attempting to get the action from the model, I get a NaN return: ...
0
votes
0answers
21 views

Adding features in TensorFlow playground

I am trying to solve the spiral exercise in TensorFlow but I can not add features like in this answer https://ai.stackexchange.com/a/10000/22691. How can I do that?
2
votes
2answers
133 views

How to use CNN for making predictions on non-image data?

I have a dataset which I have loaded as a data frame in Python. It consists of 21392 rows (the data instances, each row is one sample) and 1972 columns (the features). The last column i.e. column 1972 ...
2
votes
1answer
25 views

Testing, Validation Percentage & Test, Validation Batch Size Difference?

I'm doing transfer learning using Inception on Tensorflow. The code that I used for training is https://raw.githubusercontent.com/tensorflow/hub/master/examples/image_retraining/retrain.py If you ...
0
votes
0answers
11 views

How to remove unwanted signals from the sensor measurement?

I have 2 tabular datasets, one is clean and one is drifted. They are records of sensor measurements. I move the sensor around in the room and collected thousands of measurements. I have a sensor that ...
1
vote
0answers
22 views

Kera's (normal) LSTM uses the GPU?

I'm running Kera's LSTM (not CuDNNLSTM) but I notice my GPU is under load. I need recurrent dropout, so I can only stick with <...
1
vote
0answers
36 views

Tensorflow : Inception V3 Transfer Learning Parameter Tuning

Sorry if my question is at the wrong place, I'm new in this community. So, I have dataset with total of 1 million images (augmented) that separated in 28 classes. I followed this tutorial https://www....
1
vote
1answer
48 views

How do I make AI based object picker?

I want to develop an AI based object (mainly toy) picker that can clean my kid's room and put toys in toy basket. Can somebody help me how to acheive this? I want to make a custom solution so that it ...
3
votes
1answer
29 views

Artificial intelligence services at the edge

I am a strategy consultant, deeply interested in edge computing and distributed and decentralized systems. In performing some analysis on current edge offerings, I am curious as to how ML and AI ...
3
votes
3answers
178 views

How to implement a Continuous Control of a quadruped robot with Deep Reinforcement Learning in Pybullet and OpenAI Gym?

Description I have designed this robot in URDF format and its environment in pybullet. Each leg has a minimum and maximum value of movement. What reinforcement algorithm will be best to create a ...
1
vote
2answers
103 views

I need to predict ball position from set of Images

I am a novice developer in AI. Any help appropriated. I have a set of images and from that I want to predict position(x,y co-ordinates) of the Ball. Thanks in advance.
1
vote
1answer
73 views

Should I apply ReLU to non negative output?

Suppose I want to predict the position of a sensor based on its reading. I can first predict the unit vector and predict the distance to be multiplied to this vector. And I know that distance will ...
-1
votes
2answers
77 views

How TensorFlow will know if the prediction is true or false?

I'm completely new at ML, but really interested. To be honest, read many articles about it, but still don't understand the workings of it. I just started to understand this example: https://storage....
0
votes
1answer
43 views

How can I oppose two AI agents with keras / tensoflow?

I am trying to use tensorflow / keras to play a text based game. The game opposes two players that play by answering questions by choosing an answer among the proposed ones. Game resembles this: ...
0
votes
1answer
35 views

Classification of books by their cover page

I am classifying about 9 books from the image of their cover pages. I am using a TensorFlow Keras CNN model for this. But, the model predicts a book even when a picture of a book is not taken, like a ...
1
vote
1answer
33 views

How to solve the AttributeError: 'Ssd' object has no attribute 'freeze_batchnorm' [closed]

I use a modified training script for modeling images with Tensorflow/Keras/Mobilenet_V2. After a few errors that I could solve I now get the following error: ...
0
votes
1answer
62 views

What should a good loss curve look like?

This is a very basic question. I'm running a faster rcnn trainer on a dataset for object recognition. My images range from 200x200 to 7360x4912 in resolution. There are only 2 classes being trained (...
1
vote
1answer
267 views

Continuous Advantage Actor Critic Implementation

I'm having trouble implementing AC for continuous action space. As far as I can tell, my code doesn't seem to have any bugs! The agent is learning "something" as its behaviour seems to vary ...
1
vote
0answers
24 views

Evaluating Utility of Incremental RAM

The Nvidia 2080 GPUs command a $500 premium for 3GB of incremental RAM (8GB -> 11GB). What are the relevant questions and thought process to determine the incremental improvement by moving from the ...
3
votes
1answer
78 views

Which model should I use to determine the similarity between predefined sentences and new sentences?

The Levenshtein algorithm and some ratio and proportion may handle this use case. Based on the pre-defined sequence of statements, such as "I have a dog", "I own a car" and many more, I must ...
1
vote
1answer
216 views

Can we combine multiple different neural networks in one?

I want to make a kind of robotic brain i.e. a big neural network, which includes NLP model (for understanding human voice) , real-time object recognition (so it can identify particular object), face ...
1
vote
1answer
66 views

Is 1mb an acceptable memory size for images being trained in a CNN?

I am using Tensorflow CNN to build an image classification/prediction model. Currently all the images in the dataset are each about 1mb in size. Most examples out there use very small images. The ...
4
votes
2answers
3k views

How fast is TensorFlow compared to self written neural nets?

I made my first neural net in C++ without any libraries. It was a net to recognize numbers from the MNIST dataset. In a 784 - 784 - 10 net with sigmoid function and 5 epochs with each 60000 samples, ...
-1
votes
1answer
68 views

How to visualize the time complexity for training a Neural Network

I want to compare the time complexity of two deep neural networks, but I have no idea how to go about it. How do I graphically achieve that with respect to the number of iterations, accuracy or any ...
5
votes
3answers
1k views

Can neuro-evolution of augmenting topologies (NEAT) neural networks be built in TensorFlow?

I am making a machine learning program for time series data analysis and using NEAT could help the work. I started to learn TensorFlow not long ago but it seems that the computational graphs in ...
2
votes
0answers
149 views

How many episodes does it take for a vanilla one-step actor-critic agent to master the OpenAI BipedalWalker-v2 problem?

I'm trying to solve the OpenAI BipedalWalker-v2 by using a one-step actor-critic agent. I'm implementing the solution using python and tensorflow. I'm following this pseudo-code taken from the book ...
0
votes
1answer
75 views

Automatic prediction of whether a customer will come into the shop or not

So as my university project I am planning to make a prediction system as described in the title. My current idea is to use the age/gender classifier and run it on a video(taken in front of a shop) ...
3
votes
1answer
102 views

What exactly does “channel” refer to in tensorflow/lucid?

Tensorflow/Lucid is able to visualize what a "channel" of a layer of a neural network (image recognition, Inception-v1) responds to. Even after studying the tutorial, the source code, the three ...
-1
votes
1answer
192 views

Simple Object Detection

I want to create a simple Object detection tool. So basically an Image will be provided to the tool and from that, it has to detect the number of objects. For eg An image of a dining table which ...
1
vote
0answers
21 views

Sequence to sequence machine learning / NMT - converting numbers into words

I want to do some sequence to sequence modelling on source data that looks like this: /-0.013428/-0.124969/-0.13435/0.008087/-0.269241/-0.36849/ with target data ...
2
votes
0answers
20 views

Using two generative adversarial nets to classify articles - what is a good approach?

I'm trying to create a deep learning network to classify news article based on the text and associated image. The idea comes from a novel use of GANs to classify based on generated data. My approach ...
4
votes
1answer
622 views

Training a CNN from scratch over COCO dataset

I am using Tensorflow Object Detection API for training a CNN from scratch on COCO dataset. I need to use this specific configuration. There is no pre-trained model on COCO with that configuration and ...
-1
votes
2answers
57 views

Training problem with deep neural network model

I am using TensorFlow's Adam optimizer and ReLu activation. But each time I train my model the cost becomes stagnant after some epochs. Can any one help me out with the possible reasons I have added ...
4
votes
1answer
232 views

Identifying car model via deep learing

Is there any project or example for a software identifying cars? Situation: I got multiple angle shots in high resolution from a car. I want the algorithm to tell me "This is a Mercedes SLK" or "This ...