Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can we train XFeat on a custom dataset? #42

Open
blackmamba-ops opened this issue Jul 31, 2024 · 3 comments
Open

Can we train XFeat on a custom dataset? #42

blackmamba-ops opened this issue Jul 31, 2024 · 3 comments

Comments

@blackmamba-ops
Copy link

No description provided.

@guipotje
Copy link
Collaborator

guipotje commented Aug 6, 2024

Hi @blackmamba-ops, yes, it is possible to train XFeat on a custom dataset. You just need to adapt the dataloader for your dataset.

@Lannist
Copy link

Lannist commented Aug 9, 2024

Hi @blackmamba-ops, yes, it is possible to train XFeat on a custom dataset. You just need to adapt the dataloader for your dataset.

How should I create this dataset, any Tutorial?

@guipotje
Copy link
Collaborator

All you need is to construct a data loader that delivers a correspondence map in the form xy_source (N,2) and xy_target (N,2), where each i-th line in the first set is the source pixel coordinates that corresponds to the i-th target pixel. This can be obtained via homography for synthetic training, or depth maps / dense optical flow. Here is the exact line where the code expects this correspondence map.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants