Skip to content

Could not broadcast input array from shape (19,64) into shape (1,64) #26

@vargasjona

Description

@vargasjona

I have been trying to use this projects, I requested and downloaded Original Hey-Snips Dataset. I was able to run utils/preprocess_dataset.py, utils/filter_dataset_to_h5.py, and python wwdetect/CRNN/train.py without problems.

As a result I get tflite files
image

But when I try to use new models on python demo.py I get this message error. Do you know which can be the cause
image

These are the libraries I have installed

python = ">=3.8, <=3.9"
librosa = "0.8.0"
numpy = "1.19.5"
tensorflow = "2.4.0"
tqdm = "4.55.1"
scikit-learn = "0.22.1"
matplotlib = "^3.5.1"
webrtcvad = "2.0.10"
graphviz = "0.16"
grep = "0.3.2"
h5py = "2.10.0"
torch = "^1.10.2"
torchaudio = "^0.10.2"
"pyannote.audio" = "1.1.1"
pydub = "^0.25.1"
keras-tuner = "^1.1.0"
PyAudio = "^0.2.11"

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions