BIMSBbioinfo/janggu

AxisError: axis 2 is out of bounds for array of dimension 2

Closed this issue · 3 comments

1

2

My model runs perfectly.
3

Is something wrong with ReduceDim because when I remove it, this answer comes. Can I do an evaluation with ReduceDim, If yes then can you please tell me how?

4

Can you please tell me why I am getting AxisError?
This Error is related to Janggu.
Thank You.

Solved this issue in the previous post.
Thanks.!

wkopp commented

hi @starboyvarun,

the reason here is also that LABELS was already wrapped with ReduceDim(LABELS) earlier. Wrapping it twice made the dataset incompatible with the neural network model.

Hello @wkopp, I understood now.
Thank You.