Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update 03_pytorch_computer_vision_exercise_solutions.ipynb #938

Merged
merged 1 commit into from
Aug 22, 2024

Conversation

Hrut7hesh
Copy link
Contributor

@Hrut7hesh Hrut7hesh commented May 28, 2024

This update modifies the initialization of the Accuracy function to explicitly specify the task parameter as 'multiclass'. This change is necessary due to updates in the TorchMetrics library, which now requires the task parameter to be specified when creating an instance of the Accuracy class.

This update modifies the initialization of the Accuracy function to explicitly specify the task parameter as 'multiclass'. The change enhances code clarity and ensures that the metric function operates correctly within the context of multiclass classification.
@mrdbourke
Copy link
Owner

Thank you!

@mrdbourke mrdbourke merged commit 65ed32c into mrdbourke:main Aug 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants