ChHanXiao / license-plate-recoginition

车牌识别可同时支持单双行识别,包含各种类型车牌数据生成
31 stars 6 forks source link

TypeError: 'NoneType' object is not callable #7

Open zx1159652666 opened 2 years ago

zx1159652666 commented 2 years ago

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 commented 2 years ago

DO you have solve this question??? Thank you