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

"Why does an assignment issue occur after the installation is complete?" #71

Closed
xingxingjiukunkun opened this issue Jun 22, 2024 · 2 comments

Comments

@xingxingjiukunkun
Copy link

(membrain) [SLURM:1166] emuser@gpu2:/public/apps/em/membrain-seg $ membrain
Traceback (most recent call last):
File "/public/apps/em/yes/envs/membrain/bin/membrain", line 5, in
from membrain_seg.segmentation.cli import cli
File "/public/apps/em/yes/envs/membrain/lib/python3.9/site-packages/membrain_seg/segmentation/cli/init.py", line 5, in
from .segment_cli import segment # noqa: F401
File "/public/apps/em/yes/envs/membrain/lib/python3.9/site-packages/membrain_seg/segmentation/cli/segment_cli.py", line 12, in
from ..segment import segment as _segment
File "/public/apps/em/yes/envs/membrain/lib/python3.9/site-packages/membrain_seg/segmentation/segment.py", line 17, in
from .dataloading.memseg_augmentation import get_mirrored_img, get_prediction_transforms
File "/public/apps/em/yes/envs/membrain/lib/python3.9/site-packages/membrain_seg/segmentation/dataloading/memseg_augmentation.py", line 18, in
from membrain_seg.segmentation.dataloading.transforms import (
File "/public/apps/em/yes/envs/membrain/lib/python3.9/site-packages/membrain_seg/segmentation/dataloading/transforms.py", line 608, in
AxesShuffle = Compose(
File "/public/apps/em/yes/envs/membrain/lib/python3.9/site-packages/monai/transforms/compose.py", line 251, in init
self.set_random_state(seed=get_seed())
File "/public/apps/em/yes/envs/membrain/lib/python3.9/site-packages/monai/transforms/compose.py", line 263, in set_random_state
_transform.set_random_state(seed=self.R.randint(MAX_SEED, dtype="uint32"))
File "/public/apps/em/yes/envs/membrain/lib/python3.9/site-packages/monai/transforms/transform.py", line 207, in set_random_state
_seed = _seed % MAX_SEED
OverflowError: Python integer 4294967296 out of bounds for uint32

@GenevieveBuckley
Copy link
Contributor

Duplicate of #70, this issue can be closed.

@LorenzLamm
Copy link
Collaborator

Thanks for reporting this issue @xingxingjiukunkun. As mentioned, this is duplicate of #70 and hopefully is now resolved with #72.

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

3 participants