3DTopia / OpenLRM

An open-source impl. of Large Reconstruction Models
Apache License 2.0
972 stars 56 forks source link

How to fix "Cannot find valid data directory for uid" error? #34

Open JIK-2chaRa opened 7 months ago

JIK-2chaRa commented 7 months ago

All runs in virtual box Ubuntu linux

train_metadata.json val_metadata.json There is jsons with links to my dataset of png files . When I tried to start training model I have "Cannot find valid data directory for uid" error . It seems that trouble can be in links or config files that is provided downwards but I`m not sure

root_dirs: ./DATA_set/ meta_path: train: ./DATA_set/train_metadata.json val: ./DATA_set/val_metadata.json

Maybe there are some naming rules or something related to image tracking?

ZexinHe commented 7 months ago

Hi,

Plz prepare your data like this https://github.com/3DTopia/OpenLRM/issues/26#issuecomment-2011337658 and your meta file like this https://github.com/3DTopia/OpenLRM/issues/33#issuecomment-2031759272.

JIK-2chaRa commented 7 months ago

Hi! train_metadata.json val_metadata.json

Thank you for your help, I prepared the directories as you wrote and prepared jsons. Now there is a constant error with division by zero. In the past, it crashed at the stage of uploading a photo (but the data was prepared incorrectly there), but now with the prepared files, it does not seem to see the files. You don't know what it could be connected with ? attaching jsons

hayoung-jeremy commented 7 months ago

Hi @JIK-2chaRa , could you please tell me how you configured those json files? I'm very new to AI, don't know how to properly prepare data and run the training code. I've generated multi view images from Objaverse Rendering, but not sure how to deal with the rest. I've posted my question on thie issue . Could you please take a look at it when you have time? Thank you in advance!