Closed talesa closed 1 year ago
Check out this pull request on
See visual diffs & provide feedback on Jupyter Notebooks.
Powered by ReviewNB
Thanks a lot, @talesa for putting together this PR! The PR is now merged, so you are a new tsai contributor!
I have a question and a request.
You mention "Needed it to reproduce some results elegantly." I'm curious to know what results you are trying to reproduce. AFAIK XResNet1dPlus is a model I adapted from fastai's vision xresnet, and it's only available in tsai
. I'm not aware that anyone has published any results with it.
In the future, it'd be good to keep PRs focused on a single enhancement/ bug fix. The changes you made make sense, but you are mixing an enhancement in one model with a bug fix in 2 different models.
Thanks again and keep up the great work!!
Minor change to allow to parameterize
block_szs
in XResNet1dPlus. Needed it to reproduce some results elegantly.Also, fixing a small bug with
custom_head
argument for some of the models. The same solution as per other models, e.g., https://github.com/timeseriesAI/tsai/blob/00593d5ef3e0b3fc82bc7bd54fd325bab8d615d2/tsai/models/ResNetPlus.py#L65-L67cc @oguiza