Skip to main content
Search type Search syntax
Tags [tag]
Exact "words here"
Author user:1234
user:me (yours)
Score score:3 (3+)
score:0 (none)
Answers answers:3 (3+)
answers:0 (none)
isaccepted:yes
hasaccepted:no
inquestion:1234
Views views:250
Code code:"if (foo != bar)"
Sections title:apples
body:"apples oranges"
URL url:"*.example.com"
Saves in:saves
Status closed:yes
duplicate:no
migrated:no
wiki:no
Types is:question
is:answer
Exclude -[tag]
-apples
For more details on advanced search visit our help page
Results tagged with
Search options answers only not deleted user 28175

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.

0 votes

TypeError: Expected binary or unicode string, got array

Try this: imgs = tf.convert_to_tensor(images[0]) If all of your images are of the same shape. Otherwise you have to resize them to a same dimension then call the code.
Green Falcon's user avatar
  • 14.2k
-2 votes

What does it mean that classes are mutually exlcusive but soft-labels are accepeted?

What does it mean that classes are mutually exclusive but soft-labels are accepted? As it can be seen from here, tf.nn.softmax produces just the result of applying the softmax function to an inpu …
Green Falcon's user avatar
  • 14.2k
0 votes
Accepted

Questions about CNN: weights and biases

As the response for the second question, again, if you don't specify the initial weights, TensorFlow itself will use Glorot method for initialization. …
Green Falcon's user avatar
  • 14.2k
4 votes
Accepted

What is the shape of conv3d and conv3d_transpose?

Although your input data is three dimensional, you have to use Conv2D for your task. I guess Conv3d is used for data with temporal characteristic, yours is just a simple picture. To illustrate why you …
Green Falcon's user avatar
  • 14.2k
1 vote
Accepted

LSTM Implementation using tensorflow (anaconda)

Based on the solution here you have different choices: The simplest solution is to revert back to Pandas 0.19.2. For this purpose use the following command in your command line or terminal. conda in …
Green Falcon's user avatar
  • 14.2k
0 votes

GAN with Conv2D using TensorFlow - Shape error

#x = tf.reshape(x, shape=[-1, 299, 299, 3]) change the above line to the following code snippet. dim = x.get_shape().as_list() x = tf.reshape(x, shape = [-1, *dim[1:]]) The same behavior applies …
Green Falcon's user avatar
  • 14.2k
0 votes
Accepted

Can I create pretrain model with tensorflow?

You can find good tips here and here which have discussed storing and loading models in Tensorflow. …
Green Falcon's user avatar
  • 14.2k
0 votes

Deep learning: Training in batches

The point in using batch training is that you can't take a step using all data due to the size of the training data which is really big. Consequently, you may want to use batch optimisation techniques …
Green Falcon's user avatar
  • 14.2k
1 vote

Tensorflow oscillating Test and Train Accuracy?

It seems that after some epochs your training oscillates. I guess the reason is that the learning rate is high. Try to set the decay parameter of Adam optimizer to a number more than one and resume tr …
Green Falcon's user avatar
  • 14.2k
2 votes

Softmax: Different output scikit-learn and TensorFlow

You are initializing your weights to zero. This will cause symmetric problem in updating weights. Use Xavier or He technique for initialization and train for some epochs.
Green Falcon's user avatar
  • 14.2k
2 votes
Accepted

Preparing custom dataset for object detection using ML

I have the following suggestion: The size of your data-set is small, you should increase the sample size. You also have to use data augmentation methods for improving the performance, translation, o …
Green Falcon's user avatar
  • 14.2k
2 votes
Accepted

TensorFlow: number of channels of conv1d filter

In TensorFlow there are different convolution layers. …
Green Falcon's user avatar
  • 14.2k
10 votes
Accepted

Does Tensorflow support a Decision Tree Classifier?

Basically I guess TensorFlow does not support decision trees. … You can see from here that there are other learning algorithms implemented in TensorFlow which are not deep models. You can take a look at here for tracking algorithms implemented in TensorFlow. …
Green Falcon's user avatar
  • 14.2k
0 votes

What are the benefits of having ML in js?

It is a bit technical and depends where you use your JavaScript code. It is used in both backend and frontend apps. My opinion is that using that in frontend apps can help your ML algorithms run on di …
Green Falcon's user avatar
  • 14.2k
1 vote

Resources to learn Tensorflow and Keras

Its homework is written in Keras and TensorFlow. It is a very good point to begin. … Furthermore, you can take a look at the official paper of google research team about TensorFlow where you can read TensorFlow is an interface for expressing machine learning algorithms, and an implementation …
Green Falcon's user avatar
  • 14.2k

15 30 50 per page