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

ModuleNotFoundError: No module named 'finite_mdp' #91

Open
zsn2021 opened this issue Dec 31, 2022 · 3 comments
Open

ModuleNotFoundError: No module named 'finite_mdp' #91

zsn2021 opened this issue Dec 31, 2022 · 3 comments

Comments

@zsn2021
Copy link

zsn2021 commented Dec 31, 2022

When I run the configuration file:
evaluate
configs/HighwayEnv/env.json
configs/HighwayEnv/agents/MCTSWithPriorPolicyAgent/vi_prior.json
--train
--episodes=20
How to deal with such errors?
”ModuleNotFoundError: No module named 'finite_mdp'“

@zsn2021
Copy link
Author

zsn2021 commented Dec 31, 2022

I solved this problem by ”pip install finite_mdp“
But there is a new problem ”AttributeError: 'ValueIterationAgent' object has no attribute 'action_distribution'“

@zsn2021
Copy link
Author

zsn2021 commented Dec 31, 2022

I did not find attribute 'action_distribution' under 'ValueIterationAgent' object

@eleurent
Copy link
Owner

Hmm that is weird, could you show the error's stack trace, so I can understand what causes the code trying to access the agent's 'action_distribution'? (It shouldnt be needed for the ValueIterationAgent, which atm is deterministic)

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