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
As I can see, IngroupIndicesFunction from sst_ops.py is a random number generator. Why do you use it? I can imagine, that RNG can be useful for training, but you use it in the inference code...
I replaced
if len(torch.unique(batch_idx[fg_mask])) < batch_size:
one_random_pos_per_sample = self.get_sample_beg_position(batch_idx, fg_mask)
fg_mask[one_random_pos_per_sample] = True # at least one point per sample
to
if len(torch.unique(batch_idx[fg_mask])) < batch_size:
one_random_pos_per_sample = 0
fg_mask[one_random_pos_per_sample] = True # at least one point per sample
and inference results (FSDv2 with Argo2 config) seems to be identical (batch index is always 0 in my case).
The text was updated successfully, but these errors were encountered:
As I can see, IngroupIndicesFunction from sst_ops.py is a random number generator. Why do you use it? I can imagine, that RNG can be useful for training, but you use it in the inference code...
I replaced
to
and inference results (FSDv2 with Argo2 config) seems to be identical (batch index is always 0 in my case).
The text was updated successfully, but these errors were encountered: