Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
chanwutk committed Aug 10, 2023
1 parent 89f3733 commit f3a8834
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion spatialyze/video_processor/utils/get_tracks.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
def get_tracks(
sortmeta: "list[Tracking3DMetadatum]",
ego_meta: "list[CameraConfig]",
segment_mapping_meta: "list[SegmentTrajectoryMetadatum] | None",
segment_mapping_meta: "list[SegmentTrajectoryMetadatum] | None" = None,
base=None,
) -> "dict[str, list[tuple[Tracking3DResult, CameraConfig, SegmentPoint | None]]]":
trajectories: "dict[str, list[tuple[Tracking3DResult, CameraConfig, SegmentPoint | None]]]" = {}
Expand Down
8 changes: 4 additions & 4 deletions spatialyze/world.py
Original file line number Diff line number Diff line change
Expand Up @@ -91,10 +91,10 @@ def _execute(world: "World"):
database = world._database

# add geographic constructs
drop_tables(database)
create_tables(database)
for gc in world._geogConstructs:
gc.ingest(database)
# drop_tables(database)
# create_tables(database)
# for gc in world._geogConstructs:
# gc.ingest(database)
# analyze predicates to generate pipeline
objtypes_filter = ObjectTypeFilter(predicate=world.predicates)
pipeline = Pipeline([
Expand Down

0 comments on commit f3a8834

Please sign in to comment.