Closed alexmelekhin closed 1 year ago
Hi @metra4ok, thanks for the PR. I found the root cause of this, which is now fixed through this commit. Your solution would have worked too but args such as outdims
better be restored through the model when testing.
Have included your suggestion for wandb resume anyway, thanks again @metra4ok.
"following arguments are required" error: Running testing script as described in README.md now returns following error:
This is because of restoring flags from
flags.json
whenopt.resume == True
deletes all previously passed arguments. While I did not tried to fix restoring arguments in training mode, this PR simply fixes this error in test mode by disabling restoring flags ifopt.mode == 'test'
.wandb resuming in test mode error: Starting test script now results in incorrect attempt to resume non-existing wandb session. This PR fixes that issue if
opt.mode == 'test'