I load some images and convert them into data rows with “Image to Datarow” node.
In my python node, I load the data as train and test data:
If I print out the data with
I get this:
Now, training my network
model.fit(train_data, train_col, epochs=100, validation_data=(test_data, test_col))
throws an error:
ValueError: Failed to convert a NumPy array to a Tensor (Unsupported object type numpy.ndarray).
I guess, I have to convert or reshape the data somehow. How can I do that?