You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
!python classify.py
2024-12-04 05:02:25.542526: I tensorflow/tsl/cuda/cudart_stub.cc:28] Could not find cuda drivers on your machine, GPU will not be used.
2024-12-04 05:02:25.600204: I tensorflow/tsl/cuda/cudart_stub.cc:28] Could not find cuda drivers on your machine, GPU will not be used.
2024-12-04 05:02:25.600904: I tensorflow/core/platform/cpu_feature_guard.cc:182] 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-12-04 05:02:26.739275: W tensorflow/compiler/tf2tensorrt/utils/py_utils.cc:38] TF-TRT Warning: Could not find TensorRT
ERROR: The model is not a valid Flatbuffer buffer
Traceback (most recent call last):
File "/content/examples/lite/examples/sound_classification/raspberry_pi/classify.py", line 134, in
main()
File "/content/examples/lite/examples/sound_classification/raspberry_pi/classify.py", line 128, in main
run(args.model, int(args.maxResults), float(args.scoreThreshold),
File "/content/examples/lite/examples/sound_classification/raspberry_pi/classify.py", line 52, in run
classifier = audio.AudioClassifier.create_from_options(options)
File "/usr/local/lib/python3.10/dist-packages/tensorflow_lite_support/python/task/audio/audio_classifier.py", line 93, in create_from_options
classifier = _CppAudioClassifier.create_from_options(
ValueError: The model is not a valid Flatbuffer buffer
The text was updated successfully, but these errors were encountered:
%cd examples/lite/examples/sound_classification/raspberry_pi/classify.py
!python classify.py
2024-12-04 05:02:25.542526: I tensorflow/tsl/cuda/cudart_stub.cc:28] Could not find cuda drivers on your machine, GPU will not be used.
2024-12-04 05:02:25.600204: I tensorflow/tsl/cuda/cudart_stub.cc:28] Could not find cuda drivers on your machine, GPU will not be used.
2024-12-04 05:02:25.600904: I tensorflow/core/platform/cpu_feature_guard.cc:182] 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-12-04 05:02:26.739275: W tensorflow/compiler/tf2tensorrt/utils/py_utils.cc:38] TF-TRT Warning: Could not find TensorRT
ERROR: The model is not a valid Flatbuffer buffer
Traceback (most recent call last):
File "/content/examples/lite/examples/sound_classification/raspberry_pi/classify.py", line 134, in
main()
File "/content/examples/lite/examples/sound_classification/raspberry_pi/classify.py", line 128, in main
run(args.model, int(args.maxResults), float(args.scoreThreshold),
File "/content/examples/lite/examples/sound_classification/raspberry_pi/classify.py", line 52, in run
classifier = audio.AudioClassifier.create_from_options(options)
File "/usr/local/lib/python3.10/dist-packages/tensorflow_lite_support/python/task/audio/audio_classifier.py", line 93, in create_from_options
classifier = _CppAudioClassifier.create_from_options(
ValueError: The model is not a valid Flatbuffer buffer
The text was updated successfully, but these errors were encountered: