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

model_from_config error #88

Open
mhadijalali opened this issue Apr 17, 2024 · 0 comments
Open

model_from_config error #88

mhadijalali opened this issue Apr 17, 2024 · 0 comments

Comments

@mhadijalali
Copy link

Hello

When I run ""poetry run python main.py selfplay dqn_train"" in cmd to run the code for training the rl model, I get this error:

ImportError: cannot import name 'model_from_config' from 'tensorflow.keras.models'

Any idea why? the problem seems to be with model_from_config method.

I have tensorflow 2.16.1 and keras 3.0.0 installed.

Any help would be appreciated!

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

1 participant