E0003: unknown layer type
What happened
The .thx artifact contains a layer with a type field that this build of thrindex-sim does not support. The simulator cannot construct or run the layer.
Why
The artifact was compiled with a newer version of THRINDEX that supports layer types (e.g. Recurrent, SpikingConvTranspose2d) that a previous simulator build does not know.
How to fix
- Upgrade thrindex:
pip install --upgrade thrindex. This is always the right fix when running an artifact compiled by a newer version.
- If you cannot upgrade, recompile the model using a supported architecture with the installed version.
Example