mirror of
https://github.com/nerfstudio-project/nerfstudio.git
synced 2026-12-01 13:28:59 +08:00
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:
1 file changed
+1
-1
@@ -322,7 +322,7 @@ class Dycheck(DataParser):
|
|||||||
for frame in frame_names:
|
for frame in frame_names:
|
||||||
cv2.imwrite(
|
cv2.imwrite(
|
||||||
str(self.data / f"rgb/{d}x/{frame}.png"),
|
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")
|
CONSOLE.print("finished")
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user