lllyasviel / lllyasviel/ControlNet

tutorial_train.py does not produce checkpoints

Open
#269 2 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Python
Stars
34.1k
Forks
3k
PR merge metrics
No merged PRs in 30d

Description

When running the `tutorial_train.py` script, it creates logs at `lightning_logs`. However, the `lightning_logs\version_X\checkpoints` folders are all empty:

![image](https://user-images.githubusercontent.com/30405220/224863824-d7023ad0-653e-4ecc-b99b-276bd63cd3af.png)

Is this intended behaviour, or is there a bug preventing the checkpoints from saving?

Contributor guide

No contributing guide indexed for this repository

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

Run tutorial_train.py and inspect the generated lightning_logs/version_X/checkpoints directories to reproduce the empty-checkpoint behavior. Trace the training entry point and determine whether checkpoints are expected to be saved; done means confirming the intended behavior or making the script produce the expected checkpoints.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
machine-learning
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.