constantinpape / cluster_tools

Distributed segmentation for bio-image-analysis
MIT License
34 stars 14 forks source link

AssertionError: [30, 256, 256], (16, 128, 128 #39

Open daniJb opened 1 year ago

daniJb commented 1 year ago

I am getting the following error when attempting to replicate results in the example folder: File "/ibex/scratch/bogesdj/miniconda/envs/cluster_env/lib/python3.10/site-packages/cluster_tools/write/write.py", line 88, in run_impl assert all(bs % ch == 0 for bs, ch in zip(block_shape, chunks)), "%s, %s" % (str(block_shape), AssertionError: [30, 256, 256], (16, 128, 128)

I am using the same dataset sampleA.n5 referenced in your repo. please advise.

constantinpape commented 1 year ago

Can you please let me know which script exactly you're running and which version of cluster_tools you're using?

daniJb commented 1 year ago

I am running script multicut.py under examples. As for the version of cluster tools, I assume is the latest. Installed via "conda install -c conda-forge cluster_tools"