mirror of
https://github.com/nerfstudio-project/nerfstudio.git
synced 2026-11-11 10:34:29 +08:00
Fix mask filenames misaligned after splitting set into train and eval (#1093)
* Added Dockerfile to build docker image including all dependencies and nerfstudio, added description on how to user docker. * Move docker description to Installation.md. * Fix mask_filename indices after splitting train set. Co-authored-by: Nicolas Zunhammer <n.zunhammer@tum.de>
This commit is contained in:
parent
f3442c8b7b
commit
6896028fc5
@ -196,6 +196,7 @@ class Nerfstudio(DataParser):
|
||||
|
||||
# Choose image_filenames and poses based on split, but after auto orient and scaling the poses.
|
||||
image_filenames = [image_filenames[i] for i in indices]
|
||||
mask_filenames = [mask_filenames[i] for i in indices]
|
||||
poses = poses[indices]
|
||||
|
||||
# in x,y,z order
|
||||
|
||||
Loading…
Reference in New Issue
Block a user