Code Monkey home page Code Monkey logo

Comments (6)

iobond avatar iobond commented on August 28, 2024 1

what should I configure to let your code to run on GPU for tensorflow?

from deep-trading-agent.

samre12 avatar samre12 commented on August 28, 2024

Are you running the script on a hardware accelerator (eg. GPU or TPU) with tensorflow configured for its use?

from deep-trading-agent.

iorobot avatar iorobot commented on August 28, 2024

Not yet, I only try with the CPU version. Anyway the it/s starts at good rate almost 3000 it/s but then, after 10 minute collapse at 20 it/s. Is his normal or happens only to me?

By the way you can mark this as question ;)

from deep-trading-agent.

samre12 avatar samre12 commented on August 28, 2024

Yeah it initially starts with a high rate because it takes random actions upto certain number time steps after which it starts to back-propagate the losses through the network. Thus, the sudden drop in the number of iterations.
Further, it is slow when run only on CPU and won't have significant speed up on GPU as well since the computation is stalled every time the next action is evaluated.

from deep-trading-agent.

iorobot avatar iorobot commented on August 28, 2024

Then i need to wait 10 days of computation ?!?

from deep-trading-agent.

samre12 avatar samre12 commented on August 28, 2024

There is still work left to tune the hyper parameters of the model and to decide upon the most suitable reward function. Currently the model converges after around 2-3 hours to a stable reward value (though pretty close to 0) .

from deep-trading-agent.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.