Skip to content

Commit 3417fe3

Browse files
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
1 parent ab62961 commit 3417fe3

2 files changed

Lines changed: 4 additions & 8 deletions

File tree

deepmd/pt/train/training.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,10 @@
88
from pathlib import (
99
Path,
1010
)
11-
from typing import Any, Iterable
11+
from typing import (
12+
Any,
13+
)
14+
from collections.abc import Iterable
1215

1316
import numpy as np
1417
import torch

deepmd/pt/utils/dataloader.py

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,9 @@
11
# SPDX-License-Identifier: LGPL-3.0-or-later
22
import logging
33
import os
4-
import time
54
from multiprocessing.dummy import (
65
Pool,
76
)
8-
from queue import (
9-
Queue,
10-
)
11-
from threading import (
12-
Thread,
13-
)
147

158
import h5py
169
import numpy as np

0 commit comments

Comments
 (0)