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
Hello @tahirashehzadi
This is because the input image is too small and there are not enough queries to select top_sa. We use (800,1333) as the default input shape, and topk_sa=300. Did you change the input shape and "topk_sa"?
Question
Hi,
I encountered an error while training the model on a custom dataset:
select_tgt_index = torch.topk(mc_score, self.topk_sa, dim=1)[1]
RuntimeError: selected index k out of range
Additional
No response
The text was updated successfully, but these errors were encountered: