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
When downloading a model I trained on Kaggle using the .keras format it fails to load on my machine. I believe it is a codec error because the TextVectorization layer uses the utf-8 format, but the error message appears to be using the charmap codec in python. This is all just speculation though.
ValueError: A total of 2 objects could not be loaded. Example error message for object <TextVectorization name=text_vectorization, built=True>:
'charmap' codec can't decode byte 0x8d in position 8946: character maps to <undefined>
List of objects that could not be loaded:
[<TextVectorization name=text_vectorization, built=True>, <StringLookup name=string_lookup, built=False>]
In the notebook it was trained on, it loaded perfectly so I don't understand the reason why this failed to work.
When downloading a model I trained on Kaggle using the
.keras
format it fails to load on my machine. I believe it is a codec error because the TextVectorization layer uses theutf-8
format, but the error message appears to be using thecharmap
codec in python. This is all just speculation though.In the notebook it was trained on, it loaded perfectly so I don't understand the reason why this failed to work.
My Machine:
python version 3.10.5
On kaggle I used the 2024-8-21 docker container
The text was updated successfully, but these errors were encountered: