Skip to content

Commit 8b37284

Browse files
committed
fix: reassign downloaded metadata
1 parent 50cb94f commit 8b37284

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

mapswipe_workers/mapswipe_workers/utils/process_mapillary.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -266,7 +266,7 @@ def get_image_metadata(
266266
downloaded_metadata = spatial_sampling(downloaded_metadata, sampling_threshold)
267267

268268
if randomize_order is True:
269-
downloaded_metadata.sample(frac=1).reset_index(drop=True)
269+
downloaded_metadata = downloaded_metadata.sample(frac=1).reset_index(drop=True)
270270

271271
total_images = len(downloaded_metadata)
272272
if total_images > 100000:

0 commit comments

Comments
 (0)