Skip to content

Commit

Permalink
Update mimicit_dataset.py
Browse files Browse the repository at this point in the history
  • Loading branch information
Luodian authored Dec 11, 2023
1 parent 3a74688 commit 8b38681
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pipeline/mimicit_utils/mimicit_dataset.py
Original file line number Diff line number Diff line change
Expand Up @@ -224,7 +224,7 @@ def __init__(self, args, dataset_info, task_group=""):
for batch in parquet_file.iter_batches(batch_size=1000): # Adjust batch_size as needed
batch_df = batch.to_pandas()
dfs.append(batch_df)
cur_df = pd.concat(dfs, ignore_index=True) # Concatenate all DataFrames
cur_df = pd.concat(dfs) # Concatenate all DataFrames
self.images.append(cur_df)
loaded_images_path.add(cur_images_path)
elif cur_images_path.endswith(".json"):
Expand Down

0 comments on commit 8b38681

Please sign in to comment.