ContrastiveSeg
ContrastiveSeg copied to clipboard
about the memory bank
Hello. Thanks for your great work.
I run the script cityscapes/hrnet/run_h_48_d_4_contrast_mem.sh, but the it turns out that the result is worse than baseline.
There may be some bugs in the implement of memory, such as pixel_queue_ptr[lb] = (pixel_queue_ptr[lb] + 1) % self.memory_size
in line 138, trainer_contrastive.py. I also find that the semi-hard example sampling is not implemented in your code.
I think these may be the reasons that I can't reproduce your results. Would your provdie an updated version of the implement of memory bank?
Looking forword to your reply!