-
Notifications
You must be signed in to change notification settings - Fork 206
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
Support for custom observation function, minor changes to my previous implementation #126
Support for custom observation function, minor changes to my previous implementation #126
Conversation
Hi @firemankoxd, Thanks a lot for this very nice feature! :D |
@firemankoxd, I just realized now that if you use a custom observation function, the variable |
Hi @LucasAlegre, thanks for pointing this out! Maybe I could change the observation_fns dictionary to nested one, where every key (e.g. default) would have both observation function and observation space?
And as you said, the registration function would require both function and the space. // Edit: Maybe it would also make sense to create some sort of config/functions file where these functions would be stored, what do you think? |
That is exactly what I was thinking! :)
I agree! |
Cool! I will try to push the changes by the end of this day, thank you. :) |
Hey @LucasAlegre, |
@firemankoxd I think this is a good idea! Good luck with your thesis and exams! We can discuss the best way to implement that later :) |
Hello Lucas,
This PR contains following changes: