Skip to content

How to use --eval-mode for ns-train splatfacto for manually split the dataset  #3614

@Runasia

Description

@Runasia

I want to manually split the dataset into training and validation sets, and specify the selected images. To achieve this, I used the following command (a bit of it):

ns-process-data --data data/nerfstudio/xx/train && --eval-data data/nerfstudio/xx/test

Then, I ran the training with:

ns-train splatfacto --data data/nerfstudio/xx --eval-mode filename --max-num-iterations 200001 --steps-per-save 10000 --save-only-latest-checkpoint False --steps-per-eval-all-images 10000

Image

than i find another command

ns-train splatfacto --data data/nerfstudio/xx--max-num-iterations 200001 --steps-per-save 10000 --save-only-latest-checkpoint False --steps-per-eval-all-images 10000 --pipeline.datamanager.eval-image-indices 0 1 --pipeline.datamanager.data data/nerfstudio/xx

But when I use ns-eval to generate rendered images, it gives me three images, which is beyond my control. (just like i set --pipeline.datamanager.eval-image-indices 0 1 )

Because I copied the data state to get COLMAP (when the image count is low, I couldn't proceed, so I took a few images for validation and copied other images for training), I want to evaluate my data.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions