MycroftAI / mycroft-precise

A lightweight, simple-to-use, RNN wake word listener
Apache License 2.0
842 stars 227 forks source link

Error parsing args: The filepath provided must end in `.keras` #247

Open SoftSisterRui opened 5 months ago

SoftSisterRui commented 5 months ago

2024-05-07 11:05:24.017382: I external/local_tsl/tsl/cuda/cudart_stub.cc:32] Could not find cuda drivers on your machine, GPU will not be used. 2024-05-07 11:05:24.019753: I external/local_tsl/tsl/cuda/cudart_stub.cc:32] Could not find cuda drivers on your machine, GPU will not be used. 2024-05-07 11:05:24.049579: I tensorflow/core/platform/cpu_feature_guard.cc:210] This TensorFlow binary is optimized to use available CPU instructions in performance-critical operations. To enable the following instructions: AVX2 FMA, in other operations, rebuild TensorFlow with the appropriate compiler flags. 2024-05-07 11:05:24.605540: W tensorflow/compiler/tf2tensorrt/utils/py_utils.cc:38] TF-TRT Warning: Could not find TensorRT 2024-05-07 11:05:25.221769: W tensorflow/core/common_runtime/gpu/gpu_device.cc:2251] Cannot dlopen some GPU libraries. Please make sure the missing libraries mentioned above are installed properly if you would like to use GPU. Follow the guide at https://www.tensorflow.org/install/gpu for how to download and setup the required libraries for your platform. Skipping registering GPU devices... /data/digit_man_3d/mycroft-precise/.venv/lib/python3.9/site-packages/keras/src/layers/rnn/rnn.py:204: UserWarning: Do not pass an input_shape/input_dim argument to a layer. When using Sequential models, prefer using an Input(shape) object as the first layer in the model instead. super().init(**kwargs) Data: Loading wake-word... Loading not-wake-word... Loading wake-word... Loading not-wake-word... Inputs shape: (100, 29, 13) Outputs shape: (100, 1) Test inputs shape: (1, 29, 13) Test outputs shape: (1, 1) usage: train.py [-h] [-sf SAMPLES_FILE] [-is] [-e EPOCHS] [-s SENSITIVITY] [-b BATCH_SIZE] [-sb] [-nv] [-mm METRIC_MONITOR] [-em] [-f FREEZE_TILL] [-tf TAGS_FOLDER] [-tg TAGS_FILE] model folder train.py: error: Error parsing args: The filepath provided must end in .keras (Keras model format). Received: filepath=nihaomiya.net