Skip to content

Commit

Permalink
NERF-0000: Adding Random Seed Frame Processing
Browse files Browse the repository at this point in the history
  • Loading branch information
Anthony-Tafoya committed Sep 11, 2024
1 parent acb4007 commit 28ba7d7
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions nerfstudio/process_data/process_data_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@
"""Helper utils for processing data into the nerfstudio format."""

import math
import random
import re
import shutil
import sys
Expand Down
4 changes: 2 additions & 2 deletions nerfstudio/process_data/video_to_nerfstudio_dataset.py
Original file line number Diff line number Diff line change
Expand Up @@ -41,9 +41,9 @@ class VideoToNerfstudioDataset(ColmapConverterToNerfstudioDataset):
"""Feature matching method to use. Vocab tree is recommended for a balance of speed
and accuracy. Exhaustive is slower but more accurate. Sequential is faster but
should only be used for videos."""
random_seed: int = None
random_seed: Optional[int] = None
"""Random seed to select video frames"""
eval_random_seed: int = None
eval_random_seed: Optional[int] = None
"""Random seed to select video frames for eval set"""

def main(self) -> None:
Expand Down

0 comments on commit 28ba7d7

Please sign in to comment.