Possible syntax error in trainer.py
sreeragiyer opened this issue · 3 comments
sreeragiyer commented
Hi,
I faced config
is undefined while trying to train the model. It looks like line 298 in https://github.com/codeslake/IFAN/blob/main/models/trainers/trainer.py should be self.config.mode
instead of config.mode
edit: 278->298
codeslake commented
Hi,
config.mode
can also be referred, as config
is passed through the init
function.
Can you paste the exact error message?
codeslake commented
Hi, config.mode
line 298 can be a problem. I've updated the repository.
Can you pull the repo and try the training procedure again?
sreeragiyer commented
yes, that resolves the issue.