pytorch / pytorch/vision

Support for print_freq in evaluate method of engine.py

Open
#8,082 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Python
Stars
17.9k
Forks
7.3k
Avg merge
1d 15h
Merged PRs (30d)
13

Description

🚀 The feature

Working with large datasets which take a long time to train with no progress bar is difficult. It would be great to have support for printing the evaluate outputs, currently, it's set to 100 in the engine.py evaluate module.

Motivation, pitch

I'm working on training large medical images and evaluating od model using the evaluate method, however finding it difficult to see how the model works until 100 iters of batches. It would be great if we can have print_freq included as an option to evaluate method

Alternatives

No response

Additional context

No response

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reading the evaluate method in engine.py, focusing on where evaluation output is currently printed at a fixed frequency of 100 iterations. Add support for a print_freq option and verify that evaluation output follows the requested interval, including the existing default behavior.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
computer-vision
Issue type
Feature
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
50/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.