Skip to content

Commit

Permalink
Bugfix: shape confusion in resizing (#2565)
Browse files Browse the repository at this point in the history
Co-authored-by: Justin Kerr <[email protected]>
Co-authored-by: Brent Yi <[email protected]>
  • Loading branch information
3 people authored Nov 30, 2023
1 parent 8b85c44 commit 5a772b1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion nerfstudio/data/dataparsers/dycheck_dataparser.py
Original file line number Diff line number Diff line change
Expand Up @@ -322,7 +322,7 @@ def process_frames(self, frame_names: List[str], time_ids: np.ndarray) -> Tuple[
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")

Expand Down

0 comments on commit 5a772b1

Please sign in to comment.