i have some problem with using GlobalLocalFilterFPN
870231652 opened this issue · comments
Hi, thanks for your interest in our work. It seems the input tensor and the complex weights in GFNet have different dtypes (float vs. half). I didn't find the line self.pws[i](x).to(torch.float32)
in our released code. I think the problem may be caused by the data type convert.
Thank you for your answer.self.pwsi.to(torch.float32),this sentence is writing in this code by myself.With or without, The warning has not changed。The reason I write this sentence is that I want to address this warning。To ensure consistency with your code,I re-entered the gnconv code, which was copied from github。The mistake is repeated。
Maybe it has something to do with this piece of code I wrote?I really appreciate your kindness!
This problem is caused by my code,sorry to bother you。issue was settled。