wusize / ovdet

[CVPR2023] Code Release of Aligning Bag of Regions for Open-Vocabulary Object Detection
https://openaccess.thecvf.com/content/CVPR2023/papers/Wu_Aligning_Bag_of_Regions_for_Open-Vocabulary_Object_Detection_CVPR_2023_paper.pdf
Other
172 stars 4 forks source link

nondeterministic #46

Closed hchoi256 closed 3 months ago

hchoi256 commented 4 months ago

Faster-RCNN produces different region proposals on each debug. I found that the file under the path below included a forward function producing different outputs.

x = self.conv1(x) x = self.norm1(x) x = self.relu(x)

I already set the seed properly as follows: --cfg-options randomness.seed=$SEED \ randomness.deterministic=True \

both self.conv1 and self.norm1 produce different outputs per run. Does anyone know how to solve this?