Closed phantom-duck closed 7 months ago
@phantom-duck
s***t, thanks! :) I will release a fix asap
@phantom-duck
it is fixed and merged to master, so if you install from git you should not have a problem
pip install git+https://github.com/jrzaurin/pytorch-widedeep.git
I will publish to pypi asap
@phantom-duck
it is now published to pypi. THANKS for opening the issue
https://github.com/jrzaurin/pytorch-widedeep/blob/b1bf2faf0f134d8258f6a56c6857d14c24f0a852/pytorch_widedeep/models/tabular/transformers/saint.py#L291
https://github.com/jrzaurin/pytorch-widedeep/blob/b1bf2faf0f134d8258f6a56c6857d14c24f0a852/pytorch_widedeep/models/tabular/resnet/tab_resnet.py#L403
I believe the attribute intended to be used here is
self.mlp_hidden_dims
.A minimal reproducible example is the following:
which fails with the error
AttributeError: 'SAINT' object has no attribute 'mlp_hidden_dim'