Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix number of total steps shown in progress bar during sanity validation check when number of validation dataloaders >= 2 #597

Merged
merged 3 commits into from
Dec 7, 2019

Commits on Dec 5, 2019

  1. type: debug

    Calculate the adequate number of steps to run during sanity_check.
    This fixes the bug when there are two or more validation dataloaders.
    
    - Before: total=self.num_sanity_val_steps
    - After: total=self.num_sanity_val_steps*len(self.get_val_dataloaders())
    kevincfyeh committed Dec 5, 2019
    Configuration menu
    Copy the full SHA
    c658c19 View commit details
    Browse the repository at this point in the history

Commits on Dec 6, 2019

  1. type: refactor

    Put total=... in the next line
    kevincfyeh committed Dec 6, 2019
    Configuration menu
    Copy the full SHA
    b06d7b4 View commit details
    Browse the repository at this point in the history
  2. type: refactor

    run flake8
    kevincfyeh committed Dec 6, 2019
    Configuration menu
    Copy the full SHA
    d17bcc7 View commit details
    Browse the repository at this point in the history