Skip to content

Commit

Permalink
RC0
Browse files Browse the repository at this point in the history
  • Loading branch information
Borda committed Jan 13, 2022
1 parent 9094985 commit 2577417
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 57 deletions.
66 changes: 10 additions & 56 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
**Note: we move fast, but still we preserve 0.1 version (one feature release) back compatibility.**


## [unreleased] - 2022-MM-DD
## [0.7.0] - 2022-01-DD

### Added

Expand All @@ -18,112 +18,66 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
- `CHRFScore` ([#641](https://github.com/PyTorchLightning/metrics/pull/641))
- `TranslationEditRate` ([#646](https://github.com/PyTorchLightning/metrics/pull/646))
- `ExtendedEditDistance` ([#668](https://github.com/PyTorchLightning/metrics/pull/668))


- Added `MultiScaleSSIM` into image metrics ([#679](https://github.com/PyTorchLightning/metrics/pull/679))


- Added a default VSCode devcontainer configuration ([#621](https://github.com/PyTorchLightning/metrics/pull/621))


- Added Signal to Distortion Ratio (`SDR`) to audio package ([#565](https://github.com/PyTorchLightning/metrics/pull/565))


- Added `MinMaxMetric` to wrappers ([#556](https://github.com/PyTorchLightning/metrics/pull/556))


- Added `ignore_index` to retrieval metrics ([#676](https://github.com/PyTorchLightning/metrics/pull/676))


- Added support for multi references in `ROUGEScore` ([#680](https://github.com/PyTorchLightning/metrics/pull/680))

- Added a default VSCode devcontainer configuration ([#621](https://github.com/PyTorchLightning/metrics/pull/621))

### Changed

- Scalar metrics will now consistently have additional dimensions squeezed ([#622](https://github.com/PyTorchLightning/metrics/pull/622))


- Metrics having third party dependencies removed from global import ([#463](https://github.com/PyTorchLightning/metrics/pull/463))


- Untokenized for `BLEUScore` input stay consistent with all the other text metrics ([#640](https://github.com/PyTorchLightning/metrics/pull/640))


- Arguments reordered for `TER`, `BLEUScore`, `SacreBLEUScore`, `CHRFScore` now expect input order as predictions first and target second ([#696](https://github.com/PyTorchLightning/metrics/pull/696))


- Renamed `torchmetrics.collections` to `torchmetrics.metrics_collections` to avoid clashing with system's `collections` package ([#695](https://github.com/PyTorchLightning/metrics/pull/695))


- Changed dtype of metric state from `torch.float` to `torch.long` in `ConfusionMatrix` to accommodate larger values ([#708](https://github.com/PyTorchLightning/metrics/issues/708))

- Unify `preds`, `target` input argument's naming across all text metrics ([#723](https://github.com/PyTorchLightning/metrics/issues/723), [#727](https://github.com/PyTorchLightning/metrics/issues/727))
* `bert`, `bleu`, `chrf`, `sacre_bleu`, `wip`, `wil`, `cer`, `ter`, `wer`, `mer`, `rouge`, `squad`

### Deprecated

- Renamed IoU -> Jaccard Index ([#662](https://github.com/PyTorchLightning/metrics/pull/662))

- Renamed `WER` -> `WordErrorRate` and `wer` -> `word_error_rate` ([#714](https://github.com/PyTorchLightning/metrics/pull/714))


- Renamed correlation coefficient classes: ([#710](https://github.com/PyTorchLightning/metrics/pull/710))
* `MatthewsCorrcoef` -> `MatthewsCorrCoef`
* `PearsonCorrcoef` -> `PearsonCorrCoef`
* `SpearmanCorrcoef` -> `SpearmanCorrCoef`

- Renamed audio SDR metrics: ([#711](https://github.com/PyTorchLightning/metrics/pull/711))
* `functional.sdr` -> `functional.signal_distortion_ratio`
* `functional.si_sdr` -> `functional.scale_invariant_signal_distortion_ratio`
* `SDR` -> `SignalDistortionRatio`
* `SI_SDR` -> `ScaleInvariantSignalDistortionRatio`


- Renamed audio SNR metrics: ([#712](https://github.com/PyTorchLightning/metrics/pull/712))
* `functional.snr` -> `functional.signal_distortion_ratio`
* `functional.si_snr` -> `functional.scale_invariant_signal_noise_ratio`
* `SNR` -> `SignalNoiseRatio`
* `SI_SNR` -> `ScaleInvariantSignalNoiseRatio`


- Renamed F-score metrics: ([#731](https://github.com/PyTorchLightning/metrics/pull/731))
- Renamed F-score metrics: ([#731](https://github.com/PyTorchLightning/metrics/pull/731), [#740](https://github.com/PyTorchLightning/metrics/pull/740))
* `torchmetrics.functional.f1` -> `torchmetrics.functional.f1_score`
* `torchmetrics.F1` -> `torchmetrics.F1Score`


* `torchmetrics.functional.fbeta` -> `torchmetrics.functional.fbeta_score`
* `torchmetrics.FBeta` -> `torchmetrics.FBetaScore`
- Renamed Hinge metric: ([#734](https://github.com/PyTorchLightning/metrics/pull/734))
* `torchmetrics.functional.hinge` -> `torchmetrics.functional.hinge_loss`
* `torchmetrics.Hinge` -> `torchmetrics.HingeLoss`

- Renamed F-Beta metrics: ([#740](https://github.com/PyTorchLightning/metrics/pull/740))
* `torchmetrics.functional.fbeta` -> `torchmetrics.functional.fbeta_score`
* `torchmetrics.FBeta` -> `torchmetrics.FBetaScore`


- Renamed image metrics ([#732](https://github.com/PyTorchLightning/metrics/pull/732))
- Renamed image PSNR metrics ([#732](https://github.com/PyTorchLightning/metrics/pull/732))
* `functional.psnr` -> `functional.peak_signal_noise_ratio`
* `PSNR` -> `PeakSignalNoiseRatio`


- Renamed PIT metric: ([#737](https://github.com/PyTorchLightning/metrics/pull/737))
- Renamed image PIT metric: ([#737](https://github.com/PyTorchLightning/metrics/pull/737))
* `torchmetrics.functional.pit` -> `torchmetrics.functional.permutation_invariant_training`
* `torchmetrics.PIT` -> `torchmetrics.PermutationInvariantTraining`


- Renamed SSIM metric: ([#747](https://github.com/PyTorchLightning/metrics/pull/747))
- Renamed image SSIM metric: ([#747](https://github.com/PyTorchLightning/metrics/pull/747))
* `torchmetrics.functional.ssim` -> `torchmetrics.functional.scale_invariant_signal_noise_ratio`
* `torchmetrics.SSIM` -> `torchmetrics.StructuralSimilarityIndexMeasure`


### Removed

- Removed `embedding_similarity` metric ([#638](https://github.com/PyTorchLightning/metrics/pull/638))


- Removed argument `concatenate_texts` from `wer` metric ([#638](https://github.com/PyTorchLightning/metrics/pull/638))


- Removed arguments `newline_sep` and `decimal_places` from `rouge` metric ([#638](https://github.com/PyTorchLightning/metrics/pull/638))


### Fixed

- Fixed MetricCollection kwargs filtering when no `kwargs` are present in update signature ([#707](https://github.com/PyTorchLightning/metrics/pull/707))
Expand Down
2 changes: 1 addition & 1 deletion torchmetrics/__about__.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
__version__ = "0.7.0dev"
__version__ = "0.7.0rc0"
__author__ = "PyTorchLightning et al."
__author_email__ = "name@pytorchlightning.ai"
__license__ = "Apache-2.0"
Expand Down

0 comments on commit 2577417

Please sign in to comment.