Skip to content

Commit

Permalink
Update quality_check.py (#609)
Browse files Browse the repository at this point in the history
* Update quality_check.py
  • Loading branch information
HuguesRoy authored Jun 4, 2024
1 parent d54d59c commit f20e7fb
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion clinicadl/quality_check/t1_linear/quality_check.py
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,10 @@ def quality_check(
qc_df = pd.DataFrame(columns=columns)
qc_df["pass"] = qc_df["pass"].astype(bool)
softmax = torch.nn.Softmax(dim=1)
logger.info(f"Quality check will be performed over {len(dataloader)} images.")

logger.info(
f"Quality check will be performed over {len(dataloader.dataset)} images."
)

for data in dataloader:
logger.debug(f"Processing subject {data['participant_id']}.")
Expand Down

0 comments on commit f20e7fb

Please sign in to comment.