|
56 | 56 | output_dir=(Path(args.bin_files_path) / "train_chunks").as_posix(), |
57 | 57 | num_workers=args.num_workers, |
58 | 58 | chunk_size=args.chunk_size, |
| 59 | + compression="zstd", |
59 | 60 | ) |
60 | 61 |
|
61 | 62 | ld.optimize( |
|
64 | 65 | output_dir=(Path(args.bin_files_path) / "val_chunks").as_posix(), |
65 | 66 | num_workers=args.num_workers, |
66 | 67 | chunk_size=args.chunk_size, |
| 68 | + compression="zstd", |
67 | 69 | ) |
68 | 70 |
|
69 | 71 | elif args.model_type == "centered_instance": |
|
85 | 87 | output_dir=(Path(args.bin_files_path) / "train_chunks").as_posix(), |
86 | 88 | num_workers=args.num_workers, |
87 | 89 | chunk_size=args.chunk_size, |
| 90 | + compression="zstd", |
88 | 91 | ) |
89 | 92 |
|
90 | 93 | ld.optimize( |
|
93 | 96 | output_dir=(Path(args.bin_files_path) / "val_chunks").as_posix(), |
94 | 97 | num_workers=args.num_workers, |
95 | 98 | chunk_size=args.chunk_size, |
| 99 | + compression="zstd", |
96 | 100 | ) |
97 | 101 |
|
98 | 102 | elif args.model_type == "centroid": |
|
112 | 116 | output_dir=(Path(args.bin_files_path) / "train_chunks").as_posix(), |
113 | 117 | num_workers=args.num_workers, |
114 | 118 | chunk_size=args.chunk_size, |
| 119 | + compression="zstd", |
115 | 120 | ) |
116 | 121 |
|
117 | 122 | ld.optimize( |
|
120 | 125 | output_dir=(Path(args.bin_files_path) / "val_chunks").as_posix(), |
121 | 126 | num_workers=args.num_workers, |
122 | 127 | chunk_size=args.chunk_size, |
| 128 | + compression="zstd", |
123 | 129 | ) |
124 | 130 |
|
125 | 131 | elif args.model_type == "bottomup": |
|
138 | 144 | output_dir=(Path(args.bin_files_path) / "train_chunks").as_posix(), |
139 | 145 | num_workers=args.num_workers, |
140 | 146 | chunk_size=args.chunk_size, |
| 147 | + compression="zstd", |
141 | 148 | ) |
142 | 149 |
|
143 | 150 | ld.optimize( |
|
146 | 153 | output_dir=(Path(args.bin_files_path) / "val_chunks").as_posix(), |
147 | 154 | num_workers=args.num_workers, |
148 | 155 | chunk_size=args.chunk_size, |
| 156 | + compression="zstd", |
149 | 157 | ) |
150 | 158 |
|
151 | 159 | else: |
|
0 commit comments