Skip to content
Advertisement

Tensorflow Fused conv implementation does not support grouped convolutions

I did a neural network machine learning on colored images (3 channels). It worked but now I want to try to do it in grayscale to see if I can improve accuracy. Here is the code:

JavaScript

You can see that I have changed the input_shape to have 1 single channel for grayscale. I’m getting an error:

Node: 'sequential_26/conv2d_68/Relu' Fused conv implementation does not support grouped convolutions for now. [[{{node sequential_26/conv2d_68/Relu}}]] [Op:__inference_train_function_48830]

Any idea how to fix this?

Advertisement

Answer

Your train_generator does not seem to have the colormode='grayscale'. Try:

JavaScript
User contributions licensed under: CC BY-SA
7 People found this is helpful
Advertisement