AI4Finance-Foundation / AI4Finance-Foundation/FinRL

Stable Baselines 3's DummyVecEnv Reset -> too many values to unpack (expected 2)

Đang mở
#1,051 3 bình luận 0 reaction 0 người được giao Xem trên GitHub
bug good first issue
Ngôn ngữ chính
Jupyter Notebook
Star
16.3k
Fork
3.5k
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Mô tả

Hi guys. I try to use examples notebooks in the repo for training. Both on enviroment reset functions and agents' step I get this error about Stable Baselines 3's DummyVecEnv Reset:
```
.venv/lib/python3.10/site-packages/stable_baselines3/common/vec_env/dummy_vec_env.py:77, in DummyVecEnv.reset(self)
75 print("Env #",self.num_envs)
76 for env_idx in range(self.num_envs):
---> 77 obs, self.reset_infos[env_idx] = self.envs[env_idx].reset(seed=self._seeds[env_idx])
78 self._save_obs(env_idx, obs)
79 # Seeds are only used once

ValueError: too many values to unpack (expected 2)
```
My python is 3.10, stable-baselines3's Version is 2.0.0 and finrl's version is lastest (0.3.6)
How can I fix it?

Hướng dẫn đóng góp

Chưa lập chỉ mục được hướng dẫn đóng góp cho kho mã nguồn này

Đánh giá

Issue này chưa được đánh giá.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.