Closed zhuobinggang closed 1 year ago
Hi, thanks for the PR. About your issue, have you checked that tags
has been moved to GPU? Tensor mask
is created in the same device as tags
because torch.ones_like
is used.
Thank you, that is my problem.
BUG fixed: mask tensor should be on cuda also by condition.
I was using this repository, and there was a ERROR when using the GPU, and I changed the source code of the local repository myself and it worked.