Remove unused functions and imports from modeling_sac.py

- Deleted the `find_and_copy_params` function and the `Ensemble` class, as they were deemed unnecessary.
- Cleaned up imports by removing `from_modules` from `tensordict` to enhance code clarity.
- Simplified the assertion in the `Policy` class for better readability.
This commit is contained in:
AdilZouitine
2025-03-19 18:53:01 +00:00
parent 95758cb867
commit 7551260104
2 changed files with 4 additions and 103 deletions

View File

@@ -91,7 +91,7 @@ dynamixel = ["dynamixel-sdk", "pynput"]
feetech = ["feetech-servo-sdk", "pynput"]
intelrealsense = ["pyrealsense2"]
stretch = ["hello-robot-stretch-body", "pyrender", "pyrealsense2", "pynput"]
hilserl = ["transformers", "torchmetrics", "grpcio", "protobuf", "tensordict"]
hilserl = ["transformers", "torchmetrics", "grpcio", "protobuf"]
mani_skill = ["mani-skill"]
[tool.ruff]