Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to set the stride in compute_mws_segmentation #10

Open
HHHit opened this issue Dec 14, 2023 · 0 comments
Open

How to set the stride in compute_mws_segmentation #10

HHHit opened this issue Dec 14, 2023 · 0 comments

Comments

@HHHit
Copy link

HHHit commented Dec 14, 2023

Inside the code of experiments/isbi/isbi_experiments.py, there is a setting for the stride, which is set as [1,10,10]. I am wondering what is this parameter related to, and how should I modify it when applying to different datasets. Thanks
''' if mws:
strides = np.array([1., 10., 10.])
print("Computing mutex watershed segmentation ...")
mws_seg, t_mws = mws_result(affs, offsets, strides, randomize_bounds=False)
print("... finished in %f s" % t_mws)
writeHDF5(mws_seg, os.path.join(result_folder, 'mws.h5'),
'data', compression='gzip')
segmentations.append(mws)
labels.append('MWS')
'''

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant