Error Parsing Hyper Parameters (`HPARAMS`) on Windows
Maintainer thường phản hồi trong vòng 1 ngày
Đánh giá
- Độ khó
- 2/5
- Thời gian dự kiến
- 1-3 giờ
- Mức phù hợp với người mới
- 35/100
- Loại issue
- Lỗi
- Độ rõ ràng
- Đặc tả rõ ràng
- Mức độ hoạt động
- Đình trệ
- Công nghệ
- python, typescript
- Lĩnh vực
- backend, data-visualization
Hướng nghiên cứu
Start with tensorboard/plugins/hparams/metrics.py and inspect run_tag_from_session_and_metric, which the issue identifies as constructing the metric run path. Reproduce with the provided SummaryWriter.add_hparams example on Windows and check the HParams dashboard or JSON export. Done means the recorded metric values appear instead of null; an open pull request is already linked.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
Description
When viewing an experiment in TensorBoard’s HParams dashboard on Windows, the metric values are shown as null. Downloading the HParams data as JSON also returns null for the metrics.
The event files contain the expected scalar metrics, and the HParams session and experiment data are present. The issue appears to be in how the HParams plugin constructs the metric run path on Windows.
Steps to reproduce
Write HParams and numeric metrics with SummaryWriter.add_hparams:
from torch.utils.tensorboard import SummaryWriter
writer = SummaryWriter("logs/Model001")
writer.add_hparams(
{"activation": "ELU"},
{"train_loss": 0.16, "train_score": 0.95},
)
writer.close()
Launch TensorBoard on Windows and open the HParams dashboard.
View the experiment’s metrics or download the HParams data as JSON.
Expected behavior
The HParams dashboard and JSON export show the recorded metric values, such as 0.16 and 0.95.
Actual behavior
The metrics appear as null, despite being present in the event files.
Environment
OS: Windows
TensorBoard: 2.21.0
Possible cause
In tensorboard/plugins/hparams/metrics.py, run_tag_from_session_and_metric joins the session name and metric group, then only removes a trailing forward slash (/). On Windows, os.path.join(session_name, "") can produce a trailing backslash (), which is not removed. The resulting run path may not match the actual run name, causing the metric lookup to fail.
- Ngôn ngữ chính
- TypeScript
- Star
- 7.2k
- Fork
- 1.7k
- Merge trung bình
- 1 ngày 13 giờ
- Pull request đã merge (30 ngày)
- 3
Chuẩn bị môi trường
- Có Dockerfile hoặc tệp Docker Compose
- Có mẫu pull request
- Đọc hướng dẫn đóng góp
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của tensorflow/tensorboard
-
node_repositories in WORKSPACE missing linux_ppc64le and linux_s390x entries for Node.js 18.20.8Đang mở
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 92/100
tensorflow/tensorboard#7140 · 1 reaction ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 5/5 Hơn một tuần Mức phù hợp với người mới 10/100
tensorflow/tensorboard#7159 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
installĐang mở
Độ khó 5/5 Hơn một tuần Mức phù hợp với người mới 10/100
tensorflow/tensorboard#7158 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 35/100
tensorflow/tensorboard#7153 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Backport workflow-hardening fix (unpinned-uses) to 3 release branchesCó thể đã có người làm Có pull request liên kết đang mở hoặc đã được merge. Đang mở
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 68/100
tensorflow/tensorboard#7137 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
Tất cả issue của tensorflow/tensorboard
Issue tương tự
-
parity: scripting.net's net-http row fails on macOS with errno 61 where the BDS golden has 111Đang mởBug Tests
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
JSPrismarine/JSPrismarine#3384 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 74/100
zingolabs/zingo-mobile#1951 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 84/100
Automattic/data-liberation-agent#2175 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
bug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 82/100
xdelmo/Portfolio-minimal#613 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
backend documentation low-priority Stellar Wave
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 68/100
Savitura/Savitools#611 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 6 ngày