meaten / FlowChain-ICCV2023

Trajectory prediction method using a stacked normalizing flow for fast and accurate density estimation.
48 stars 2 forks source link

tensors used as indices must be long, byte or bool tensors #3

Closed jsonton closed 10 months ago

jsonton commented 10 months ago

File "E:\code\FlowChain-ICCV2023-main\src\models\TP\mgcvae.py", line 542, in encode_node_history return outputs[torch.arange(first_history_indices.shape[0]), last_index_per_sequence] IndexError: tensors used as indices must be long, byte or bool tensors

meaten commented 10 months ago

Hi @jsonton,

Thanks for trying my code. Could you provide more info for error reproduction?