Skip to content

Commit

Permalink
Merge pull request #938 from Hrut7hesh/patch-1
Browse files Browse the repository at this point in the history
Update 03_pytorch_computer_vision_exercise_solutions.ipynb
  • Loading branch information
mrdbourke authored Aug 22, 2024
2 parents 0428745 + 8f31095 commit 65ed32c
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -3598,7 +3598,7 @@
"from tqdm.auto import tqdm\n",
"from torchmetrics import Accuracy\n",
"\n",
"acc_fn = Accuracy(num_classes=len(fashion_mnist_class_names)).to(device) \n",
"acc_fn = Accuracy(task = 'multiclass', num_classes=len(fashion_mnist_class_names)).to(device) \n",
"\n",
"# Setup training/testing loop\n",
"epochs = 5\n",
Expand Down

0 comments on commit 65ed32c

Please sign in to comment.