q-trader icon indicating copy to clipboard operation
q-trader copied to clipboard

Training time and async/await

Open talvasconcelos opened this issue 6 years ago • 2 comments

What is the python training time for this? With default settings 10 window and 1000 episodes, on what hardware?

Also, in Python is the fit() sequential? i mean, the code stops until model.fit() is done?

I'm trying to port this to tfjs and the code rushes through the for loop of the episodes and the data length but doesn't "wait" for the model.fit(). Now i'm using async/await for it to wait for the model.fit() but it's taking a great amount of time. Can someone shed some light?

talvasconcelos avatar Sep 13 '18 17:09 talvasconcelos

This implementation is very slow... If you're using tensorflow i recommend you to see tensorforce for a faster training.

I can also suggest you to see my project called TradzQAI.

kkuette avatar Sep 16 '18 10:09 kkuette

Yes, this implementation is very slow, I have RTX 2060 and cunn, 1 hour can only train 10 episode .

rui-ren avatar Oct 04 '19 01:10 rui-ren