lululxvi / deeponet

Learning nonlinear operators via DeepONet
Other
474 stars 130 forks source link

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

Open yejiwi opened 1 year ago

yejiwi commented 1 year ago

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 commented 1 year ago

It has, see

https://github.com/lululxvi/deeponet/blob/8d62345afd39e1df9c2c8c8d0e7c41882b06a9bf/src/config.py#L1