Comments (7)
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.
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.
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.
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.
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.
@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.
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)
- ValueError: assignment destination is read-only HOT 3
- Dynamic inertia in ParticleSwarmOptimizer HOT 4
- Feature: Passing extra parameters to the optimization function HOT 5
- Optimization in serial? HOT 4
- New feature: save optimizer object to continue optimization run at a later time.
- hyper.results(model) HOT 1
- New feature: Optimization Strategies HOT 1
- add ray multiprocessing support
- Change Optimization paramters at runtime
- Show speed difference between python version
- Question of Particle Swarm Optimizer HOT 6
- Progress Bar visual error when running in parallel HOT 2
- Error when creating shared memory HOT 1
- TypeError: cannot pickle '_thread.RLock' object HOT 5
- Redesign command-line output of optimization run HOT 1
- Add early stopping feature to custom optimization strategies HOT 1
- Add type hints to hyperactive-api HOT 1
- add `prune_search_space`-method to optimization strategies HOT 1
- add constrained optimization to API HOT 1
- Stop verbosity of search HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from hyperactive.