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

Name error: 'border_mode' is not defined when using 'rescale_warp' #20

Open
nihpat19 opened this issue Feb 1, 2023 · 0 comments
Open

Comments

@nihpat19
Copy link

nihpat19 commented Feb 1, 2023

File "/workspace/utils/dataloader3d.py", line 78, in getitem
seg_augmented = self.aug(image=A_img, mask=A_label)
File "/opt/conda/lib/python3.7/site-packages/volumentations/core/composition.py", line 60, in call
data = tr(force_apply, self.targets, **data)
File "/opt/conda/lib/python3.7/site-packages/volumentations/core/transforms_interface.py", line 117, in call
data[k] = self.apply(v, **params)
File "/opt/conda/lib/python3.7/site-packages/volumentations/augmentations/transforms.py", line 131, in apply
return F.rescale_warp(img, scale, interpolation=self.interpolation)
File "/opt/conda/lib/python3.7/site-packages/volumentations/augmentations/functional.py", line 441, in rescale_warp
return map_coordinates(img, coords, order=interpolation, mode=border_mode, cval=value)
NameError: name 'border_mode' is not defined

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