tensorflow / tensorflow/tflite-support
newest version gets stuck at classify
Open
Nobody has claimed this yet.
- Dominant language
- C++
- Stars
- 441
- Forks
- 146
- PR merge metrics
- No merged PRs in 30d
Description
when upgrading from v0.4.3 to v0.4.4, my code now gets stuck when trying to classify. I get no logs about this.
classification_options = processor.ClassificationOptions(max_results=1, score_threshold=0)
base_options = core.BaseOptions(file_name='model.tflite', use_coral=False, num_threads=4)
options = vision.ImageClassifierOptions(base_options=base_options, classification_options=classification_options)
classifier = vision.ImageClassifier.create_from_options(options)
tensor_image = vision.TensorImage.create_from_array(image)
classifier.classify(tensor_image)
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with the Python entry points shown: ImageClassifier.create_from_options and classifier.classify. Reproduce the hang using the provided options and compare behavior between v0.4.3 and v0.4.4, checking whether logs appear; done means classification completes or the regression is isolated to a specific step.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python, tensorflow
- Domain
- machine-learning
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100