kerrj / lerf

Code for LERF: Language Embedded Radiance Fields
https://www.lerf.io/
MIT License
668 stars 65 forks source link

LERF fails with brandenburg-gate #10

Closed machenmusik closed 1 year ago

machenmusik commented 1 year ago

This works (Nerfacto) ns-train nerfacto --data data\phototourism\brandenburg-gate phototourism-data

This fails ns-train lerf --data data\phototourism\brandenburg-gate phototourism-data with

RuntimeError: Sizes of tensors must match except in dimension 0. Expected size 685 but got size 1028 for tensor number 1
in the list.
kerrj commented 1 year ago

We haven't tested this with other dataparsers than the nerfstudio dataparser, I'm not sure if the code is compatible with the phototourism dataset. Is it possible to use the standard nerfstudio dataset instead? If not there might need to be a bit of code to port over LERF dataloading into the phototourism dataparser(see lerf_datamanager.py)

kerrj commented 1 year ago

Closing this now, though integrating other dataparsers/datasets would be a nice future TODO