Commit 968458c
committed
https://github.com/CompVis/taming-transformers/pull/200
Remove reference to deprecated feature
torch._six has been deprecated, and this reference causes the code to not run. I removed the import and replaced the string_classes comparison with what string_classes actually was / is.1 parent f907c70 commit 968458c
1 file changed
+1
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
8 | 8 | | |
9 | 9 | | |
10 | 10 | | |
11 | | - | |
12 | 11 | | |
13 | 12 | | |
14 | 13 | | |
| |||
149 | 148 | | |
150 | 149 | | |
151 | 150 | | |
152 | | - | |
| 151 | + | |
153 | 152 | | |
154 | 153 | | |
155 | 154 | | |
| |||
0 commit comments