GithubHelp home page GithubHelp logo

Data type about hyperactive HOT 7 CLOSED

simonblanke avatar simonblanke commented on May 22, 2024
Data type

from hyperactive.

Comments (7)

SimonBlanke avatar SimonBlanke commented on May 22, 2024

Hello @aminamani10,

yes, Hyperactive is very flexible in how you put your model into the objective function. If the image-datagenerator-stuff does not change during the optimization run you can just put it outside the objective function. This way it is created only once instead of each time the objective function is evaluated.

If you post a small script of your model I can show you how to utilize Hyperactive.

from hyperactive.

aminamani10 avatar aminamani10 commented on May 22, 2024

Tnx I could solve that. it will be amazing if you can link this project with pyomo package and adding other metaheuristics algorithms to this package to solve mathematical programming problems too ( and multiobjective mathematical programming problem). all industrial engineers and those who are research in the operation research field will cite your package in their research.

from hyperactive.

aminamani10 avatar aminamani10 commented on May 22, 2024

I have another question too, it takes too much for running this with a deep network, is it possible to run this on a tpu (google colab) too? if it's possible will be great if you put an example code for that. very tnx.

from hyperactive.

SimonBlanke avatar SimonBlanke commented on May 22, 2024

Hello @aminamani10,

I will look into the pyomo package. It will probably be very difficult to link Hyperactive with pyomo, but I could implement some of the algorithms in my package.

It is possible to run the network on a GPU or TPU. Hyperactive does not affect how the model is trained.
Also: Hyperactive does not slow down the training procedure at all. The computational load from Hyperactive is orders of magnitude smaller than from deep neural network training (except if you go absolutely crazy with the smbo algos).

If you want to run the code on google colab you can just copy the code from the example into colab and run it. But I will also add some examples in google colab within the next few days.

from hyperactive.

aminamani10 avatar aminamani10 commented on May 22, 2024

i have no problem with running code on colab with GPU, but with TPU it doesn't run. it will be great if u add example for TPU tnx.

from hyperactive.

SimonBlanke avatar SimonBlanke commented on May 22, 2024

@aminamani10 I just ran the tensorflow example from the Hyperactive examples on a TPU in colab and it works without any problems. Could you provide an example I can run, that shows the error in colab?

from hyperactive.

aminamani10 avatar aminamani10 commented on May 22, 2024

unfortunately, I did not save that. but the problem was when the CNN model function wanted to be run inside strategy.scope() function, it did not recognize the params input. it would be great if you add an example for this. tnx

from hyperactive.

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.