banditml icon indicating copy to clipboard operation
banditml copied to clipboard

Model input dimension does not update when keeping top n features

Open virgile-blg opened this issue 3 years ago • 0 comments

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)

virgile-blg avatar Oct 15 '21 15:10 virgile-blg