minimize_nested_blockmodel_dl getting stuck with weighted graph
I am running the following code:
import graph_tool.all as gt
g = gt.collection.ns["foodweb_baywet"]
for i in range(100):
state = gt.minimize_nested_blockmodel_dl(g, state_args=dict(recs=[g.ep.weight], rec_types=["real-normal"]),
multilevel_mcmc_args=dict(entropy_args=dict(adjacency=False, degree_dl=False))
)
After some iterations the process gets stuck in minimize_nested_blockmodel_dl().
I'm using Python 3.11.0 with Anaconda version 4.11.0 on a Linux server. I installed and activated graph-tool as described here with these commands:
conda create --name gt -c conda-forge graph-tool
conda activate gt
OS info:
LSB Version: :core-4.1-amd64:core-4.1-noarch Distributor ID: Fedora Description: Fedora release 35 (Thirty Five)