Error with gliner.js and onnxruntime-node

#1
by debevv - opened

Loading this model with gliner.js (using @xenova /tranformers + onnxruntime) on node.js fails with the following error message:

Error: Non-zero status code returned while running Reshape node. Name:'/span_rep_layer/span_rep_layer/Reshape_2' Status Message: /onnxruntime_src/onnxruntime/core/providers/cpu/tensor/reshape_helper.h:45 onnxruntime::ReshapeHelper::ReshapeHelper(const onnxruntime::TensorShape&, onnxruntime::TensorShapeVector&, bool) input_shape_size == size was false. The input tensor cannot be reshaped to the requested shape. Input shape:{1,180,768}, requested shape:{1,15,10,768}

Sign up or log in to comment