Commit 882aecfa authored by Samuel GAIST's avatar Samuel GAIST

[database] Add information about the new optional environment field

Requires beat/beat/core> to be at least 1.10.5
parent 7643e601
Pipeline #41315 passed with stage
in 3 minutes and 41 seconds
......@@ -130,15 +130,23 @@ Each database has a JSON_ declaration. This file has the information about the p
"template": "simple_face_recognition"
}
],
"root_folder": "/path_to_db_folder/att_faces"
"root_folder": "/path_to_db_folder/att_faces",
"environment": {
"name": "Databases",
"version": "1.0.0"
}
}
The JSON_ file for a database has three main field.
The JSON_ file for a database has three main field:
* **description:** A short description of the database.
* **protocols:** a list of protocols defined for the database.
* **root_folder:** path to the directory where the data is stored.
and one optional field:
* **environment:** The name and version of the runtime environment to use for this database.
The "protocols" field is where the datasets for each protocol is defined. In the example above only one protocol is defined. Implementing a new protocol means adding a new entry to the list of protocols. Each protocol has three main component:
* **name:** The name of the protocol which is "idiap" in this case.
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment