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
What is the first_stride parameter set when initializing blocks in the Res5ROIHeads class?
TypeError: init() got an unexpected keyword argument 'first_stride'
Try to solve:
Convert first_stride=2 to stride_per_block=[2, 1, 1]。
But,“TypeError: add(): argument 'alpha' must be Number, not NoneType”.
Then,
But,"FloatingPointError: Predicted boxes or scores contain Inf/NaN. Training has diverged."
The text was updated successfully, but these errors were encountered:
Decade-Li
changed the title
first_stride=2
TypeError: init() got an unexpected keyword argument 'first_stride'
Jan 30, 2023
Hi, i had the same problem when i was trying to run the model.
If you check the logs in the training examples that they have in google drive, you can find this warning:
What is the first_stride parameter set when initializing blocks in the Res5ROIHeads class?
TypeError: init() got an unexpected keyword argument 'first_stride'
Try to solve:
Convert first_stride=2 to stride_per_block=[2, 1, 1]。
But,“TypeError: add(): argument 'alpha' must be Number, not NoneType”.
Then,
But,"FloatingPointError: Predicted boxes or scores contain Inf/NaN. Training has diverged."
The text was updated successfully, but these errors were encountered: