Update rsl-rl-lib version constraint to fix ValueError when start training.#47
Open
CMBill wants to merge 1 commit intoHellod035:mainfrom
Open
Update rsl-rl-lib version constraint to fix ValueError when start training.#47CMBill wants to merge 1 commit intoHellod035:mainfrom
CMBill wants to merge 1 commit intoHellod035:mainfrom
Conversation
There was a problem hiding this comment.
Pull request overview
This PR fixes a ValueError that occurs when starting training with rsl-rl-lib version 3.0.0 or higher by adding an upper bound version constraint to exclude incompatible versions. The error was caused by breaking API changes in rsl-rl 3.0+ that expect an 'obs_groups' configuration with a 'policy' key that is not being provided by the current codebase.
Key Changes:
- Constrained rsl-rl-lib dependency to versions >=2.3.0 and <3.0.0 to avoid incompatibility issues with version 3.0+
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Author
|
found issue #38 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
开始训练时报错:
后尝试使用低于
3.0版本的rsl_rl包测试发现没有报错,应该是rsl_rl包的版本问题,于是修改了setup.py中install_requires里对rsl-rl-lib的版本要求,添加了<3.0.0。目前不确定较早的
3.0版本的rsl_rl包是否报错,但是2.0版本中最新的2.3.3是没问题的。