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

TypeError: 'NoneType' object is not callable #7

Open
zx1159652666 opened this issue May 13, 2022 · 1 comment
Open

TypeError: 'NoneType' object is not callable #7

zx1159652666 opened this issue May 13, 2022 · 1 comment

Comments

@zx1159652666
Copy link

File "gen_data.py", line 70, in main
img, lab, color = gen()
File "gen_data.py", line 35, in call
com = aug(image=com)['image']
File "D:\Anaconda3\envs\zx_plate\lib\site-packages\albumentations\core\composition.py", line 210, in call
data = t(force_apply=force_apply, **data)
File "D:\Anaconda3\envs\zx_plate\lib\site-packages\albumentations\core\transforms_interface.py", line 97, in call
return self.apply_with_params(params, **kwargs)
File "D:\Anaconda3\envs\zx_plate\lib\site-packages\albumentations\core\transforms_interface.py", line 112, in apply_with_params
res[key] = target_function(arg, **dict(params, **target_dependencies))
File "D:\Anaconda3\envs\zx_plate\lib\site-packages\albumentations\augmentations\geometric\transforms.py", line 868, in apply
return F.piecewise_affine(img, matrix, self.interpolation, self.mode, self.cval)
File "D:\Anaconda3\envs\zx_plate\lib\site-packages\albumentations\augmentations\functional.py", line 40, in wrapped_function
return clip(func(img, *args, **kwargs), dtype, maxval)
File "D:\Anaconda3\envs\zx_plate\lib\site-packages\albumentations\augmentations\geometric\functional.py", line 614, in piecewise_affine
img, matrix, order=interpolation, mode=mode, cval=cval, preserve_range=True, output_shape=img.shape
File "D:\Anaconda3\envs\zx_plate\lib\site-packages\skimage\transform_warps.py", line 976, in warp
coords = warp_coords(coord_map, output_shape)
File "D:\Anaconda3\envs\zx_plate\lib\site-packages\skimage\transform_warps.py", line 675, in warp_coords
tf_coords = coord_map(tf_coords)
File "D:\Anaconda3\envs\zx_plate\lib\site-packages\skimage\transform_warps.py", line 967, in coord_map
return inverse_map(*args, **map_args)
TypeError: 'NoneType' object is not callable

在运行一段时间后会出现该错误,请问博主该怎么解决呢?

@fuliyez
Copy link

fuliyez commented Oct 6, 2022

DO you have solve this question???
Thank you

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

2 participants