Skip to content

Commit

Permalink
Update run_train.py
Browse files Browse the repository at this point in the history
Remove non-existing `config.eval`
  • Loading branch information
mathpluscode authored Oct 1, 2023
1 parent b9af090 commit 4dcac5f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion imgx/imgx/run_train.py
Original file line number Diff line number Diff line change
Expand Up @@ -156,7 +156,7 @@ def main( # pylint:disable=too-many-statements
):
ckpt_dir = files_dir / "ckpt" / f"batch_{i}"

if config.eval and (ckpt_dir is not None):
if ckpt_dir is not None:
# when diffusion save under sampler name
out_dir = ckpt_dir
if config.task.name == "diffusion_segmentation":
Expand Down

0 comments on commit 4dcac5f

Please sign in to comment.