Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Final dataset is 0 frames #3573

Open
ariannaferraris opened this issue Jan 17, 2025 · 2 comments
Open

Final dataset is 0 frames #3573

ariannaferraris opened this issue Jan 17, 2025 · 2 comments

Comments

@ariannaferraris
Copy link

Hello everyone,

I’ve been trying for the past few days to convert my data extracted from Metashape to the nerfstudio format, but I’ve been always running into the same issue and I’m not really able to solve it.
My folder is called NS0004_Philipp and it contains an “images” folder, with all of the frames I need, and a cameras.xml file.
The “images” folder was extracted from Metashape through File -> Export -> Convert Images, while the cameras.xml was extracted from Metashape through File -> Export -> Export Cameras.

However, when I run the following command ns-process-data metashape --data data\NS0004_Philipp\images --xml C:\app\NerfStudio\data\NS0004_Philipp\cameras.xml --output-dir data\NS0004_Philipp_output the output I get is always the same:

Image

The output folder gets created, but the transform.json file is practically empty:

Image

Image

For reference, I'm using a setup with 42 cameras and my cameras.xml file looks like this:

Image

Image

@basilbatov
Copy link

Hi @ariannaferraris
I'm also facing the same issue. Did you happen to find the solution?
Many thanks

@basilbatov
Copy link

basilbatov commented Feb 18, 2025

For my case I managed to solve my issue by appending the --verbose flag to the ns-process-data command (suggested in #1634) which showed me that the images were of an unsupported apsect ratio, so I just used the original images not exported through metashape.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants