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
In the main.py file, when jsonformer fails to generate a number, it continues calling generate number, but without incrementing the iterations variable, causing the "Failed to generate a valid number" to never get called and we get max recursion depth exceeded error.
The text was updated successfully, but these errors were encountered:
toxicpuzzle
changed the title
Infinite recursion bg when call generate_number
Infinite recursion bug when calling generate_number
Apr 21, 2024
I don't know why sometimes it fails to generate any numbers which caused my experiments to fail. That's why I have to make a workaround by returning a default number when it fails after 3 iterations.
In the main.py file, when jsonformer fails to generate a number, it continues calling generate number, but without incrementing the iterations variable, causing the "Failed to generate a valid number" to never get called and we get max recursion depth exceeded error.
The text was updated successfully, but these errors were encountered: