Torch is in config, but environment seems to be running on tensorflow


  • None: Just asking a question out of curiosity
  • Low: It annoys or frustrates me for a moment.
  • Medium: It contributes to significant difficulty to complete my task, but I can work around it.
  • High: It blocks me to complete my task.

I do not quite understand what Label this error referes to.

tensorflow.python.framework.errors_impl.InvalidArgumentError: Received a label value of 4 which is outside the valid range of [0, 4). Label values: 4

Sometimes it shows nan or inf. How can i debug such issues. Thank you in advance.

Hi @Alexander_Alexandrov,

Unfortunately I don’t have access to the google collab that you shared. Can you share more details on what you are trying to do? accompanied with an e2e repro script?