Files
OpenGait/opengait/modeling/models
Zzier 28d4edc647 fix(sconet): convert label_ids to CUDA LongTensor
- ScoNet:
  - Previously, `label_ids` remained a NumPy array, which could cause dtype/device mismatches when used with PyTorch tensors on GPU.
  - Convert `label_ids` to `torch.from_numpy(...).cuda().long()` to ensure correct tensor type (Long) and device (CUDA), aligning with loss functions that expect class indices on the same device.
2025-10-28 17:45:00 +08:00
..
2025-10-07 18:15:04 -04:00
2022-10-19 16:31:21 +08:00
2023-07-15 17:12:13 +08:00
2024-05-11 11:23:06 +08:00
2025-10-07 18:15:04 -04:00
2024-03-19 15:00:08 +08:00
2025-08-14 23:09:58 +08:00
2022-11-12 16:52:58 +08:00
2022-09-14 10:02:01 +08:00
2023-09-27 16:20:00 +08:00
2023-09-27 16:20:00 +08:00
2023-11-22 11:35:27 +08:00
2023-09-27 16:20:00 +08:00
2025-06-11 14:43:19 +08:00
2025-06-11 14:43:19 +08:00
2023-09-27 16:20:00 +08:00
2025-02-12 14:18:34 +08:00
2023-10-29 21:53:02 +08:00
2024-03-05 16:13:11 +08:00
2022-12-05 21:47:24 +08:00
2024-01-31 16:56:56 +08:00