lattice-ai / DeepLabV3-Plus

Tensorflow 2.3.0 implementation of DeepLabV3-Plus
https://keras.io/examples/vision/deeplabv3_plus/
101 stars 23 forks source link

We currently do not support distribution strategy with a `Sequential` model #28

Open wangxianzhe opened 2 years ago

wangxianzhe commented 2 years ago

How should this problem be solved?

ValueError: We currently do not support distribution strategy with a Sequential model that is created without input_shape/input_dim set in its first layer or a subclassed model.

arindas commented 2 years ago

Relevant stackoverflow post: https://stackoverflow.com/questions/56325408/input-shape-not-recognised-in-keras-model

Now the problem is, we don't use the Sequential class. I didn't find any invocation using grep. Could you post a complete stacktrace here?