Lightning-AI / Lightning-AI/pytorch-lightning
Add date and time for TensorBoardLogger
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 31.4k
- Forks
- 3.8k
- Avg merge
- 6d 7h
- Merged PRs (30d)
- 6
Description
### Description & Motivation
I can set the name of TensorboardLogger with datetime in code
`name = os.path.join('runs',datetime.now().strftime("%Y%m%d%H%M%S"))`
But when call from CLI, TensorboardLogger can not use date and time as its name easily.
### Pitch
add an init_arg for TensorBoardLogger so that user can choose whether to log date and time.
### Alternatives
_No response_
### Additional context
_No response_
cc @borda @awaelchli
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.
Research direction
Start by locating the TensorBoardLogger initialization path and the CLI argument handling described in the issue. Determine how an init argument should control date-and-time naming, then verify that invoking the logger from the CLI can enable or disable that behavior and that the resulting run name is correct.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python, pytorch
- Domain
- machine-learning
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100