FBPINNs icon indicating copy to clipboard operation
FBPINNs copied to clipboard

no attribute 'cost_analysis' in training

Open kuijianChang opened this issue 7 months ago • 3 comments

Dear Ben, Hello, when I run the example such as 1D harmonic oscillator problem , a code error was encountered in trainers.py as following: Traceback (most recent call last): \test.py", line 38, in run.train()# start training the FBPINN \FBPINNs-main\fbpinns\trainers.py", line 654, in train cost_ = update.cost_analysis() AttributeError: 'Compiled' object has no attribute 'cost_analysis'. Could you please help me figure out where the error is? Thank you very much!

kuijianChang avatar Jul 10 '24 09:07 kuijianChang