Hi,
I am reading the code correctly that the difference is between:
for counter in range(1, 6):
    set_seed(seed=RANDOM_SEED)

and
set_seed(seed=RANDOM_SEED)
for counter in range(1, 6):

?
If so, then it is expected as in the second case, when you recreate the net inside the for-loop, since the seed is not set, you get a different initialiazation for your net and so you will get different results.