Spaces:
Runtime error
Runtime error
fix tqdm
Browse files- requirements.txt +1 -1
- train.py +1 -0
requirements.txt
CHANGED
@@ -1,10 +1,10 @@
|
|
|
|
1 |
numpy>=1.16
|
2 |
tqdm>=4.35.0
|
3 |
torch>=1.3.0
|
4 |
opencv-python>=4.5.2
|
5 |
scikit-image>=0.14.0
|
6 |
torchvision>=0.2.1
|
7 |
-
pillow>=7.2.0
|
8 |
lpips>=0.1.3
|
9 |
gdown
|
10 |
tqdm
|
|
|
1 |
+
pillow>=7.2.0
|
2 |
numpy>=1.16
|
3 |
tqdm>=4.35.0
|
4 |
torch>=1.3.0
|
5 |
opencv-python>=4.5.2
|
6 |
scikit-image>=0.14.0
|
7 |
torchvision>=0.2.1
|
|
|
8 |
lpips>=0.1.3
|
9 |
gdown
|
10 |
tqdm
|
train.py
CHANGED
@@ -114,6 +114,7 @@ def infer(args, humanflowmodel, image_names_list):
|
|
114 |
if args.local_rank == 0:
|
115 |
pbar.set_description(f"Epoch {i}/{train_num}")
|
116 |
pbar.set_postfix({"data_time": data_time_interval, "train_time":train_time_interval})
|
|
|
117 |
|
118 |
with torch.no_grad():
|
119 |
|
|
|
114 |
if args.local_rank == 0:
|
115 |
pbar.set_description(f"Epoch {i}/{train_num}")
|
116 |
pbar.set_postfix({"data_time": data_time_interval, "train_time":train_time_interval})
|
117 |
+
pbar.update(1)
|
118 |
|
119 |
with torch.no_grad():
|
120 |
|