mirror of
https://github.com/nerfstudio-project/nerfstudio.git
synced 2026-11-11 02:24:38 +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:
parent
8b85c44b27
commit
5a772b177d
@ -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")
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user