question about the forward embedding
wangren97 opened this issue · comments
Dear author,
Thanks for your nice work! I have a question about the forward_embedding function in context_cluster.py. In line 445, I think _, c, img_w, img_h = x.shape should be _, c, img_h, img_w = x.shape and when calculating the fea_pos, the order of range_w and range_h should be exchanged in torch.meshgrid. Is it right?
Yeah, thanks for your reminder. This will not affect the final result
Yeah, thanks for your reminder. This will not affect the final result
Hello, Why does the indexing parameter in torch.meshgrid
use ij instead of xy in line 450