Lightning-AI / Lightning-AI/pytorch-lightning

How to debug in the training process

Open
#18,935 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

docs
Dominant language
Python
Stars
31.4k
Forks
3.8k
Avg merge
6d 7h
Merged PRs (30d)
6

Description

### 📚 Documentation

How to debug using the example_input_array? Why does the Documentation only have the example of 'self.example_input_array = torch.Tensor(32, 1, 28, 28)' without any more statements showing the input and the output.
If you don't want the rookies understand, don't write the Documentation.
You don't need too many documentations, the debug ability in the documentations needs to be strengthen!!!!

cc @borda

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

The issue points to documentation for example_input_array and the torch.Tensor example; start by locating that documentation and checking the training-process debugging guidance. Done means the page explains how to inspect inputs and outputs with a concrete example.

Written by the indexing model from the issue text.

Assessment

Tech stack
python, pytorch
Domain
documentation, machine-learning
Issue type
Documentation
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.