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

The path to the download Objects #34

Open
lulcai opened this issue Mar 26, 2024 · 0 comments
Open

The path to the download Objects #34

lulcai opened this issue Mar 26, 2024 · 0 comments

Comments

@lulcai
Copy link

lulcai commented Mar 26, 2024

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
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

1 participant