-
Notifications
You must be signed in to change notification settings - Fork 72
Open
Description
Hi, when I want to run either validation or testing phase, there is an error in the advance function of beamsearch as below:
self.hid_h = h[beams_order] #(beam, n_hid); sorted
IndexError: tensors used as indices must be long, byte or bool tensors
the output for beams_order is tensor([0.0557, 0.0172, 0.0002, 0.0270], device='cuda:0')
Metadata
Metadata
Assignees
Labels
No labels