You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
As I am working on map change detection (including TbV code), I encounter the problem on SynchronizationDB class. (line 123)
for log_fpath in log_fpaths:
log_id = Path(log_fpath).name
self.per_log_cam_timestamps_index[log_id] = {}
for cam_name in list(RingCameras) + list(StereoCameras):
**sensor_folder_wildcard** = f"{dataset_dir}/{log_id}/sensors/cameras/{cam_name}/*.jpg"
cam_timestamps = get_timestamps_from_sensor_folder(sensor_folder_wildcard)
self.per_log_cam_timestamps_index[log_id][cam_name] = cam_timestamps
sensor_folder_wildcard = f"{dataset_dir}/{log_id}/sensors/lidar/*.feather"
lidar_timestamps = get_timestamps_from_sensor_folder(sensor_folder_wildcard)
self.per_log_lidar_timestamps_index[log_id] = lidar_timestamps
This code is from SynchronizationDB's init method.
In the second for loop, it is extracting constant values of RingCameras and StereoCameras and assign it to sensor_folder_wildcard variable. And RingtCamera and StereoCameras class constant looks like this:
from enum import Enum, unique
@unique
class RingCameras(str, Enum):
"""Ring Camera names."""
RING_REAR_LEFT = "ring_rear_left"
RING_SIDE_LEFT = "ring_side_left"
RING_FRONT_LEFT = "ring_front_left"
RING_FRONT_CENTER = "ring_front_center"
RING_FRONT_RIGHT = "ring_front_right"
RING_SIDE_RIGHT = "ring_side_right"
RING_REAR_RIGHT = "ring_rear_right"
@unique
class StereoCameras(str, Enum):
"""Stereo camera names."""
STEREO_FRONT_LEFT = "stereo_front_left"
STEREO_FRONT_RIGHT = "stereo_front_right"
So, sensor_folder_wildcard variable should have directory and jpg name like this:
Hello, Thank you for your great work!
As I am working on map change detection (including TbV code), I encounter the problem on SynchronizationDB class. (line 123)
This code is from SynchronizationDB's init method.
In the second for loop, it is extracting constant values of RingCameras and StereoCameras and assign it to sensor_folder_wildcard variable. And RingtCamera and StereoCameras class constant looks like this:
So, sensor_folder_wildcard variable should have directory and jpg name like this:
because when I download the dataset from Argoverse2 User Guide Script (https://argoverse.github.io/user-guide/getting_started.html#downloading-the-data) from Download the Dataset section, the folder directories look like this:
However, actual result of sensor_folder_wildcard variable is
So, SynchronizationDB class does not hold any camera img directory value in the dictionary.
Is this something that was updated that I was not able to catch?
the problem can be solve by changing
to
However, I am wonder I can just change it by myself and it might cause another error on other side.
These are list of packages that I installed on the conda env
Thank you!!!!
The text was updated successfully, but these errors were encountered: