Both sides previous revision
Previous revision
Next revision
|
Previous revision
|
brica_platform [2022/04/27 17:09] n.arakawa [Modules] |
brica_platform [2023/01/22 14:18] (current) n.arakawa [Use Case] |
===== BriCA Platform ===== | ===== BriCA Platform ===== |
The BriCA Platform is a collection of software modules to develop brain-inspired cognitive architecture with BriCA to be run on [[https://gym.openai.com|OpenAI Gym]]. | The BriCA Platform is a collection of software modules to develop brain-inspired cognitive architecture with [[BriCA]] to be run on [[https://gym.openai.com|OpenAI Gym]]. |
| |
==== Modules ==== | ==== Modules ==== |
- Describe modules, ports, and connections in a spreadsheet (Excel file)\\ (See [[https://github.com/wbap/BriCAL/tree/master/bif_excel2brical|bif_excel2brical]] and the examples below for the format.) | - Describe modules, ports, and connections in a spreadsheet (Excel file)\\ (See [[https://github.com/wbap/BriCAL/tree/master/bif_excel2brical|bif_excel2brical]] and the examples below for the format.) |
- Convert the spreadsheet into the JSON format with bif_excel2brical | - Convert the spreadsheet into the JSON format with bif_excel2brical |
- Implement a Gym environment, BriCA components, and the main program (see the examples below). | - Implement a Gym environment, BriCA components, and the main program (see the examples below).\\ The skeletal code for the main program can be generated with [[https://github.com/wbap/BriCAL/tree/master/brical2py|brical2py]]. |
- Test & debug | - Test & debug |
| |
* ''agent = agent_builder.create_gym_agent(nb, the top module, env)'' | * ''agent = agent_builder.create_gym_agent(nb, the top module, env)'' |
* ''scheduler = brica1.VirtualTimeSyncScheduler(agent)'' | * ''scheduler = brica1.VirtualTimeSyncScheduler(agent)'' |
* Executing "scheduler.step()'' while looping\\ (Note that tokens are circulated to synchronize with Gym env. cycles.) | * Executing ''scheduler.step()'' while looping\\ (Note that tokens are circulated to synchronize with Gym env. cycles.) |
* Closing | * Closing |
See examples below for details. | See examples below for details. |
* [[https://ggle.io/4wZO|Spreadsheet]] | * [[https://ggle.io/4wZO|Spreadsheet]] |
* [[https://github.com/rondelion/MinimalWMAgent/blob/main/MinWMAgent1.brical.json|BriCAL in JSON]] | * [[https://github.com/rondelion/MinimalWMAgent/blob/main/MinWMAgent1.brical.json|BriCAL in JSON]] |
* [[https://github.com/rondelion/MinimalWMAgent/blob/main/MinWMAgent1_1_BL.py|Main program]]\\ Note: In architectures with internal connections, components with internal output should be reset when an environment episode ends so that information from the last episode does not be carried over. | * [[https://github.com/rondelion/MinimalWMAgent/blob/main/MinWMAgent1_1_BL.py|Main program]]\\ Note: In architectures with internal connections, components with internal output should be reset when an environment episode ends so that information from the last episode is not carried over. |
| |
The explanation for these three implementations is found [[http://rondelionai.blogspot.com/2022/03/attempts-to-implement-biologically.html|here]] | The explanation for these three implementations is found [[http://rondelionai.blogspot.com/2022/03/attempts-to-implement-biologically.html|here]] |
| |