Tsinghua-MARS-Lab / M2I

M2I is a simple but effective joint motion prediction framework through marginal and conditional predictions by exploiting the factorized relations between interacting agents.
https://tsinghua-mars-lab.github.io/M2I/
MIT License
187 stars 24 forks source link

Changing hidden size leads to runtime error #9

Open Yang-Li-2000 opened 1 year ago

Yang-Li-2000 commented 1 year ago

When training the conditional predictor, changing the hidden_size from 128 to 64 results in an runtime error: RuntimeError: The expanded size of the tensor (64) must match the existing size (128) at non-singleton dimension 1. Target sizes: [10, 64]. Tensor sizes: [10, 128]

Similarly, when training the relation prediction, hidden size == 64 does not work.

What other hyper parameters do I need to change simultaneously when changing hidden_size?