-
Notifications
You must be signed in to change notification settings - Fork 24
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Chapter 3 ColabNotebook prepare_model.ipynb getting errors #5
Comments
This is what I see with Pandas 2.x:
|
I was able to get passed the Pandas 2.x issue by making changes in WorldWeatherOnline. However, I am still seeing an issue with KeyError 'weather'.
|
Looks like the 'weather' error was due to me misspelling the name 'canazei'. Method 1 works now after making the changes to 'wwo_hist' with changing 'close' to 'inclusive' There are still some deprecated warnings though. However, I am still seeing the 'vectorNumElems' error in 'tensorflow'.
|
I was able to get passed the TypeError for 'vectorNumElems' buy downgrading flatbuffers to ver 23.5.26. There appears to be a conflict with Tensorflow 2.15.0. I was able to run the complete notebook on a Raspberry 5 running Bookworm. |
I was able to solve the "TypeError: DatetimeArray._generate_range() got an unexpected keyword argument 'closed'" error by opening the wwo_hist module file and editing the said file "python3.11/site-packages/wwo_hist/init.py" by changing the close keyword to inclusive, there are 2 places where closed were used so I changed the two to inclusive and everything worked well. I did a full video on this particular chapter here: https://youtu.be/ip8nqTWu_Mk?si=MZhW7HQszf1A7iMn Credits to the TinyML Cookbook |
I am seeing errors when running the Method 1 prepare_model.ipynb.
With Pandas 1.5.x I see this:
Then at :"Convert the model to TensorFlow Lite file format (FlatBuffers) as save it as .tflite", I get this.
The text was updated successfully, but these errors were encountered: