Skip to content
This repository was archived by the owner on Apr 18, 2026. It is now read-only.
This repository was archived by the owner on Apr 18, 2026. It is now read-only.

I get a ValueError: operands could not be broadcast together with shapes (0,) (336,) when launching the Play demo #8

Description

@RebornX10

Whenever I launch the demo, I get the

Exception in Tkinter callback
Traceback (most recent call last):
  File "/usr/lib/python3.9/tkinter/__init__.py", line 1892, in __call__
    return self.func(*args)
  File "/home/Reborn/Documents/Projects/sign_language/lsf/webcam_demo.py", line 57, in record_btn_cb
    res_txt = self.translator_manager.run_knn(feats)
  File "/home/Reborn/Documents/Projects/sign_language/lsf/modules/translator/translator_manager.py", line 100, in run_knn
    dists = np.square(self.knn_database - feats)
ValueError: operands could not be broadcast together with shapes (0,) (336,)

Error.
I'm on Python3.9 and on Debian 10

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions