I try to use a Tensorflow model (created with Keras) in OpenCV/dnn (3.3.0). But I get the following error message: OpenCV Error: Unspecified error (Unknown layer type Shape in op flatten_1/Shape) This is the python code to create and export the model. import os import sys import shutil import subprocess import numpy as np import tensorflow as tf from keras.models import Model from keras import bac