Decathlon / Decathlon/decavision
tensorflow version error
- Dominant language
- Python
- Stars
- 4
- Forks
- 3
- PR merge metrics
- No merged PRs in 30d
Description
When using tensorflow higher than 2.9.1, B0, B5, B7 model can have this error when fitting
`TypeError: Unable to serialize [2.0896919 2.1128857 2.1081853] to JSON. Unrecognized type .`
So in the requirements.txt, we need to put tensorflow == 2.9.1
Contributor guide
Research direction
Start with requirements.txt and inspect how the TensorFlow dependency is currently specified. Check the reported fitting path for the B0, B5, and B7 models, then verify that the dependency constraint prevents the reported EagerTensor JSON serialization error. Done means the required TensorFlow version is recorded and the affected model fitting path no longer shows this error.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python, tensorflow
- Domain
- machine-learning
- Issue type
- Bug
- Difficulty
- 1/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Clearly specified
- Newbie friendliness
- 62/100