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

SNet2 (jax) - UnboundLocalError: local variable 'params_best' referenced before assignment #26

Open
CoteDave opened this issue Oct 14, 2022 · 1 comment

Comments

@CoteDave
Copy link

CoteDave commented Oct 14, 2022

Hi,

catenets == 0.2.1

I Get this error when trying the SNet2 or the DragonNet (jax).

TNet was working #1 with the same data and parameters.

image

@CoteDave CoteDave changed the title SNet2 - UnboundLocalError: local variable 'params_best' referenced before assignment SNet2 (jax) - UnboundLocalError: local variable 'params_best' referenced before assignment Oct 14, 2022
@CoteDave
Copy link
Author

CoteDave commented Oct 14, 2022

On way to avoid onp.isnan(l_curr) == True is to play with the hyperparameters of the SNet(s) (For exemple, it worked when I changed the batch_size to 10000 as the dataset contains ~500000 rows). Seems like a vanishing gradient problem....

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

No branches or pull requests

1 participant