neurolib icon indicating copy to clipboard operation
neurolib copied to clipboard

Ask for jr_model.run() in multimodel

Open 00zm720 opened this issue 4 months ago • 0 comments

Hello, I encountered two issues while debugging your team's neurolib routine example - 4 - multimodel - intro.ipynb:

At Neurolib\neurolib - master\neurolib - master\neurolib\models\multimodel\builder\base\backend.py:378, there is a UserWarning: "Your input past does not begin at t = 0 but at t = 1.0. Values before the beginning of the past will be extrapolated. You very likely do not want this." Although this warning does not stop the program from running, its impact is unknown. At Neurolib\neurolib - master\neurolib - master\neurolib\models\multimodel\builder\base\backend.py:290, there is an IndexError: tuple index out of range for compiled_code.co_consts[-3]. It seems that the reason for this error is that compiled_code.co_consts = {tuple: 2}. My environment is Python 3.12, and I hope you can help me solve these problems!

Image

Image

00zm720 avatar Jun 08 '25 10:06 00zm720