fyp-report/diagrams/expandable_models.d2

134 lines
2.7 KiB
Plaintext
Raw Normal View History

2023-11-30 11:47:09 +00:00
indata: "Input data" {
shape: cylinder
}
2023-12-04 10:30:47 +00:00
model-generation: Model Generation {
2023-11-30 11:47:09 +00:00
2023-12-04 10:30:47 +00:00
hidden-layers-generator: Hidden Layers Model Generator
2023-11-30 11:47:09 +00:00
2023-12-04 10:30:47 +00:00
hidden-layers-generator<->generator: Request/Accept Model
2023-11-30 11:47:09 +00:00
2023-12-04 10:30:47 +00:00
head-generator: Head Models Generator {
2023-11-30 11:47:09 +00:00
2023-12-04 10:30:47 +00:00
_.head-generator->model1: Create
_.head-generator->model2: Create
_.head-generator->modeln: Create
2023-11-30 11:47:09 +00:00
model1
model2
modeln: "Model..."
model1<->_.generator: Request/Accept Model
model2<->_.generator: Request/Accept Model
modeln<->_.generator: Request/Accept Model
2023-12-04 10:30:47 +00:00
model1->_.head-generator: Accept Model
model2->_.head-generator: Accept Model
modeln->_.head-generator: Accept Model
2023-11-30 11:47:09 +00:00
}
generator: Generator {
2023-12-04 10:30:47 +00:00
_.generator->model-search: Start
2023-11-30 11:47:09 +00:00
2023-12-04 10:30:47 +00:00
model-search: Model Search {
2023-11-30 11:47:09 +00:00
2023-12-04 10:30:47 +00:00
database-search: Database search
2023-11-30 11:47:09 +00:00
autoML: Automl
}
2023-12-04 10:30:47 +00:00
model-search->model-training: Propose model
model-training->model-search: Reject model and request new one
2023-11-30 11:47:09 +00:00
2023-12-04 10:30:47 +00:00
model-training: Model Traning {
2023-11-30 11:47:09 +00:00
2023-12-04 10:30:47 +00:00
_.model-training->node: Start Training
2023-11-30 11:47:09 +00:00
node: Node
2023-12-04 10:30:47 +00:00
_.model-training<-node: End Training
2023-11-30 11:47:09 +00:00
}
2023-12-04 10:30:47 +00:00
model-training->_.generator: Accept Model
2023-11-30 11:47:09 +00:00
}
}
2023-12-04 10:30:47 +00:00
node-manager: Node Manager {
2023-11-30 11:47:09 +00:00
node1
node2
noden: "node..."
2023-12-04 10:30:47 +00:00
node-manager->node1: Manage
node-manager->node2: Manage
node-manager->noden: Manage
2023-11-30 11:47:09 +00:00
}
2023-12-04 10:30:47 +00:00
model-generation.generator.model-training.node<->node-manager: Request/Gives node to train
2023-11-30 11:47:09 +00:00
2023-12-04 10:30:47 +00:00
model-database: Model database {
2023-11-30 11:47:09 +00:00
shape: cylinder
}
2023-12-04 10:30:47 +00:00
model-runner: Model Runner {
2023-11-30 11:47:09 +00:00
node: Node
headless: Obatin Headless Model
2023-12-04 10:30:47 +00:00
_.model-runner->headless: Start
2023-11-30 11:47:09 +00:00
2023-12-04 10:30:47 +00:00
headless<->_.model-database: Request/Get Model
2023-11-30 11:47:09 +00:00
headless<->node: Run/Result
2023-12-04 10:30:47 +00:00
headless->model-search: Results
2023-11-30 11:47:09 +00:00
2023-12-04 10:30:47 +00:00
model-search: Model Search {
2023-11-30 11:47:09 +00:00
}
2023-12-04 10:30:47 +00:00
model-search<->_.model-database: Request Head Models
2023-11-30 11:47:09 +00:00
2023-12-04 10:30:47 +00:00
head-model: Head Model
2023-11-30 11:47:09 +00:00
2023-12-04 10:30:47 +00:00
model-search->head-model: Obtain
2023-11-30 11:47:09 +00:00
2023-12-04 10:30:47 +00:00
head-model<->node: Run/Result
2023-11-30 11:47:09 +00:00
2023-12-04 10:30:47 +00:00
head-model->model-search: Unsatatisfary results, request new model
head-model->results-cache: Unsatatisfary results, save results
2023-11-30 11:47:09 +00:00
2023-12-04 10:30:47 +00:00
results-cache: Results Cache
2023-11-30 11:47:09 +00:00
combine: Combine
2023-12-04 10:30:47 +00:00
head-model->combine: Satisfary Results/No more options
2023-11-30 11:47:09 +00:00
2023-12-04 10:30:47 +00:00
combine<-results-cache: Cached results Results
2023-11-30 11:47:09 +00:00
2023-12-04 10:30:47 +00:00
combine->_.model-runner: Results
2023-11-30 11:47:09 +00:00
}
2023-12-04 10:30:47 +00:00
model-runner.node<->node-manager: Request/Gives node to run model
2023-11-30 11:47:09 +00:00
User.shape: Person
User->indata: Uploads data
2023-12-04 10:30:47 +00:00
User->model-generation: Requests Model
User->model-database: Manages Models
User->model-runner: Request image for classification
model-runner->User: Give class of image
2023-11-30 11:47:09 +00:00
2023-12-04 10:30:47 +00:00
model-generation.generator <-> indata: Requests Data
2023-11-30 11:47:09 +00:00
2023-12-04 10:30:47 +00:00
model-generation->model-generation.hidden-layers-generator: Start
model-generation.hidden-layers-generator->model-generation.head-generator: Strip head and give base model to Head Generator
2023-11-30 11:47:09 +00:00
2023-12-04 10:30:47 +00:00
model-generation.head-generator->model-database: Save hidden layers model and heads
2023-11-30 11:47:09 +00:00