Hello,
I have cloned this to try Edge Impulse on TinyML: https://studio.edgeimpulse.com/public/42868/latest
After completing the training, clicked Deployment on the left menu, selected Syntiant TinyML, then started Find posterior parameters, but it is not going well with log below.
Can you please help how I can move forward?
Thanks,
Tom
Creating job… OK (ID: 2119963)
Copying neural network…
Copying neural network OK
Job started
Waiting for S3 mount to become available…
Extracting model…
Extracting model OK
Calculating posterior parameters, all labels: [‘go’, ‘stop’, ‘z_openset’] target words: [‘go’, ‘stop’] …
Copying neural network…
Copying neural network OK
Converting and evaluating unquantized neural network…
Traceback (most recent call last):
File “/app/app/get_posterior.py”, line 281, in
ei_model = tf.keras.models.load_model(args.saved_model)
File “/usr/local/lib/python3.6/site-packages/tensorflow/python/keras/saving/save.py”, line 182, in load_model
return hdf5_format.load_model_from_hdf5(filepath, custom_objects, compile)
File “/usr/local/lib/python3.6/site-packages/tensorflow/python/keras/saving/hdf5_format.py”, line 178, in load_model_from_hdf5
custom_objects=custom_objects)
File “/usr/local/lib/python3.6/site-packages/tensorflow/python/keras/saving/model_config.py”, line 55, in model_from_config
return deserialize(config, custom_objects=custom_objects)
File “/usr/local/lib/python3.6/site-packages/tensorflow/python/keras/layers/serialization.py”, line 175, in deserialize
printable_module_name=‘layer’)
File “/usr/local/lib/python3.6/site-packages/tensorflow/python/keras/utils/generic_utils.py”, line 358, in deserialize_keras_object
list(custom_objects.items())))
File “/usr/local/lib/python3.6/site-packages/tensorflow/python/keras/engine/sequential.py”, line 487, in from_config
custom_objects=custom_objects)
File “/usr/local/lib/python3.6/site-packages/tensorflow/python/keras/layers/serialization.py”, line 175, in deserialize
printable_module_name=‘layer’)
File “/usr/local/lib/python3.6/site-packages/tensorflow/python/keras/utils/generic_utils.py”, line 360, in deserialize_keras_object
return cls.from_config(cls_config)
File “/usr/local/lib/python3.6/site-packages/tensorflow/python/keras/engine/base_layer.py”, line 697, in from_config
return cls(**config)
File “/usr/local/lib/python3.6/site-packages/tensorflow/python/keras/layers/noise.py”, line 60, in init
super(GaussianNoise, self).init(**kwargs)
File “/usr/local/lib/python3.6/site-packages/tensorflow/python/training/tracking/base.py”, line 457, in _method_wrapper
result = method(self, *args, **kwargs)
File “/usr/local/lib/python3.6/site-packages/tensorflow/python/keras/engine/base_layer.py”, line 318, in init
generic_utils.validate_kwargs(kwargs, allowed_kwargs)
File “/usr/local/lib/python3.6/site-packages/tensorflow/python/keras/utils/generic_utils.py”, line 778, in validate_kwargs
raise TypeError(error_message, kwarg)
TypeError: (‘Keyword argument not understood:’, ‘seed’)
Attached to job 2119963…
Attached to job 2119963…
Attached to job 2119963…
Attached to job 2119963…
Attached to job 2119963…
Attached to job 2119963…
Attached to job 2119963…
Attached to job 2119963…
Attached to job 2119963…