I am very good at Python and Tensorflow, but I am newbie of KNIME.
I have a question.
Assuming that I am using “Python source” module in KNIME.
import tensorflow as tf
from tensorflow import keras
import numpy as np
import matplotlib.pyplot as plt
fashion_mnist = keras.datasets.fashion_mnist(train_images, train_labels), (test_images, test_labels) = fashion_mnist.load_data()
I want to use “train_images” numpy variable as output, and the dimension is (60000, 28, 28).
However, I found that numpy cannot be used for output of “Python source” module, but only “pandas dataframe” can be used. But, my data is 3d data, so conversion (from numpy to pandas) would be tricky…
Do you have any good solution for this?