Closed Elfilali-Taoufiq closed 3 years ago
hello, and thanksn for this great work,
I am trying to do inference from the pretrained model, i chose the first model : Seg-T-Mask/16 | 38.1 / 38.8 | 7M | 512x512
then, i want to test for some images with *512512** resolution, but i got this error
RuntimeError: Input type (torch.cuda.FloatTensor) and weight type (torch.FloatTensor) should be the same
Thanks
Ditto. https://github.com/rstrudel/segmenter/issues/11#issuecomment-876396362
Hi @Elfilali-Taoufiq , I pushed a fix, cf #11 . It should be good now.
hello, and thanksn for this great work,
I am trying to do inference from the pretrained model, i chose the first model : Seg-T-Mask/16 | 38.1 / 38.8 | 7M | 512x512
then, i want to test for some images with *512512** resolution, but i got this error
RuntimeError: Input type (torch.cuda.FloatTensor) and weight type (torch.FloatTensor) should be the same
Thanks