KasaHealth / error.txt
78anand's picture
Upload folder using huggingface_hub
a1d9ea4 verified
2026-03-08 15:25:15.571399: I tensorflow/core/util/port.cc:153] oneDNN custom operations are on. You may see slightly different numerical results due to floating-point round-off errors from different computation orders. To turn them off, set the environment variable `TF_ENABLE_ONEDNN_OPTS=0`.
2026-03-08 15:25:17.966681: I tensorflow/core/util/port.cc:153] oneDNN custom operations are on. You may see slightly different numerical results due to floating-point round-off errors from different computation orders. To turn them off, set the environment variable `TF_ENABLE_ONEDNN_OPTS=0`.
2026-03-08 15:25:19.619209: 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: SSE3 SSE4.1 SSE4.2 AVX AVX2 AVX_VNNI FMA, in other operations, rebuild TensorFlow with the appropriate compiler flags.
Traceback (most recent call last):
File "C:\Users\ASUS\lung_ai_project\convert_to_tflite.py", line 10, in convert_model
model = tf.keras.models.load_model(model_path)
File "C:\Users\ASUS\AppData\Local\Programs\Python\Python310\lib\site-packages\keras\src\saving\saving_api.py", line 196, in load_model
return legacy_h5_format.load_model_from_hdf5(
File "C:\Users\ASUS\AppData\Local\Programs\Python\Python310\lib\site-packages\keras\src\legacy\saving\legacy_h5_format.py", line 159, in load_model_from_hdf5
**saving_utils.compile_args_from_training_config(
File "C:\Users\ASUS\AppData\Local\Programs\Python\Python310\lib\site-packages\keras\src\legacy\saving\saving_utils.py", line 145, in compile_args_from_training_config
loss = _resolve_compile_arguments_compat(loss, loss_config, losses)
File "C:\Users\ASUS\AppData\Local\Programs\Python\Python310\lib\site-packages\keras\src\legacy\saving\saving_utils.py", line 238, in _resolve_compile_arguments_compat
obj = module.get(obj_config["config"]["name"])
TypeError: string indices must be integers
Loading model from models/hear_classifier_advanced.h5...