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

main.py : TypeError:__init__() got an unexpected keyword argument 'save_checkpoints_secs' #41

Open
Nicozwy opened this issue Feb 26, 2019 · 2 comments

Comments

@Nicozwy
Copy link

Nicozwy commented Feb 26, 2019

I got this error caused by the argument in the 'RunConfig' function when I run the 'python main.py' command. However, it still showed that 'Estimator' object has no attribute 'eval_dir'. what should I do next? Thank you in advance.

@Nicozwy
Copy link
Author

Nicozwy commented Feb 26, 2019

1 handling the first bug by adding .replace() to the RunConfig function
2 should I upgrade the tf in order to support the eval_dir?

@guillaumegenthial
Copy link
Owner

Hi @393301836 , it's probably a tf version error, if you check on the tensorflow documentation, these arguments / methods should be defined. You can either modify the code to accomodate those problems to your tf version or upgrade to 1.x

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