Skip to content

Commit

Permalink
Update PythonApplication1.py's comment at line 48
Browse files Browse the repository at this point in the history
  • Loading branch information
anamitraupadhyay authored Sep 12, 2024
1 parent 41f82ff commit 47ba431
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions PythonApplication1.py
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ def accuracy(outputs, labels):
train_loader = DataLoader(train_ds, batch_size=batch_size, shuffle=True)
val_loader = DataLoader(val_ds, batch_size=batch_size)

# Creating a logistic regression model using nn.Linear
# Declaring the size of the images and the no. of digits the number might fall into i.e. 0 to 9 is numclasses
ip_size = 28 * 28
num_classes = 10

Expand Down Expand Up @@ -223,4 +223,4 @@ def predict_image(img, model):
# Evaluate the model after fine-tuning
print("Evaluation after fine-tuning:")
result_after_fine_tune = evaluate(model2, test_loader)
print(result_after_fine_tune)
print(result_after_fine_tune)

0 comments on commit 47ba431

Please sign in to comment.