fyp-report/diagrams/expandable_models.d2
Andre Henriques 5162d41bcc
All checks were successful
continuous-integration/drone/push Build is passing
fix diagram
2023-12-04 10:30:47 +00:00

134 lines
2.7 KiB
Plaintext

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