M2I icon indicating copy to clipboard operation
M2I copied to clipboard

Changing hidden size leads to runtime error

Open Yang-Li-2000 opened this issue 2 years ago • 0 comments

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?

Yang-Li-2000 avatar Aug 10 '22 08:08 Yang-Li-2000