ZhengyaoJiang / PGPortfolio

PGPortfolio: Policy Gradient Portfolio, the source code of "A Deep Reinforcement Learning Framework for the Financial Portfolio Management Problem"(https://arxiv.org/pdf/1706.10059.pdf).
GNU General Public License v3.0
1.74k stars 750 forks source link

Value error: the length of selected coins 0 is not equal to expected 11 #10

Closed AhmMontasser closed 6 years ago

AhmMontasser commented 6 years ago

Hello, Thanks for the great work, i keep getting error message

'the length of selected coins 0 is not equal to expected 11' when i start training using 'python main.py --mode=train --processes=1'

Regards,

ZhengyaoJiang commented 6 years ago

Greetings. Still, it looks like a problem of downloading data. I will upload dataset to a online disk.

Regards Zhengyao

AhmMontasser commented 6 years ago

Thanks very much :)

ZhengyaoJiang commented 6 years ago

Please check the first release where there is a Data.db file. Also, please make sure you've pulled the latest commit and set the online in input config to be false.

AhmMontasser commented 6 years ago

Thank you, i trained successfully