Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error in write_model #39

Open
israrbacha opened this issue Dec 4, 2019 · 1 comment
Open

Error in write_model #39

israrbacha opened this issue Dec 4, 2019 · 1 comment

Comments

@israrbacha
Copy link

Hi,
I try your code but after 300 epoch it give me error in model writer the original message is :
TypeError: write_model() missing 1 positional argument: 'model'

I didn't change your code everything is as it is. I don't know whats the problem the error is in
line 62 in train:
saver.write_model(-1,model)
in epoch 302 when it reaches to 183 iterations it stop with the above message.
please have a look >>>> thanks

@haruka0000
Copy link

Hi. I also got same error. I think it should fix like below.
saver.write_model(-1, model)
saver.write_model(-1, total_it, model)
It needs 3 args.

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

No branches or pull requests

2 participants