Questions tagged [tflearn]

Use this tag when the question is specific to the Deep Learning Library TFLearn. Questions about Tensorflow have their own tag, "tensorflow". Remember to read their docs before asking a question. Also Create a new issue in their GitHub repository with your question. If that question is answered there, then please explain it in Stack Overflow with credits to whom helped you.

Docs

Read this: http://tflearn.org/

GitHub

Also ask questions here: https://github.com/tflearn/tflearn

439 questions
22
votes
1 answer

How to Suppress Tensorflow warning displayed in result

I have a python code connected with Tensorflow. It is supposed to return single result set. But i'm getting below mentioned warning along with result. WARNING:tensorflow:From …
vinothvs
  • 954
  • 1
  • 6
  • 17
11
votes
1 answer

Batch_size in tensorflow? Understanding the concept

My question is simple and stright forward. What does a batch size specify while training and predicting a neural network. How to visualize it so as to get a clear picture of how data is being feed to the network. Suppose I have an…
WiLL_K
  • 539
  • 1
  • 3
  • 22
10
votes
4 answers

ImportError: No module named 'tflearn'

I have installed tensorflow following the guide at the website. Tensorflow code runs perfectly, I have also installed tflearn. Problem is whenever I am trying to import tflearn it says "ImportError: No module named 'tflearn'" but tflearn is there in…
Sharthak Ghosh
  • 544
  • 1
  • 7
  • 20
8
votes
1 answer

Tensorflow dynamic RNN (LSTM): how to format input?

I have been given some data of this format and the following details: person1, day1, feature1, feature2, ..., featureN, label person1, day2, feature1, feature2, ..., featureN, label ... person1, dayN, feature1, feature2, ..., featureN,…
Dimebag
  • 733
  • 1
  • 7
  • 26
6
votes
2 answers

Variables with dynamic shape TensorFlow

I need to create a matrix in TensorFlow to store some values. The trick is the matrix has to support dynamic shape. I am trying to do the same I would do in numpy: myVar = tf.Variable(tf.zeros((x,y), validate_shape=False) where x=(?) and y=2. But…
gergf
  • 118
  • 1
  • 8
5
votes
1 answer

tflearn with tensorflow 2.0

I can't import tflearn with TensorFlow 2.0 Python 3.7.4 (v3.7.4:e09359112e, Jul 8 2019, 14:54:52) [Clang 6.0 (clang-600.0.57)] on darwin Type "help", "copyright", "credits" or "license()" for more information. >>> import tflearn Traceback (most…
5
votes
1 answer

Run a Tensorflow model without having Tensorflow installed

I have a TF model that works well, constructed with Python and TFlearn. Is there a way to run this model on another system without installing Tensorflow on it? It is already pre-trained, so I just need to run data through it. I am aware of tfcompile…
Zock77
  • 727
  • 3
  • 22
5
votes
1 answer

Example of tensorflow.contrib.learn.ExportStrategy

Can someone provide examples of full working code for Tensorflow tf.contrib.learn.ExportStrategy The documentation lacks examples. I also could not find any examples on Github or Stackoverflow for this seemingly obscure Tensorflow…
mikal94305
  • 3,483
  • 5
  • 23
  • 38
5
votes
3 answers

Linking Tensorboard Embedding Metadata to checkpoint

I'm using the tflearn wrapper over tensorflow to build a model, and would like to add metadata (labels) to the resultant embedding visualization. Is there a way to link a metadata.tsv file to a saved checkpoint after the fact of running it? I've…
4
votes
1 answer

Validation loss is lower than training loss training LSTM

I am training a LSTM using tf.learn in tensorflow. I have split the data into training (90%) and validation (10%) for this purpose. As I understand, a model usually fits better training data than validation data but I am getting the opposite…
s0x
  • 43
  • 4
4
votes
2 answers

IndexError: list index out of range in TensorFlow

I got an error ,IndexError: list index out of range.Traceback says Run id: P0W5X0 Log directory: /tmp/tflearn_logs/ Exception in thread Thread-2: Traceback (most recent call last): File…
user10492592
  • 63
  • 1
  • 5
4
votes
2 answers

TFLearn - What is input_data

I came across the following statement: convnet = input_data(shape=[None,img_size,img_size,1], name='input') I tried looking for a description, but couldn't find a clear explanation. My main question here is what is the function input_data mainly…
Simplicity
  • 41,347
  • 81
  • 231
  • 358
4
votes
0 answers

InvalidArgumentError: Retval[0] does not have value is Thrown when Using tflearn Trainer

I followed this example on using tflearn trainer and coded this: image_paths, labels = dataset_utils.read_dataset_list('../test/dummy_labels_file.txt') data_dir = "../test/dummy_data/" images = dataset_utils.read_images(data_dir=data_dir,…
Rocket Pingu
  • 581
  • 6
  • 24
4
votes
1 answer

Dataset does not fit in memory

I have an MNIST like dataset that does not fit in memory, (process memory, not gpu memory). My dataset is 4GB. This is not a TFLearn issue. As far as I know model.fit requires an array for x and y. TFLearn example: model.fit(x, y, n_epoch=10,…
redb
  • 502
  • 7
  • 22
4
votes
1 answer

In Tensorflow how to freeze saved model

This is probably a very basic question... But how do I convert checkpoint files into a single .pb file. My goal is to serve the model using probably C++ These are the files that I'm trying to convert. As a side note I'm using tflearn with…
redb
  • 502
  • 7
  • 22
1
2 3
29 30