We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
bevy_zeroverse/ffi/python/generate.py
Line 31 in cc0b173
from pathlib import Path import shutil from bevy_zeroverse_dataloader import BevyZeroverseDataset def generate_chunked_dataset( stage = "test", output_dir = Path("./data/zeroverse"), bytes_per_chunk = int(1e8), dataset = BevyZeroverseDataset( editor=False, headless=True, num_cameras=4, width=640, height=360, num_samples=10, ) ) -> list: if output_dir.exists(): shutil.rmtree(output_dir / stage) return dataset.chunk_and_save( output_dir / stage, bytes_per_chunk, n_workers=4, ) if __name__ == "__main__": # TODO: add cli arguments _data, chunk_paths = generate_chunked_dataset() print(f"chunks:\n{chunk_paths}")
The text was updated successfully, but these errors were encountered:
mosure
No branches or pull requests
bevy_zeroverse/ffi/python/generate.py
Line 31 in cc0b173
The text was updated successfully, but these errors were encountered: