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

AttributeError: module 'config' has no attribute 'processes' #30

Open
yejiwi opened this issue Mar 1, 2023 · 1 comment
Open

AttributeError: module 'config' has no attribute 'processes' #30

yejiwi opened this issue Mar 1, 2023 · 1 comment

Comments

@yejiwi
Copy link

yejiwi commented Mar 1, 2023

Hi there,

When I run deeponet_pde.py, I get an error message that

AttributeError: module 'config' has no attribute 'processes'

It is because in spaces.py, eval_u function has this line

p = ProcessPool(nodes=config.processes)

In this case, how should I modify the code?

Thanks in advance!

@lululxvi
Copy link
Owner

lululxvi commented Mar 8, 2023

It has, see

processes = 4

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