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 reason is that: not every batch have location input or output data, which will lead to a running error caused by partially trained modules (e.g., box decoder can not be trained if there are no location out data). Therefore, we additionally include a mock data item to avoid the error. The weight of the data item for loss calculation is set to zero.
When I set batch_size to 8, the shape of the input_ids of the model's input is [9,n]. The first dimension of input_ids is always one more than bs.
The text was updated successfully, but these errors were encountered: