juhongm999 / hsnet

Official PyTorch Implementation of Hypercorrelation Squeeze for Few-Shot Segmentation, ICCV 2021
231 stars 43 forks source link

random seed #34

Open Nastu-Ho opened 8 months ago

Nastu-Ho commented 8 months ago

https://github.com/juhongm999/hsnet/blob/6b1bc12b3ff9f3950f49c55ab6f089e8d9e0d191/train.py#L19 I found an issue where the line19 code would re-fix the random seed with the same parameters every time after the second epoch, which would make the sampled pairs and the order of the pairs the same in subsequent epochs.