Modified diagrams so they are more visible
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
parent
6d91bec4c2
commit
7a6aabbf98
@ -114,8 +114,6 @@ model-runner: Model Runner {
|
|||||||
|
|
||||||
model-runner.node<->node-manager: Request/Gives node to run model
|
model-runner.node<->node-manager: Request/Gives node to run model
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
User.shape: Person
|
User.shape: Person
|
||||||
|
|
||||||
User->indata: Uploads data
|
User->indata: Uploads data
|
||||||
|
73
diagrams/expandable_models_generator.d2
Normal file
73
diagrams/expandable_models_generator.d2
Normal file
@ -0,0 +1,73 @@
|
|||||||
|
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
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
model-runner.node<->node-manager: Request/Gives node to run model
|
||||||
|
|
||||||
|
User.shape: Person
|
||||||
|
User->model-generation: Requests Model
|
||||||
|
|
||||||
|
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
|
||||||
|
|
||||||
|
indata: "Input data" {
|
||||||
|
shape: cylinder
|
||||||
|
}
|
||||||
|
|
||||||
|
model-database: "Model Database" {
|
||||||
|
shape: cylinder
|
||||||
|
}
|
82
diagrams/expandable_models_simple.d2
Normal file
82
diagrams/expandable_models_simple.d2
Normal file
@ -0,0 +1,82 @@
|
|||||||
|
indata: "Input data" {
|
||||||
|
shape: cylinder
|
||||||
|
}
|
||||||
|
|
||||||
|
model-generation: Model Generation {
|
||||||
|
generator: Generator {
|
||||||
|
model-training: Model Training {
|
||||||
|
node: Node
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
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
|
Loading…
Reference in New Issue
Block a user