Comments (4)
@thieu1995 Can you please look into this?
from mealpy.
Hi @waseemR02,
Metaheuristic (swarm-based, evolutionary,....) algorithms are gradient-free optimization. Therefor it is completely different than Gradient-based optimization (GD, SGD, Adam, Adagrad,...). Besides, MHAs can't solve a large dimensions problems like deep neural network. You can check several large-scale competition CEC-2023, CEC-2020,.. about evolutionary, they can only handle problem at maximum 1000 dimensions (variables). Deep neural networks (Pre-trained models) are usually a big network with 100k weights or more. You can't really use MHAs to fine-tune this kind of model. In the youtube video, I can make a hybrid model but only with small network.
from mealpy.
Is there any other alternative, as it requires me to use some meta heuristic optimizers?What if we just train some input layers and not the hidden layers(just freeze them). Any help would be appreciated.
from mealpy.
I don't know because I'm not familiar with the pre-trained mobilenet-ssd fpn320 model. I haven't used it before. Perhaps you can treat it as a feature selection problem, choosing which hidden layers to freeze or not. You can use the BinaryVar
type to achieve this. Let's say you have 10 hidden layers, and you need to select a combination of layers that yields the best results. For example, you could freeze the 3rd and 8th hidden layers. This is a way to apply metaheuristics to your pre-trained model.
from mealpy.
Related Issues (20)
- [BUG]: Walrus optimisation algorithm missing equations of feeding step HOT 1
- [BUG]: NotImplementedError in mealpy.swarm_based.AVOA.OriginalAVOA.solve
- Request for Addition of Algorithms to Mealpy Library HOT 2
- Mealpy + Neural Network (Optimize Neural Network Hyper-parameter) with K-Fold HOT 1
- [BUG]: Problem with negative fitness
- [BUG]: Issue in the documentation of the Mealpy library HOT 1
- [BUG]: Base GWO's code in the documentation is incorrect HOT 1
- [FEAT]: integer instead of float HOT 1
- [FEAT]:
- Want to increase the non-dominated sorting for multi-objectives
- In this example, we use SMA optimize to optimize the hyper-parameters of SVC model.[BUG]: HOT 4
- [BUG]: In your examples ->pytorch->linear_regression.py,exists a bug.
- [FEAT]: Explicit objective function evaluation limitation HOT 1
- [FEAT]: add start point to algorithms HOT 2
- [BUG]: HOT 1
- [BUG]: Type Error in example code HOT 1
- [FEAT]: Ali Baba's and the forty thieves algorithm on VRPTW
- [BUG]: Could not get right problem name HOT 3
- [FEAT]: i think it is better to add introduction to some specified parameters like name="delta" HOT 5
- Question: How can I calculate the population's fitness globally instead of individually? HOT 6
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 mealpy.