Skip to content

Why does the progress bar not show the total steps when using iterable dataset? #20124

@hiyyg

Description

@hiyyg

Bug description

The parameters to Trainer:

max_epochs=-1, max_steps=200000

The progress bar does not show the total iters and the estimated remaining time is also nonsense.

Epoch 1: |                                                             | 43/? [00:26<00:00 ****

What version are you seeing the problem on?

master

How to reproduce the bug

The version is 2.3.3

Error messages and logs

# Error messages and logs here please

Environment

Current environment
#- PyTorch Lightning Version (e.g., 1.5.0):
#- PyTorch Version (e.g., 2.0):
#- Python version (e.g., 3.9):
#- OS (e.g., Linux):
#- CUDA/cuDNN version:
#- GPU models and configuration:
#- How you installed Lightning(`conda`, `pip`, source):

More info

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions