AKASH2907/deepfakes_video_classification

demo error

ss880426 opened this issue · 1 comments

I run 10.evaluate_triplets.py and got this error
ValueError: Input 0 of layer Conv2d_1a_3x3 is incompatible with the layer: : expected min_ndim=4, found ndim=3. Full shape received: (32, 160, 160)
It seems to be related to embeddings = embedder.embeddings(batches)
How to solve this?
thanks!

i use batches = batches.values.reshape(-1,160,160,3) to solved it
but got new error from
x_test = testing_embeddings.predict(x_test_after)
ValueError: Input 0 is incompatible with layer model: expected shape=(None, 512), found shape=(None, 64)