Help with error: Execute failed: EndVector() takes 1 positional argument but 2 were given

I keep getting the following error when running the BERT classification learner or the KERAS network learner in the KNIME platform:

“Execute failed: EndVector() takes 1 positional argument but 2 were given”

Please guide me as to how I can fix this issue. Thanks in advance!
Hope to

Hi @akhtarameen !!

I was looking for your issue and looks like is not directly related to Knime. Most probably is that the error comes from and incompatibility for some packages used by Tensorflow.

Check this post. TFLite int8 quantization failure in TensorFlow 2.7.0 · Issue #52954 · tensorflow/tensorflow · GitHub

take a look here (TypeError: EndVector() takes 1 positional argument but 2 were given · Issue #51590 · tensorflow/tensorflow · GitHub) where some of the users got a solution downgrading some packages. You can do this in your Python environment directly.

Hope it gives you a way to solve the problem.

Best regards.

5 Likes

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.