victor-rong / GStex

The official repository for GStex: Per-Primitive Texturing of 2D Gaussian Splatting for Decoupled Appearance and Geometry Modeling
https://lessvrong.com/cs/gstex
Apache License 2.0
56 stars 0 forks source link

training problem #2

Closed asd351012 closed 13 hours ago

asd351012 commented 15 hours ago

I have my own trained 2D GS dataset. 11111111111111 222222222222222 ns-train gstex --pipeline.model.init-ply h2_zuo_6.3/point_cloud/iteration_30000/point_cloud.ply --pipeline.model.fix-init True --data data/h2_zuo_6.3 This is my training statement.
1729504997109 Do I need to convert the COLMAP data into the style of transforms.json?

victor-rong commented 13 hours ago

Yes, that's correct. The transforms.json is generated by nerfstudio's colmap_to_json function

from nerfstudio.process_data import colmap_utils
from pathlib import Path

def generate_transforms():
    colmap_utils.colmap_to_json(
        Path(f"./custom_scene/sparse/0"),
        Path(f"./custom_scene"),
        keep_original_world_coordinate=False,
    )