你已经派生过 gprMax
镜像自地址
https://gitee.com/sunhf/gprMax.git
已同步 2025-08-07 23:14:03 +08:00
Removed stopping criterion of success fitness values threshold.
这个提交包含在:
@@ -244,10 +244,6 @@ def main():
|
|||||||
if fitnessvalueshist[i - 1] > fitness['stop']:
|
if fitnessvalueshist[i - 1] > fitness['stop']:
|
||||||
break
|
break
|
||||||
|
|
||||||
# Stop optimisation if successive fitness values are close to one another
|
|
||||||
if i > 1 and fitnessvalueshist[i - 1] - fitnessvalueshist[i - 2] < 0.0001:
|
|
||||||
break
|
|
||||||
|
|
||||||
# Save optimisation parameters history and fitness values history to file
|
# Save optimisation parameters history and fitness values history to file
|
||||||
opthistfile = inputfileparts[0] + '_hist'
|
opthistfile = inputfileparts[0] + '_hist'
|
||||||
np.savez(opthistfile, dict(optparamshist), fitnessvalueshist)
|
np.savez(opthistfile, dict(optparamshist), fitnessvalueshist)
|
||||||
|
在新工单中引用
屏蔽一个用户