Skip to content

Fix bug in model parameter reset and add results#9

Open
LukasHedegaard wants to merge 10 commits intosamotiian:masterfrom
LukasHedegaard:master
Open

Fix bug in model parameter reset and add results#9
LukasHedegaard wants to merge 10 commits intosamotiian:masterfrom
LukasHedegaard:master

Conversation

@LukasHedegaard
Copy link

Hi, thank You for making the code publicly available.
There is a subtle bug in the implementation when multiple experiments are run. Tensorflow and Keras do not reset model parameters automatically, so by training the model in a loop with varying data, the model is accumulating knowledge from all splits, and not only one as intended.

In this pull request, I have fixed this issue by externalising the experiment loop to an external script and adding the appropriate arguments. A print of the results running the script was added as well.

Also, a Conda environment.yml was added to make reproducibility easier.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant