Skip to content

Commit 81160a5

Browse files
[github-action] formatting fixes
1 parent 20bf64d commit 81160a5

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

examples/mnist_hugging_face.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -57,9 +57,7 @@ def forward(self, x):
5757
model = Model(len(train_ds.classes), IMG_SIZE)
5858
model.to(device)
5959

60-
model, train_ld, test_ld = accelerator.prepare(
61-
model, train_ld, test_ld
62-
)
60+
model, train_ld, test_ld = accelerator.prepare(model, train_ld, test_ld)
6361

6462
with torch.no_grad():
6563
for samples, labels in tqdm(train_ld, desc="Training"):

0 commit comments

Comments
 (0)