Closed aphedges closed 4 years ago
Thanks for catching this! As you point out, the code blocks are almost identical. Would you mind refactoring this? If that's not your cup of tea, I should be able to do so myself later.
Thanks for responding so quickly! I think I can refactor it. I'll comment here again when I'm done.
I have refactored the code. I had to make some text more generic to work for both types of files, and I fixed two other typos. Please let me know if you have any more feedback.
Thanks! I merged this.
Thank you very much!
I also added a test to the randomization.test.sh
script which verifies that the training continues exactly as it was when it is reloaded like this.
I'm glad to have some additional tests in place for this.
I made some code changes to fix #170.
I created two new parameters,
-init-gradsq-file
and-load-init-gradsq
that correspond to-init-param-file
and-load-init-param
. Most of the code between the two sets of parameters is exactly the same.