I used the edge-impulse-data-forwarder to capture accelerometer data from an Arduino Nano 33 IoT. This has the LSM6DS3 IMU. Training the model worked perfectly the first time.
After a few days, I deleted some of the training data and did a fresh capture. An attempt to train the model yields an error that would be related to a Numpy version issue with the following output:
Creating job… OK (ID: 2057114)
Job started
Splitting data into training and validation sets…
Traceback (most recent call last):
File “/home/train.py”, line 299, in
main_function()
File “/home/train.py”, line 127, in main_function
X_train, X_test, Y_train, Y_test, X_train_raw = ei_tensorflow.training.split_and_shuffle_data(
File “/app/./resources/libraries/ei_tensorflow/training.py”, line 72, in split_and_shuffle_data
Y = np.load(os.path.join(dir_path, y_train_path), mmap_mode=‘r’)[:,0]
File “/usr/local/lib/python3.8/dist-packages/numpy/lib/npyio.py”, line 444, in load
raise ValueError("Cannot load file containing pickled data "
ValueError: Cannot load file containing pickled data when allow_pickle=False
Application exited with code 1 (Error)
Job failed (see above)