A good tutorial of Solve Partial Differential Equations Using Deep Learning (physics informed neural networks)
조회 수: 17 (최근 30일)
이전 댓글 표시
Hello, instead of Python, I want to learn physics informed neural networks in MATLAB. I am using R2020a
Like there is no function called initializeHe, initializezeros, etc
I found this tutorial, but I just cannot follow it. What I suppoesed is to have a complete code, then I can make breakpoints, etc to learn it. However this one too many jumps, just don't know where I should look.
Can anyone help me?
댓글 수: 0
답변 (3개)
David Willingham
2022년 3월 3일
Did you try opening the full script in MATLAB and running from there?
>> openExample('nnet/TrainPhysicsInformedNeuralNetworkWithDLTExample')
댓글 수: 4
Joseph Eom
2022년 7월 30일
편집: Joseph Eom
2022년 7월 30일
This example supporting R2021a. I think you should upgrade recent version of MATLAB. initializeHe,initializeZeros is internal function to run this example.
SEYED JAMALEDDIN MOSTAFAVI YAZDI
2022년 6월 28일
편집: SEYED JAMALEDDIN MOSTAFAVI YAZDI
2022년 6월 28일
I had same issue. I resolved it by installing the deep learning toolbox of MATLAB.
https://www.mathworks.com/products/deep-learning.html
댓글 수: 0
Akam Aboubakri
2022년 8월 11일
I had the same problem. I solved it with adding the following functions:
function parameter = initializeHe(sz,numIn,className)
arguments
sz
numIn
className = 'single'
end
parameter = sqrt(2/numIn) * randn(sz,className);
parameter = dlarray(parameter);
end
function parameter = initializeZeros(sz,className)
arguments
sz
className = 'single'
end
parameter = zeros(sz,className);
parameter = dlarray(parameter);
end
댓글 수: 0
참고 항목
카테고리
Help Center 및 File Exchange에서 Pattern Recognition and Classification에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!