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'. 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.