AI4Finance-Foundation / AI4Finance-Foundation/FinRL-Tutorials

Error while importing libraries in Optuna Basic tutorial

Đang mở
#88 2 bình luận 0 reaction 0 người được giao Xem trên GitHub
Ngôn ngữ chính
Jupyter Notebook
Star
1.2k
Fork
435
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Mô tả

https://github.com/AI4Finance-Foundation/FinRL-Tutorials/blob/master/4-Optimization/FinRL_HyperparameterTuning_using_Optuna_basic.ipynb

I am getting the following error while recreating the above notebook

ModuleNotFoundError Traceback (most recent call last)
[](https://localhost:8080/#) in ()
19 # !pip install ray==1.13.0
20 import ray
---> 21 from finrl.agents.rllib.models import DRLAgent as DRLAgent_rllib
22 from finrl.meta.data_processor import DataProcessor
23 import joblib

[/usr/local/lib/python3.10/dist-packages/finrl/agents/rllib/models.py](https://localhost:8080/#) in
3
4 import ray
----> 5 from ray.rllib.algorithms.a2c import a2c
6 from ray.rllib.algorithms.ddpg import ddpg
7 from ray.rllib.algorithms.ppo import ppo

ModuleNotFoundError: No module named 'ray.rllib.algorithms.a2c'

Please help

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

Mở hướng dẫn đóng góp

Đá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.