playground icon indicating copy to clipboard operation
playground copied to clipboard

AttributeError:'MMDetection' object has no attribute 'value'

Open yi2xu opened this issue 2 years ago • 4 comments

The page doesn't split automatically when I annotate the images

yi2xu avatar May 12 '23 13:05 yi2xu

Can you provide more detailed information about the error report?

JimmyMa99 avatar May 14 '23 03:05 JimmyMa99

The page doesn't split automatically when I annotate the images

me too

zym3122 avatar May 28 '23 09:05 zym3122

The page doesn't split automatically when I annotate the images

me too

Can you provide more detailed information about the error report? It may be an error in the back-end reasoning, please can you provide more detailed error reporting tips, such as screenshot back-end terminal

JimmyMa99 avatar May 28 '23 10:05 JimmyMa99

i get the same bug, it seems as if the load is wrong. image only BrushLabels has the attribute 'value', Traceback (most recent call last): File "/home/yangchen/.conda/envs/rtmdet-sam/lib/python3.9/site-packages/label_studio_ml/exceptions.py", line 39, in exception_f return f(*args, **kwargs) File "/home/yangchen/.conda/envs/rtmdet-sam/lib/python3.9/site-packages/label_studio_ml/api.py", line 51, in _predict predictions, model = _manager.predict(tasks, project, label_config, force_reload, try_fetch, **params) File "/home/yangchen/.conda/envs/rtmdet-sam/lib/python3.9/site-packages/label_studio_ml/model.py", line 617, in predict predictions = cls._current_model.model.predict(tasks, **kwargs) File "/data_hdd2/users/yangchen/projects/playground/label_anything/sam/mmdetection.py", line 164, in predict image_url = self._get_image_url(task) File "/data_hdd2/users/yangchen/projects/playground/label_anything/sam/mmdetection.py", line 137, in _get_image_url self.value) or task['data'].get(DATA_UNDEFINED_NAME) AttributeError: 'MMDetection' object has no attribute 'value'

chensjtu avatar Jun 07 '23 14:06 chensjtu