Skip to content

Commit 5111455

Browse files
committed
fixed warnings
1 parent 56ee2cc commit 5111455

2 files changed

Lines changed: 6 additions & 1 deletion

File tree

src/baseline/v2/inference/docker/inference.py

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,7 @@
11
import argparse
2+
import time
3+
import warnings
4+
25
import torch
36
import nibabel as nib
47
from pathlib import Path
@@ -14,7 +17,8 @@
1417
)
1518

1619
from models.unet import build_model
17-
import time
20+
21+
warnings.filterwarnings("ignore")
1822

1923
# -----------------------------
2024
# ARGUMENTS
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
11
monai==1.3.0
2+
torch==2.1.0
23
nibabel
34
tqdm

0 commit comments

Comments
 (0)