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
{{ message }}
This repository has been archived by the owner on Sep 2, 2024. It is now read-only.
Thanks for the great work. Inside matching/feature_based/sample_matches.py the images are loaded by calling get_by_path method of the datasets.
However, the ImageDataset class does not have such an attribute, so this ends up with an error.
Replacing that with the _load_img method and applying ToTensor() on its output solved the issue for me.
For your notice.
Cheers!
The text was updated successfully, but these errors were encountered:
Hey, alongside replacing with the _load_img and applying torch.from_numpy(), I also needed to permute channels accordingly, and in the end make cpu detach in matching/feature_based/sample_matches.py. Below is my code:
Hello,
Thanks for the great work. Inside
matching/feature_based/sample_matches.py
the images are loaded by callingget_by_path
method of the datasets.However, the
ImageDataset
class does not have such an attribute, so this ends up with an error.Replacing that with the
_load_img
method and applyingToTensor()
on its output solved the issue for me.For your notice.
Cheers!
The text was updated successfully, but these errors were encountered: