AI4Finance-Foundation / AI4Finance-Foundation/FinRL-Tutorials

China_A_share_market_tushare.py cannot run correctly.

オープン
#66 コメント 0 件 リアクション 1 件 担当者 0 名 GitHub で見る
bug
主要言語
Jupyter Notebook
スター
1.2k
フォーク
435
PR マージ指標
30日以内にマージされた PR はありません

説明

when run to
trained_ddpg = agent.train_model(
model=model_ddpg, tb_log_name="ddpg", total_timesteps=10000
)

it complains:
trained_ddpg = agent.train_model( tensorflow.python.framework.errors_impl.FailedPreconditionError: tensorboard_log/ddpg\ddpg_1 is not a directory.
How to fix it?

ps.
and another fix is in env_stocktrading_China_A_shares.py
def _get_date(self):
if len(self.df.tic.unique()) > 1:
'''
wrong code , date -->time
'''
date = self.data.date.unique()[0]
'''should be'''
date = self.data.time.unique()[0]

コントリビューションガイド

コントリビューションガイドを開く

評価

この issue はまだ評価されていません。

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。