allenai / objaverse-xl

🪐 Objaverse-XL is a Universe of 10M+ 3D Objects. Contains API Scripts for Downloading and Processing!
https://objaverse.allenai.org/
Apache License 2.0
704 stars 40 forks source link

The path to the download Objects #34

Open lulcai opened 5 months ago

lulcai commented 5 months ago

I want to know where my downloaded Objects will be saved。 annotations = oxl.get_annotations( download_dir="/media/disk3/dataset/objaverse-xl/data_downloaded" # default download directory ) annotations

alignment_annotations = oxl.get_alignment_annotations( download_dir="/media/disk3/dataset/objaverse-xl/data_downloaded" # default download directory ) alignment_annotations

sampled_df = annotations.groupby('source').apply(lambda x: x.sample(25)).reset_index(drop=True)

print(sampled_df)

oxl.download_objects( objects=sampled_df, download_dir="/media/disk3/dataset/objaverse-xl/data_downloaded", processes=None, handle_found_object=None, handle_modified_object=None, handle_missing_object=None, save_repo_format=None, handle_new_object=None )

image
ouceduxzk commented 1 month ago

~/.objaverse is the default still