I guess I have found the issue.
With
models = [model()] * nrworkers
I wanted to create a list of nrworkers independent model() instances. What I created was a list of references all pointing to the same instance of model()…
Now… how can I change it to what I want to have? I want N independent network instances with the same initial parameters. The parameters are to be sampled randomly, but all of the networks should start with the same.