Replies: 1 comment
-
|
@Borda: Pin this instead of the Information Retrieval? |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Overview
Audio
The first highlight of v0.4.0 is a set of 3 new metrics for calculating for evaluating audio data: Scale-invariant signal-to-distortion ratio, Scale-invariant signal-to-noise ratio, and signal-to-noise ratio. All these metrics take a predicted audio tensor and a target tensor, both with the shape
[...,time]and calculate the metric over the time axis.Image
Version v0.4.0 also includes a completely new image package. Since its initial 0.2.0 release, Torchmetrics has had both PSNR and SSIM in its regression module, metrics that can be used to evaluate image quality.
With the image module, we are adding three new metrics for evaluating the quality of generative models (such as GANS): Inception score (IS), Fréchet inception distance (FID) and kernel inception distance (KID).
More Functionality
In addition to the new audio and image package, we also want to highlight a couple of features:
.softmax(dim=-1)anymore!syncandsync_contextmethods that allow the user full control over when metric states are synced. Note that we still automatically do this whenever calling thecomputemethod.is_differentiableproperty has been adopted by many more of our metrics!Thanks
Big thanks to all community members for their contributions and feedback.
A special thanks to @quancs for leading the development of the new audio package.
[0.4.0] - 2021-06-24
Added
add_metricsmethod toMetricCollectionfor adding additional metrics after initialization (Added add_metrics method to MetricCollection #221)dist_reduce_fx="cat"to reduce communication cost (RFC: reduce allgather costs #217)AUROCwhennum_classesis not provided for multiclass input (Auroc error message #244)Accuracy,Precision,Recall,FBeta,F1,StatScore,Hamming,ConfusionMatrixmetrics (Allow logit input in classification metrics #200)MeanAbsolutePercentageError(MAPE)metric. (Add Mean Absolute Percentage Error #248)squaredargument toMeanSquaredErrorfor computingRMSE(Add RMSE option to MSE code #249)is_differentiableproperty toConfusionMatrix,F1,FBeta,Hamming,Hinge,IOU,MatthewsCorrcoef,Precision,Recall,PrecisionRecallCurve,ROC,StatScores(Added differentiability for metrics - 4/n #253)syncandsync_contextmethods for manually controlling when metric states are synced ([feat] Add sync_context and sync to nn.Metric #302)KLDivergencemetric (Add KLDivergence Metric #247)Changed
resetmethod is called ([feat] Addreset_forward_cacheto Metric #260)precision,recall,precision_recall,fbeta,f1,accuracy, andspecificity(Computing metrics per-class for imbalanced data #204)torch.jit.unusedtoMetricCollectionforward (Add torch.jit.unused to MetricCollection forward #307)thresholdsargument to binned metrics for manually controlling the thresholds (Replace thredshold argument to binned metrics #322)Deprecated
torchmetrics.functional.mean_relative_error(Add Mean Absolute Percentage Error #248)num_thresholdsargument inBinnedPrecisionRecallCurve(Replace thredshold argument to binned metrics #322)Removed
is_multiclass(prune deprecated #319)Fixed
dtypeof modular metrics after reset has been called (Fix dtype incorrectly being reset #243)matthews_corrcoefto correctly match formula (Fix code to correspond to equation for matthews_corrcoef #321)Contributors
@AnselmC, @arvindmuralie77, @bhadreshpsavani, @Borda, @GiannisVagionakis, @hassiahk, @IgorHoholko, @johannespitz, @justusschock, @maximsch2, @pranjaldatta, @quancs, @simran2905, @SkafteNicki, @tchaton
If we forgot someone due to not matching commit email with GitHub account, let us know :]
This discussion was created from the release Multimedia - audio & image quality.
Beta Was this translation helpful? Give feedback.
All reactions