You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
When fitting an uninitialized HMM, and not specifying sample_weight I get a runtime error saying that not all tensors are on the same device.
The error occurs on line 262 of distributions/normal.py
261 if self.covariance_type == 'full':
--> 262 self._w_sum += torch.sum(sample_weight, dim=0)
RuntimeError: Expected all tensors to be on the same device, but found at least two devices, cuda:0 and cpu!
To Reproduce
Note that I'm not sure if this is the correct way of fitting an HMM using this package.
Describe the bug
When fitting an uninitialized HMM, and not specifying
sample_weight
I get a runtime error saying that not all tensors are on the same device.The error occurs on line 262 of distributions/normal.py
To Reproduce
When I use the below I get another error, for which I will open a separate issue.
The text was updated successfully, but these errors were encountered: