sparky-vision / mycroft-precise-tips

mycroft-precise-tips
5 stars 2 forks source link

Not enough data to train #1

Open Miroslave11 opened 1 year ago

Miroslave11 commented 1 year ago

Hi,

I followed your article. I have a lot of wake and not-wake words. But after command precise-train tng-computer.net tng-computer/ -e 150 I got information "Not enough data to train"

Can you please help how to solve it?

Thank you, Mirek

(.venv) pi@picroft:~/.mycroft/precise $ precise-train tng-computer.net tng-computer/ -e 150 Using TensorFlow backend. WARNING:tensorflow:From /home/pi/mycroft-precise/.venv/lib/python3.7/site-packages/tensorflow/init.py:98: The name tf.AUTO_REUSE is deprecated. Please use tf.compat.v1.AUTO_REUSE instead.

WARNING:tensorflow:From /home/pi/mycroft-precise/.venv/lib/python3.7/site-packages/tensorflow/init.py:98: The name tf.AttrValue is deprecated. Please use tf.compat.v1.AttrValue instead.

WARNING:tensorflow:From /home/pi/mycroft-precise/.venv/lib/python3.7/site-packages/tensorflow/init.py:98: The name tf.COMPILER_VERSION is deprecated. Please use tf.version.COMPILER_VERSION instead.

WARNING:tensorflow:From /home/pi/mycroft-precise/.venv/lib/python3.7/site-packages/tensorflow/init.py:98: The name tf.CXX11_ABI_FLAG is deprecated. Please use tf.sysconfig.CXX11_ABI_FLAG instead.

WARNING:tensorflow:From /home/pi/mycroft-precise/.venv/lib/python3.7/site-packages/tensorflow/init.py:98: The name tf.ConditionalAccumulator is deprecated. Please use tf.compat.v1.ConditionalAccumulator instead.

WARNING:tensorflow:From /home/pi/mycroft-precise/.venv/lib/python3.7/site-packages/keras/backend/tensorflow_backend.py:3138: calling dropout (from tensorflow.python.ops.nn_ops) with keep_prob is deprecated and will be removed in a future version. Instructions for updating: Please use rate instead of keep_prob. Rate should be set to rate = 1 - keep_prob. WARNING:tensorflow:From /home/pi/mycroft-precise/.venv/lib/python3.7/site-packages/keras/optimizers.py:757: The name tf.train.Optimizer is deprecated. Please use tf.compat.v1.train.Optimizer instead.

Data: Loading wake-word... Loading not-wake-word... Loading wake-word... Loading not-wake-word... Inputs shape: (0, 29, 13) Outputs shape: (0, 1) Test inputs shape: (0, 29, 13) Test outputs shape: (0, 1) Not enough data to train

Miroslave11 commented 1 year ago

Solved

The problem was in the format of the .wav