tensorflow / tensorflow/model-optimization

Requirements.txt allows an unsupported version of tf+keras

Open
#1,143 0 comments 2 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

bug
Dominant language
Python
Stars
1.6k
Forks
349
Avg merge
3d 2h
Merged PRs (30d)
1

Description

Describe the bug

The current requirements.txt allows for installation of Tensorflow and Keras versions that are not supported.

The latest release (https://github.com/tensorflow/model-optimization/releases/tag/v0.8.0) needs Keras 2.x, which leads to bugs like https://github.com/tensorflow/model-optimization/issues/1140

Please change requirements.txt to only allow keras upto 2.15 and create a new point release. I'll create a PR for this later if the authors are interested in merging.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Inspect requirements.txt alongside the TensorFlow Model Optimization v0.8.0 release constraints and issue 1140. Update the Keras requirement to allow versions only through 2.15, verify dependency resolution, and confirm that the project can publish a new point release.

Written by the indexing model from the issue text.

Assessment

Tech stack
keras, python, tensorflow
Domain
build-system, machine-learning, release
Issue type
Bug
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Clearly specified
Newbie friendliness
55/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.