Tensorboard Eval Images with TF-Vision
Nobody has claimed this yet.
Assessment
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Newbie friendliness
- 35/100
- Issue type
- Bug
- Clarity
- Mostly clear
- Activity status
- Stale
- Tech stack
- python
- Domain
- data-visualization
Research direction
Start with the TensorBoard image-logging instructions at the linked object-detection documentation and reproduce the issue using the provided run_experiment call. Compare the default behavior with EXPERIMENT_CONFIG.task.allow_image_summary = True and trace the reported scalar-shape error. Done means evaluated images appear in TensorBoard without the ValueError.
Written by the indexing model from the issue text.
Description
Prerequisites
Please answer the following questions for yourself before submitting an issue.
- I am using the latest TensorFlow Model Garden release and TensorFlow 2.
- I am reporting the issue to the correct repository. (Model Garden official or research directory)
- I checked to make sure that this issue has not been filed already.
Forwarded from tensorflow/models: https://github.com/tensorflow/models/issues/11270
1. The entire URL of the file you are using
https://www.tensorflow.org/tfmodels/vision/object_detection#load_logs_in_tensorboard
2. Describe the bug
I am following this documentation, https://www.tensorflow.org/tfmodels/vision/object_detection#load_logs_in_tensorboard
When I open tensorboard, and select images, I get "No image data was found."
I also tried to add EXPERIMENT_CONFIG.task.allow_image_summary = True, but I got an error, even with the dataset and code given by the documentation.
The error:
ValueError: Expected scalar shape, saw shape: (1, 640, 640, 3).
The code:
model, eval_logs = tfm.core.train_lib.run_experiment(
distribution_strategy=distribution_strategy,
task=task,
mode='train_and_eval',
params=EXPERIMENT_CONFIG,
model_dir=paths['MODEL_CHECKPOINT_PATH'],
run_post_eval=True,
)
3. Steps to reproduce
- Following this documentation: https://www.tensorflow.org/tfmodels/vision/object_detection#load_logs_in_tensorboard
- After training, open tensorboard, and select images
- See "No image data was found."
Now, try to train again with
EXPERIMENT_CONFIG.task.allow_image_summary = True- see error:
ValueError: Expected scalar shape, saw shape: (1, 640, 640, 3).
4. Expected behavior
I would like to see the evaluated images per epochs saved on tensorboard.
5. Additional context
Let me know if you need anything extra
6. System information
- OS Platform and Distribution (e.g., Linux Ubuntu 16.04): MacOS 15.0
- Mobile device name if the issue happens on a mobile device: N/A
- TensorFlow installed from (source or binary): source
- TensorFlow version (use command below): v2.17.0-rc1-2-gad6d8cc177d 2.17.0
- Python version: 3.10
- Bazel version (if compiling from source): N/A
- GCC/Compiler version (if compiling from source): N/A
- CUDA/cuDNN version: N/A
- GPU model and memory: N/A -> using CPU
- Dominant language
- TypeScript
- Stars
- 7.2k
- Forks
- 1.7k
- Avg merge
- 4d 22h
- Merged PRs (30d)
- 1
Contributor guide
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.
More from tensorflow/tensorboard
-
node_repositories in WORKSPACE missing linux_ppc64le and linux_s390x entries for Node.js 18.20.8 Open
Difficulty 1/5 Under an hour Newbie friendliness 92/100
tensorflow/tensorboard#7140 · 1 reaction ·
-
Difficulty 4/5 3-5 days Newbie friendliness 35/100
tensorflow/tensorboard#7153 ·
-
Difficulty 3/5 1-2 days Newbie friendliness 68/100
tensorflow/tensorboard#7137 · 1 comment ·
-
Difficulty 3/5 1-2 days Newbie friendliness 72/100
tensorflow/tensorboard#7119 ·
-
Issue: TensorBoard wheels on PyPI fail with setuptools >81 due to deprecated pkg_resources removal Open
Difficulty 4/5 3-5 days Newbie friendliness 35/100
tensorflow/tensorboard#7107 · 2 comments · 7 reactions ·
All issues in tensorflow/tensorboard
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 84/100
Eynzof/Hermes-CN-Desktop#610 ·
-
bug clawsweeper:linked-pr-open clawsweeper:needs-live-repro clawsweeper:no-new-fix-pr impact:message-loss issue-rating: 🐚 platinum hermit P2 regression
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
-
enhancement
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
-
calcite-components needs triage refactor
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
Esri/calcite-design-system#15203 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 90/100
danielmiessler/LifeOS#2218 ·