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

KeyError: 'Glorot normalstacked' #35

Open
fyxemily opened this issue Apr 21, 2023 · 1 comment
Open

KeyError: 'Glorot normalstacked' #35

fyxemily opened this issue Apr 21, 2023 · 1 comment

Comments

@fyxemily
Copy link

Hi,sir.
It confused me a lot that if I change 'stacked' to True, error happens:

Traceback (most recent call last):
File "C:/Users/lenovo/PycharmProjects/pythondeep/deeponet_pde.py", line 286, in
main()
File "C:/Users/lenovo/PycharmProjects/pythondeep/deeponet_pde.py", line 269, in main
net = dde.maps.DeepONet(
File "C:\Users\lenovo\anaconda3\lib\site-packages\deepxde\nn\tensorflow_compat_v1\deeponet.py", line 60, in init
self.kernel_initializer_stacked = initializers.get(
File "C:\Users\lenovo\anaconda3\lib\site-packages\deepxde\nn\initializers.py", line 185, in get
return INITIALIZER_DICT[identifier]
KeyError: 'Glorot normalstacked'

Process finished with exit code 1

Could you please give me a help! thanks alot

@lululxvi
Copy link
Owner

"stacked" one is used for stacked DeepONet, which is not suggested.

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