Tflearn: DNN model.load() and model.save() Error

Created on 2 May 2017  路  5Comments  路  Source: tflearn/tflearn

I am training a cnn usingmodel.fit() and saving it using model.save("tflearn.model")
However, this creates 4 files:
1) tflearn.model.data-00000-of-00001
2) tflearn.model.meta
3) tflearn.model.index
4) checkpoint

While loading the model, which file should I use?

Most helpful comment

This is TF Saver v2, you should use "tflearn.model"

All 5 comments

This is TF Saver v2, you should use "tflearn.model"

But there is no .model file . My file explorer shows only the three files mentioned above.

Yes, but TF just need the prefix "tflearn.model", and it will load the 3 files.

model.load("tflearn.model")

Yup, that worked. Thanks alot

Was this page helpful?
0 / 5 - 0 ratings

Related issues

luoruisichuan picture luoruisichuan  路  5Comments

SebastianKlein picture SebastianKlein  路  3Comments

smithdir101 picture smithdir101  路  5Comments

benbogin picture benbogin  路  5Comments

ArnoXf picture ArnoXf  路  5Comments