mirror of
https://github.com/JHUAPL/SIMoN.git
synced 2026-01-10 07:18:05 -05:00
fbc534172d07b142dec7ed6f9ad3fbf4d0d7ae47
Former-commit-id: f5d6e3457a907e04f56be38668a23ff57d1d952b
Setup
- clone the repository
- install Docker
- install Docker Compose
- install Make
Usage
- choose the models that you want to run together in the SIMoN framework
- add your chosen models to the "models" list in
broker/config.json - add your chosen models to the "services" in
build/docker-compose.yml - start SIMoN
make all
- shut down SIMoN
make downto stop all modelsmake cleanto stop all models and clear the database
Add a new model
- create a new directory with 3 required subdirectories, based on
models/template/src/stores the model's unique source codeinner_wrapper.py- required file
- must implement
configure()andincrement()methods - must specify the model's ID (unique name)
- any aditional code that the model needs
schemas/stores JSON schemas that data messages must validate againstinput/schemas that incoming data messages must validate against*.json
output/schemas that ougoing data messages must validate against*.json
config/stores JSON objects with parameters needed for the model's initialization*.json
- add the new model to the "models" list in
broker/config.json - add the new model to the "services" in
build/docker-compose.yml
Description
Languages
Python
85.3%
Jupyter Notebook
11.2%
Dockerfile
2.4%
Shell
0.6%
Makefile
0.5%