You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The program is stuck at "There are 0 examples for label [my_label]" while iPETs are choosing examples per label for the next generation. This is because there is no condition ex.label == label in this line:
causing the while loop len(examples) < examples_per_label[idx] to never break.
A possible solution is to use a conditional check to verify if there are any examples with the given label before attempting to extend the examples to break the loop.
Fan.
The text was updated successfully, but these errors were encountered:
The program is stuck at "There are 0 examples for label [my_label]" while iPETs are choosing examples per label for the next generation. This is because there is no condition
ex.label == label
in this line:pet/pet/modeling.py
Line 743 in 21d32de
causing the while loop
len(examples) < examples_per_label[idx]
to never break.A possible solution is to use a conditional check to verify if there are any examples with the given label before attempting to extend the
examples
to break the loop.Fan.
The text was updated successfully, but these errors were encountered: