mirror of
https://github.com/wassname/pytorch-ts.git
synced 2026-06-27 19:32:05 +08:00
use tqdm.auto
This commit is contained in:
+1
-1
@@ -3,7 +3,7 @@ from collections import defaultdict
|
||||
from typing import Any, List, NamedTuple, Optional, Set
|
||||
|
||||
import numpy as np
|
||||
from tqdm import tqdm
|
||||
from tqdm.auto import tqdm
|
||||
|
||||
from .common import FieldName
|
||||
from pts.exception import assert_pts
|
||||
|
||||
@@ -10,12 +10,11 @@ from typing import (
|
||||
Union,
|
||||
Callable,
|
||||
)
|
||||
from tqdm import tqdm
|
||||
from tqdm.auto import tqdm
|
||||
|
||||
# Third-party imports
|
||||
import numpy as np
|
||||
import pandas as pd
|
||||
from tqdm import tqdm
|
||||
|
||||
from pts.model import Quantile, Forecast
|
||||
from pts.feature import get_seasonality
|
||||
|
||||
+1
-1
@@ -4,7 +4,7 @@ from typing import Any, List, NamedTuple, Optional, Union
|
||||
import torch
|
||||
import torch.nn as nn
|
||||
from torch.utils.tensorboard import SummaryWriter
|
||||
from tqdm import tqdm
|
||||
from tqdm.auto import tqdm
|
||||
|
||||
from torch.utils.data import DataLoader
|
||||
|
||||
|
||||
Reference in New Issue
Block a user