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
One of the scripts in the examples/ folder of Accelerate or an officially supported no_trainer script in the examples folder of the transformers repo (such as run_no_trainer_glue.py)
My own task or dataset (give details below)
Reproduction
The following code snippet will print "None" and then raise an UnboundLocalError:
System Info
Information
Tasks
no_trainer
script in theexamples
folder of thetransformers
repo (such asrun_no_trainer_glue.py
)Reproduction
The following code snippet will print "None" and then raise an UnboundLocalError:
Expected behavior
The iterator should immediately return StopIteration, such that nothing is printed and the script exits normally.
The text was updated successfully, but these errors were encountered: