mirror of
https://github.com/nerfstudio-project/nerfstudio.git
synced 2026-11-17 13:23:46 +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:
|
||||
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")
|
||||
|
||||
|
||||
Reference in new issue
Block a user