Skip to content

Commit

Permalink
fix flake
Browse files Browse the repository at this point in the history
  • Loading branch information
SkafteNicki authored and Borda committed Jan 10, 2022
1 parent b88572b commit e0b25c3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 7 deletions.
7 changes: 1 addition & 6 deletions tests/text/test_eed.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,16 +14,11 @@

from functools import partial

import numpy as np
import pytest
from torch import Tensor, tensor

from tests.text.helpers import TextTester
from tests.text.inputs import (
_inputs_multiple_references,
_inputs_single_reference,
_inputs_single_sentence_multiple_references,
)
from tests.text.inputs import _inputs_single_reference, _inputs_single_sentence_multiple_references
from torchmetrics.functional.text.eed import extended_edit_distance
from torchmetrics.text.eed import ExtendedEditDistance

Expand Down
2 changes: 1 addition & 1 deletion torchmetrics/image/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,4 +12,4 @@
# See the License for the specific language governing permissions and
# limitations under the License.
from torchmetrics.image.psnr import PSNR # noqa: F401
from torchmetrics.image.ssim import SSIM # noqa: F401
from torchmetrics.image.ssim import SSIM, MultiScaleStructuralSimilarityIndexMeasure # noqa: F401

0 comments on commit e0b25c3

Please sign in to comment.