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

Hello, when running the train. x program, there will be an error: invalid function type in ` change_activation': swish #19

Open
guchen147 opened this issue Dec 4, 2024 · 2 comments

Comments

@guchen147
Copy link

guchen147 commented Dec 4, 2024

The compiler used is: mpi/openmpi/4.1.1-gcc7.3.0
The compilation method is:
cd lib
make
cd ../src
make -f makefiles/Makefile.gfortran_mpi
Generate train. x program
The software version is 2.0.4
My in file is as follows
image
Error screenshot:
image

@alexurba
Copy link
Contributor

alexurba commented Dec 4, 2024

As the error message implies, swish is not a valid activation function in ænet. It is not implemented. However, I believe there is support for the very similar GELU function (https://arxiv.org/abs/1606.08415).

@guchen147
Copy link
Author

Okay, thank you. I'll give it a try

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

2 participants