Converge of a PINN

조회 수: 18 (최근 30일)
Giulio Vialetto
Giulio Vialetto 2023년 4월 21일
편집: Dinesh 2023년 4월 25일
Dear all,
I was trying to define a PINN but the NN training do not converge, please any suggestion?

답변 (1개)

Dinesh
Dinesh 2023년 4월 25일
편집: Dinesh 2023년 4월 25일
Hi Giulio,
I have gone through the script you have attached. I do not have any information on the “loss_proiettile” function so I could not run the code. But since the issue is with the convergence of the neural network try tuning some hyperparameters or data
  1. Try changing the initial learning rate to 0.1 instead of 0.01.
  2. Uncomment line number 113, time-based decay learning rates are great for convergence given you start from high learning rate.
  3. Try increasing the data change 'x = 0: 0.1: 40' to ' 0: 0.01 :40 '
  4. Finally, if nothing works try reducing the number of nodes in each layer of the neural network.
if none of the above give a satisfying result then the problem might be with the loss function that is responsible for updating the weights. Refer to research papers on convergence of PINN’s for more information on loss functions.
Hope this helps!

카테고리

Help CenterFile Exchange에서 Sequence and Numeric Feature Data Workflows에 대해 자세히 알아보기

제품


릴리스

R2019b

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by