-
Notifications
You must be signed in to change notification settings - Fork 164
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
RecursionError: maximum recursion depth exceeded while calling a Python object #2
Comments
It's your personal question, you should specify the --warmup_iters, for me, there is no any problem |
In my opinion, you could not put WarmupPolyLR in every iter.
or you could just use (self._step_count - 2) to replace self.cur_iter. After do this, you only need to call WarmupPolyLR after train once, it could have same effect to your origin code, but it reduce many times call function WarmupPolyLR. |
Happy New Year ! Thank you for you suggestion. |
Hi @lgqfhwy |
Maybe this way can help you. Efficient-Segmentation-Networks/train.py Line 25 in 0f0c32e
|
when train on 18epoch, it would report error:
I found that you put WarmupPolyLR in every iters, it would make every iter call WarmupPolyLR, maybe it cause the error.
The text was updated successfully, but these errors were encountered: