We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a7f7233 commit 0604726Copy full SHA for 0604726
tests/tests_pytorch/models/test_hparams.py
@@ -25,7 +25,6 @@
25
import pytest
26
import torch
27
from fsspec.implementations.local import LocalFileSystem
28
-from torchmetrics.classification import Accuracy
29
from lightning.pytorch import LightningModule, Trainer
30
from lightning.pytorch.callbacks import ModelCheckpoint
31
from lightning.pytorch.core.datamodule import LightningDataModule
@@ -38,6 +37,7 @@
38
37
from lightning_utilities.core.imports import RequirementCache
39
from lightning_utilities.test.warning import no_warning_call
40
from torch.utils.data import DataLoader
+from torchmetrics.classification import Accuracy
41
42
from tests_pytorch.helpers.runif import RunIf
43
0 commit comments