Skip to content

Commit

Permalink
update train_csn.py: update comments
Browse files Browse the repository at this point in the history
  • Loading branch information
dummyindex committed Mar 19, 2024
1 parent b530ab9 commit 7a6b9a3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion livecellx/model_zoo/segmentation/train_csn.py
Original file line number Diff line number Diff line change
Expand Up @@ -156,7 +156,7 @@ def df2dataset(df):
if args.debug:
train_df = train_df[:100]
val_df = val_df[:10]
# Get rid of last batch if it's not full to prevent BatchNorm complaints
# Get rid of last batch if it's not full to avoid BatchNorm complaints
train_df = train_df.iloc[: (len(train_df) // args.batch_size) * args.batch_size]
val_df = val_df.iloc[: (len(val_df) // args.batch_size) * args.batch_size]

Expand Down

0 comments on commit 7a6b9a3

Please sign in to comment.