banditml
banditml copied to clipboard
Model input dimension does not update when keeping top n features
Setting : Neural Bandit
When setting keep_only_top_n
to True
, the model keeps the original number of features, resulting in a Pytorch matmul error for the first linear layer:
RuntimeError: mat1 and mat2 shapes cannot be multiplied (256x10 and 121x64)