Spaces:
Sleeping
Sleeping
hasibzunair
commited on
Commit
•
a1d4e6e
1
Parent(s):
f02cbe5
update
Browse files
pipeline/timm_utils/tuple.py
CHANGED
@@ -3,8 +3,8 @@
|
|
3 |
Hacked together by / Copyright 2020 Ross Wightman
|
4 |
"""
|
5 |
from itertools import repeat
|
6 |
-
|
7 |
-
from torch._six import container_abcs
|
8 |
|
9 |
# From PyTorch internals
|
10 |
def _ntuple(n):
|
|
|
3 |
Hacked together by / Copyright 2020 Ross Wightman
|
4 |
"""
|
5 |
from itertools import repeat
|
6 |
+
import collections.abc as container_abcs
|
7 |
+
#from torch._six import container_abcs
|
8 |
|
9 |
# From PyTorch internals
|
10 |
def _ntuple(n):
|