Skip to content

Commit 296cbec

Browse files
committed
adapted for newer torch added pip requirements.txt
1 parent 3ba01b2 commit 296cbec

File tree

2 files changed

+35
-1
lines changed

2 files changed

+35
-1
lines changed

requirements.txt

Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
pip>=20.3
2+
torch>=1.7.0
3+
torchvision>=0.8.1
4+
numpy>=1.19.2
5+
albumentations>=0.4.3
6+
opencv-python>=4.1.2.30
7+
pudb>=2019.2
8+
imageio>=2.9.0
9+
imageio-ffmpeg>=0.4.2
10+
pytorch-lightning>=1.0.8
11+
omegaconf>=2.0.0
12+
test-tube>=0.7.5
13+
streamlit>=0.73.1
14+
einops>=0.3.0
15+
more-itertools>=8.0.0
16+
transformers>=4.3.1
17+
-epython>=3.8.5
18+
pip>=20.3
19+
cudatoolkit>=10.2
20+
torch>=1.7.0
21+
torchvision>=0.8.1
22+
numpy>=1.19.2
23+
albumentations>=0.4.3
24+
opencv-python>=4.1.2.30
25+
pudb>=2019.2
26+
imageio>=2.9.0
27+
imageio-ffmpeg>=0.4.2
28+
pytorch-lightning>=1.0.8
29+
omegaconf>=2.0.0
30+
test-tube>=0.7.5
31+
streamlit>=0.73.1
32+
einops>=0.3.0
33+
more-itertools>=8.0.0
34+
transformers>=4.3.1

taming/data/utils.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
import numpy as np
99
import torch
1010
from taming.data.helper_types import Annotation
11-
from torch._six import string_classes
11+
string_classes = str
1212
from torch.utils.data._utils.collate import np_str_obj_array_pattern, default_collate_err_msg_format
1313
from tqdm import tqdm
1414

0 commit comments

Comments
 (0)