-
here`s working code:
```
import flask
import tensorflow as tf
from tensorflow import keras
from keras.utils import CustomObjectScope
from keras.models import load_model
from tensorflow.keras.…
-
I am comparing several architectures for retraining.
Using the Kaggle 'dogs vs cats' dataset, I set up the following:
Data generator:
```
train_data_generator = tf.keras.preprocessing.image.ImageD…
-
Hi,
I have tensorflow dataset
(ds_train,ds_test), ds_info = tfds.load('grains', split=["train","val"], with_info=True, as_supervised=True)
where ds_train consist of batch of image and label.
ho…
-
Hi everyone!
I trained an inception model with my custom images (dataset of 8.000 images), then saved it.
And when I try to make predictions with it, whatever is the input images to predict, it's th…
-
# Expectation
Use the `tfdf.builder.CARTBuilder` to build a decision tree structure and train it with the literal dataset, and optimize the tree structure per the performance.
The process is lik…
-
Im using the Keras VGG16 net with a custom top layer (4 class softmax)
```
Loaded model with layers:
[u'input_2', u'block1_conv1', u'block1_conv2', u'block1_pool', u'block2_conv1', u'block2_conv…
-
Hi there,
I got this error whenever I pass my model (converted in a foolbox model) as argument in accuracy() or attack().
```
/usr/local/lib/python3.6/dist-packages/foolbox/utils.py in accuracy…
-
Combined activity prediction code which is Keras based
-
Trying to load model for production predictions with the code:
```python
from keras_dec import ClusteringLayer
from keras.models import load_model
model = load_model('./DEC.model', custom_objects=…
-
### Deep Learning Simplified Repository (Proposing new issue)
:red_circle: **Project Title** : Seed Quality Prediction (also developed an API )
:red_circle: **Aim** : To get to know the quality of t…