-
Notifications
You must be signed in to change notification settings - Fork 55
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
get both keypoints and descriptors in one function call. #34
Comments
It is the task I am working on. I was thinking to write a python script and call subtask kps, ori and desc one by one. |
`
|
@coolbeam hey coolbeam, I am working on Lift now. Could you please send me the script you refered so that I can get both keypoints and descriptors in one function call. Thanks a lot for you help |
Hi, The code is provided in the previous reply. This is done by using os.system('command to call kp, ori and desc'). |
@ZhixiongSun , It is available by from subprocess import run to run several python scripts in a shell in order. |
Hello, thank you very much for sharing tf version of LIFT.
The question is:
In tester we got three possible subtasks for which of them we got model to download, many the functions in tester works taking in account config.subtask value.
So let`s say I want to obtain descriptors, then I should first launch tester with subtask=='kps' and get keypoints, then with subtask=='ori' and get them with orientations, and finally I should launch tester with subtask=='desc' and compute descriptors from image and keypoints from previous('ori') launch.
So I`ll need to reinitialize tester 3 times or at least tester.network and tester.subtask attributes.
Which is not handy.
Is there someway to obtain both keypoints and descriptor from one object via method call and without reinitializing tester few times in a row? Something like:
The text was updated successfully, but these errors were encountered: