naver / kapture-localization

Provide mapping and localization pipelines based on kapture format
BSD 3-Clause "New" or "Revised" License
268 stars 42 forks source link

Unsupported copy action link_absolute #6

Closed ChengFengGu closed 3 years ago

ChengFengGu commented 3 years ago

Dear author:

While recode the custom localization pipeline using jupyter,

merged_kapture = merge_remap(
        kapture_data_list, skip_list, kapture_path_list, merged_path, images_import_strategy)

there has a error:

Unsupported copy action link_absolute

image

yocabon commented 3 years ago

Hi, From the error, I think you have a type error. images_import_strategy should be a TransferAction but I believe you are sending a string instead.

in merge_remap, make sure you have images_import_strategy=TransferAction.link_absolute and not images_import_strategy="link_absolute".

The import line is: from kapture.io.records import TransferAction