deeponet icon indicating copy to clipboard operation
deeponet copied to clipboard

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

Open yejiwi opened this issue 2 years ago • 1 comments

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!

yejiwi avatar Mar 01 '23 09:03 yejiwi

It has, see

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

lululxvi avatar Mar 08 '23 15:03 lululxvi