-
Notifications
You must be signed in to change notification settings - Fork 23
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
linux-label frames-no pictures show #142
Comments
I have the same problem in DLC 3.0.0rc5 when I try to label new data and check some old data. The error messages are as follows: INFO:console:--------------------------------------------------------------------------- File ~/miniforge3/envs/DEEPLABCUT/lib/python3.10/site-packages/napari/_qt/qt_viewer.py:915, in QtViewer.open_folder_dialog(self, choose_plugin) File ~/miniforge3/envs/DEEPLABCUT/lib/python3.10/site-packages/napari/_qt/qt_viewer.py:947, in QtViewer._qt_open(self, filenames, stack, choose_plugin, plugin, layer_type, **kwargs) File ~/miniforge3/envs/DEEPLABCUT/lib/python3.10/site-packages/napari/_qt/dialogs/qt_reader_dialog.py:201, in handle_gui_reading(paths, qt_viewer, stack, plugin_name, error, plugin_override, **kwargs) File ~/miniforge3/envs/DEEPLABCUT/lib/python3.10/site-packages/napari/_qt/dialogs/qt_reader_dialog.py:294, in open_with_dialog_choices(display_name, persist, extension, readers, paths, stack, qt_viewer, **kwargs) File ~/miniforge3/envs/DEEPLABCUT/lib/python3.10/site-packages/napari/components/viewer_model.py:1092, in ViewerModel.open(self, path, stack, plugin, layer_type, **kwargs) File ~/miniforge3/envs/DEEPLABCUT/lib/python3.10/site-packages/napari/components/viewer_model.py:1318, in ViewerModel._add_layers_with_plugins(self, paths, stack, kwargs, plugin, layer_type) File ~/miniforge3/envs/DEEPLABCUT/lib/python3.10/site-packages/napari/components/viewer_model.py:1392, in ViewerModel.add_layer_from_data(self, data, meta, layer_type) File ~/miniforge3/envs/DEEPLABCUT/lib/python3.10/site-packages/napari/utils/migrations.py:59, in rename_argument.._wrapper.._update_from_dict(*args, **kwargs) File ~/miniforge3/envs/DEEPLABCUT/lib/python3.10/site-packages/napari/components/viewer_model.py:898, in ViewerModel.add_image(self, data, channel_axis, rgb, colormap, contrast_limits, gamma, interpolation2d, interpolation3d, rendering, depiction, iso_threshold, attenuation, name, metadata, scale, translate, rotate, shear, affine, opacity, blending, visible, multiscale, cache, plane, experimental_clipping_planes, custom_interpolation_kernel_2d) File ~/miniforge3/envs/DEEPLABCUT/lib/python3.10/_collections_abc.py:1128, in MutableSequence.append(self, value) File ~/miniforge3/envs/DEEPLABCUT/lib/python3.10/site-packages/napari/components/layerlist.py:167, in LayerList.insert(self, index, value) File ~/miniforge3/envs/DEEPLABCUT/lib/python3.10/site-packages/napari/utils/events/containers/_selectable_list.py:66, in SelectableEventedList.insert(self, index, value) File ~/miniforge3/envs/DEEPLABCUT/lib/python3.10/site-packages/napari/utils/events/containers/_evented_list.py:195, in EventedList.insert(self, index, value) File ~/miniforge3/envs/DEEPLABCUT/lib/python3.10/site-packages/napari/utils/events/event.py:768, in EventEmitter.call(self, *args, **kwargs) File ~/miniforge3/envs/DEEPLABCUT/lib/python3.10/site-packages/napari/utils/events/event.py:806, in EventEmitter._invoke_callback(self, cb, event) File ~/miniforge3/envs/DEEPLABCUT/lib/python3.10/site-packages/napari/utils/events/event.py:793, in EventEmitter._invoke_callback(self, cb, event) File ~/miniforge3/envs/DEEPLABCUT/lib/python3.10/site-packages/napari/_qt/qt_viewer.py:643, in QtViewer._on_add_layer_change(self, event) File ~/miniforge3/envs/DEEPLABCUT/lib/python3.10/site-packages/napari/_qt/qt_viewer.py:653, in QtViewer._add_layer(self, layer) File ~/miniforge3/envs/DEEPLABCUT/lib/python3.10/site-packages/napari/vispy/utils/visual.py:97, in create_vispy_layer(layer) File ~/miniforge3/envs/DEEPLABCUT/lib/python3.10/site-packages/napari/_vispy/layers/image.py:90, in VispyImageLayer.init(self, layer, node, texture_format) File ~/miniforge3/envs/DEEPLABCUT/lib/python3.10/site-packages/napari/_vispy/layers/image.py:121, in VispyImageLayer._on_data_change(self) File ~/miniforge3/envs/DEEPLABCUT/lib/python3.10/site-packages/napari/_vispy/layers/image.py:134, in VispyImageLayer._set_node_data(self, node, data) File ~/miniforge3/envs/DEEPLABCUT/lib/python3.10/site-packages/napari/vispy/layers/image.py:263, in VispyImageLayer.downsample_texture(self, data, MAX_TEXTURE_SIZE) ValueError: operands could not be broadcast together with shapes (3,) (2,) |
Same here: "ValueError: operands could not be broadcast together with shapes (3,) (2,)". Did you manage to solve it? Thanks. |
It's annoying that the error is still present when using either GUI or Jupyter, but I was able to set the labels following your instructions. Thank you! |
there are pictures in left layer box, but why not show ?
The text was updated successfully, but these errors were encountered: