kallikles
kallikles

Reputation: 113

How to iterate over neural network architectures?

I've been handed a file with over 30 different neural network architectures, which I should examinate regarding certain metrics. Basically, without calling every single network explicitly, i.e. "MapNet1()", I want to iterate over the networks and just track the metrics I'm interested in. How do I do that, especially regarding even bigger sizes of networks to investigate? Or better formulated: how can I loop over the networks defined in my file "classification_models.py" and the networks defined in there without calling each of the networks manually?

All the best.

Upvotes: 0

Views: 132

Answers (1)

Ivan K.
Ivan K.

Reputation: 460

Make a python list, which entries are yours neural networks (for example, append the trained models one by one). Then iterate over the list as usual.

Upvotes: 1

Related Questions