Hi,
Thanks for the response. Here is are some of the outputs
debug> isfinite(show)
ans = 0
debug> length(stop)
ans = 0
debug> isfinite(show) & (!rem(iEpochs,show) | length(stop))
error: showtrainprogress: invalid conversion from NaN to logical
debug> rem(0,NaN)
ans = NaN
debug> !rem(1,NaN)
error: showtrainprogress: invalid conversion from NaN to logical
debug> !rem(iEpochs,show)
error: showtrainprogress: invalid conversion from NaN to logical
debug> rem(iEpochs,show)
ans = NaN
debug> disp (iEpochs)
0
debug> disp (epochs)
100
debug> who
Variables in the current scope:
argn goal net shortStr time
currentTime iEpochs normGradX show
epochs minGrad perf stop
debug> whos
Variables in the current scope:
Attr Name Size Bytes Class
==== ==== ==== ===== =====
a argn 12x11 132 char
f currentTime 1x1 8 double
f epochs 1x1 8 double
f goal 1x1 8 double
f iEpochs 1x1 8 double
f minGrad 1x1 8 double
f net 1x1 891 struct
f normGradX 1x1 8 double
f perf 1x1 8 double
f shortStr 1x7 7 char
f show 1x1 8 double
f stop 0x0 0 char
f time 1x1 8 double
Total is 149 elements using 1102 bytes
debug> dbstack
stopped in: