Fix tqdm import handling by removing try-except block and ensuring proper import

This commit is contained in:
2026-01-16 16:14:16 +08:00
parent 90dffc3211
commit 7a1210b5b0

View File

@@ -8,12 +8,8 @@ import numpy as np
import pandas as pd import pandas as pd
import torch import torch
try:
from tqdm import tqdm from tqdm import tqdm
except Exception: # pragma: no cover
def tqdm(x, **kwargs):
return x
from utils import ( from utils import (
multi_hot_ever_within_horizon, multi_hot_ever_within_horizon,