Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SmeLU activation function not found #495

Closed
strakehyr opened this issue Apr 28, 2022 · 2 comments
Closed

SmeLU activation function not found #495

strakehyr opened this issue Apr 28, 2022 · 2 comments
Labels
enhancement New feature or request

Comments

@strakehyr
Copy link

As answered in the newest implementation (#458), the newly (v. 0.3.1) added activation function SmeLU did not work for me when using it in a TSTPlus model:

    learn = ts_learner(dls, TSTPlus, ks = ks, n_layers = n_layers, d_model = d_model, 
                       n_heads = n_heads, dropout = dropout, act = 'SmeLU',
                       opt_func = SGD, loss_func = mse,
                       metrics=[mae, mse], cbs=cbs)

Also tried via the TSTPlus function, and the build_ts_model function. They all bring:

ValueError: SmeLU is not available. You can use "relu", "gelu", or a callable

oguiza pushed a commit that referenced this issue Apr 29, 2022
@oguiza oguiza added the enhancement New feature or request label Apr 29, 2022
@oguiza
Copy link
Contributor

oguiza commented Apr 29, 2022

I've just fixed this issue on GitHub. Please, try it again if you have a chance.

@strakehyr
Copy link
Author

Working perfectly. Thanks, chief.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants