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
-
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!sync
andsync_context
methods that allow the user full control over when metric states are synced. Note that we still automatically do this whenever calling thecompute
method.is_differentiable
property 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_metrics
method toMetricCollection
for 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)AUROC
whennum_classes
is not provided for multiclass input (Auroc error message #244)Accuracy
,Precision
,Recall
,FBeta
,F1
,StatScore
,Hamming
,ConfusionMatrix
metrics (Allow logit input in classification metrics #200)MeanAbsolutePercentageError(MAPE)
metric. (Add Mean Absolute Percentage Error #248)squared
argument toMeanSquaredError
for computingRMSE
(Add RMSE option to MSE code #249)is_differentiable
property toConfusionMatrix
,F1
,FBeta
,Hamming
,Hinge
,IOU
,MatthewsCorrcoef
,Precision
,Recall
,PrecisionRecallCurve
,ROC
,StatScores
(Added differentiability for metrics - 4/n #253)sync
andsync_context
methods for manually controlling when metric states are synced ([feat] Add sync_context and sync to nn.Metric #302)KLDivergence
metric (Add KLDivergence Metric #247)Changed
reset
method is called ([feat] Addreset_forward_cache
to Metric #260)precision
,recall
,precision_recall
,fbeta
,f1
,accuracy
, andspecificity
(Computing metrics per-class for imbalanced data #204)torch.jit.unused
toMetricCollection
forward (Add torch.jit.unused to MetricCollection forward #307)thresholds
argument 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_thresholds
argument inBinnedPrecisionRecallCurve
(Replace thredshold argument to binned metrics #322)Removed
is_multiclass
(prune deprecated #319)Fixed
dtype
of modular metrics after reset has been called (Fix dtype incorrectly being reset #243)matthews_corrcoef
to 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