Bugfix: shape confusion in resizing (#2565)

Co-authored-by: Justin Kerr <justin.g.kerr@gmail.com>
Co-authored-by: Brent Yi <yibrenth@gmail.com>
This commit is contained in:
authored and GitHub committed 2023-11-30 05:57:43 +00:00
1 parent 8b85c44b27
commit 5a772b177d
1 file changed
+1 -1
@@ -322,7 +322,7 @@ class Dycheck(DataParser):
for frame in frame_names:
cv2.imwrite(
str(self.data / f"rgb/{d}x/{frame}.png"),
cv2.resize(cv2.imread(str(self.data / f"rgb/1x/{frame}.png")), (h, w)),
cv2.resize(cv2.imread(str(self.data / f"rgb/1x/{frame}.png")), (w, h)),
)
CONSOLE.print("finished")