Commit 8a52c1c
authored
Fix index using tuple for image cropping operation
I'm getting a warning at this line:
"Using a non-tuple sequence for multidimensional indexing is deprecated and will be changed in pytorch 2.9; use x instead of x. In pytorch 2.9 this will be interpreted as _tensor.py:1654
tensor index, x, which will result either in an error or a different result".
Signed-off-by: John Zielke <[email protected]>1 parent 23c271e commit 8a52c1c
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
144 | 144 | | |
145 | 145 | | |
146 | 146 | | |
147 | | - | |
| 147 | + | |
148 | 148 | | |
149 | 149 | | |
150 | 150 | | |
| |||
0 commit comments