MATLAB Answers

Parfor freezes during execution

조회 수: 2(최근 30일)
niccolo dematteis
niccolo dematteis 2020년 11월 2일
댓글: niccolo dematteis 2020년 11월 10일
Sometimes happens that parfor hangs during the execution without returning any error. When this occurs, the processors work at few percent of their potential. I tried to change the number of cores, but the problem still happens. I know the many other people have exeperienced the same issue.
I wish mathorks may fix this problem soon!
  댓글 수: 2
niccolo dematteis
niccolo dematteis 2020년 11월 10일
Thank Gouri for your response.
I attached the code. You have to launch batch_standalone_demo.m
Unfortunately, I cannot upload any input data for the 5 MB size limit of the attachment, but you can use two jpeg images at your choice. Just put them in the same folder of the scripts. I suggest to test the code with large images (>20 Mpx), because the freezing problem occurs more often with larger input data

댓글을 달려면 로그인하십시오.






Community Treasure Hunt

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

Start Hunting!

Translated by