Skip to content

RuntimeError #4

@suhan21

Description

@suhan21

Traceback (most recent call last):
File "/home/suhan/DLPro/Image-Background-Remover-Python-main/init.py", line 113, in
print(removeBg(imgPath))
File "/home/suhan/DLPro/Image-Background-Remover-Python-main/init.py", line 82, in removeBg
d1, d2, d3, d4, d5, d6, d7 = net(image)

RuntimeError: Input type (torch.FloatTensor) and weight type (torch.cuda.FloatTensor) should be the same or input should be a MKLDNN tensor and weight is a dense tensor

Hi , I have install all the necessary packages and i use interpreter as conda. I Got the above error. I can't able to solve. Please, can you help me to solve this.Thanks in advance.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions