MAIF / melusine

📧 Melusine: Use python to automatize your email processing workflow

Home Page:https://maif.github.io/melusine

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Value Error : Input 0 of layer dense_2 is incompatible with the layer

opened this issue · comments

Hi !
I think I have detected a bug about emails metadata's structure. Indeed, I trained a model with a specific metadata dataset structure (look at the first picture attached). But when I try to predict a result with a dataset which has a bigger structure, the followig error appears :

"ValueError: Input 0 of layer dense_2 is incompatible with the layer: expected axis -1 of input shape to have value 9 but received input with shape [None, 10]"

I join you an example of this dataset (the second picture) so you can see what I mean. I think it could be a problem from tensorflow but I'm not sure.

Python version :
3.8

Melusine version :
2.3.1

Operating System :
Windows 10

first dataset

second dataset

Hi !
I've solved this issue !