All requirements were successfully installed but when yolo2xml converter is imported it throws the following error related to skimage package.
from convertmask.utils.yolo2xml.yolo2xml import y2xConvert
---------------------------------------------------------------------------
AttributeError Traceback (most recent call last)
Input In [10], in <cell line: 1>()
----> 1 from convertmask.utils.yolo2xml.yolo2xml import y2xConvert
File E:\PXR\DATASETS\NAEMURALAB2015\BIRD_v200_1_1\convertmask\utils\yolo2xml\yolo2xml.py:17, in <module>
15 from convertmask.utils.methods.logger import logger
16 from convertmask.utils.xml2yolo.xml2yolo import readLabels
---> 17 from skimage import io
18 from tqdm import tqdm
21 def y2xConvert(txtPath, imgPath, labelPath):
File ~\.conda\envs\pxr\lib\site-packages\skimage\io\__init__.py:15, in <module>
11 from ._io import *
12 from ._image_stack import *
---> 15 reset_plugins()
17 WRAP_LEN = 73
20 def _separator(char, lengths):
File ~\.conda\envs\pxr\lib\site-packages\skimage\io\manage_plugins.py:87, in reset_plugins()
85 def reset_plugins():
86 _clear_plugins()
---> 87 _load_preferred_plugins()
File ~\.conda\envs\pxr\lib\site-packages\skimage\io\manage_plugins.py:67, in _load_preferred_plugins()
64 io_types = ['imsave', 'imshow', 'imread_collection', 'imshow_collection',
65 'imread']
66 for p_type in io_types:
---> 67 _set_plugin(p_type, preferred_plugins['all'])
69 plugin_types = (p for p in preferred_plugins.keys() if p != 'all')
70 for p_type in plugin_types:
File ~\.conda\envs\pxr\lib\site-packages\skimage\io\manage_plugins.py:79, in _set_plugin(plugin_type, plugin_list)
77 continue
78 try:
---> 79 use_plugin(plugin, kind=plugin_type)
80 break
81 except (ImportError, RuntimeError, OSError):
File ~\.conda\envs\pxr\lib\site-packages\skimage\io\manage_plugins.py:250, in use_plugin(name, kind)
247 else:
248 kind = [kind]
--> 250 _load(name)
252 for k in kind:
253 if k not in plugin_store:
File ~\.conda\envs\pxr\lib\site-packages\skimage\io\manage_plugins.py:293, in _load(plugin)
291 else:
292 modname = plugin_module_name[plugin]
--> 293 plugin_module = __import__('skimage.io._plugins.' + modname,
294 fromlist=[modname])
296 provides = plugin_provides[plugin]
297 for p in provides:
File ~\.conda\envs\pxr\lib\site-packages\skimage\io\_plugins\matplotlib_plugin.py:3, in <module>
1 from collections import namedtuple
2 import numpy as np
----> 3 from mpl_toolkits.axes_grid1 import make_axes_locatable
4 import matplotlib.image
5 from ...util import dtype as dtypes
File ~\.conda\envs\pxr\lib\site-packages\mpl_toolkits\axes_grid1\__init__.py:3, in <module>
1 from . import axes_size as Size
2 from .axes_divider import Divider, SubplotDivider, make_axes_locatable
----> 3 from .axes_grid import Grid, ImageGrid, AxesGrid
5 from .parasite_axes import host_subplot, host_axes
File ~\.conda\envs\pxr\lib\site-packages\mpl_toolkits\axes_grid1\axes_grid.py:32, in <module>
28 ax.axis["bottom"].toggle(ticklabels=bottom_off, label=bottom_off)
29 ax.axis["left"].toggle(ticklabels=left_off, label=left_off)
---> 32 class CbarAxesBase:
34 @cbook._rename_parameter("3.2", "locator", "ticks")
35 def colorbar(self, mappable, *, ticks=None, **kwargs):
37 if self.orientation in ["top", "bottom"]:
File ~\.conda\envs\pxr\lib\site-packages\mpl_toolkits\axes_grid1\axes_grid.py:34, in CbarAxesBase()
32 class CbarAxesBase:
---> 34 @cbook._rename_parameter("3.2", "locator", "ticks")
35 def colorbar(self, mappable, *, ticks=None, **kwargs):
37 if self.orientation in ["top", "bottom"]:
38 orientation = "horizontal"
AttributeError: module 'matplotlib.cbook' has no attribute '_rename_parameter'