OpenGlue
OpenGlue copied to clipboard
problem
Hello, I have encountered some unknown errors in the process of reproduction. I can't solve them personally. I want to ask you about the problem. The command I entered is as follows. python inference. py --image0_ path '/home/ch/OpenGlue-main1/OpenGlue-main/freiburg/1341847980.722988.png' --image1_ path '/home/ch/OpenGlue-main1/OpenGlue-main/freiburg/1341847981.726650.png' --experiment_ path '/home/ch/OpenGlue-main1/OpenGlue-main/freiburg' --checkpoint_ name '/home/ch/OpenGlue-main1/OpenGlue-main/freiburg/openglue-SIFT-rotation. ckpt' --output_ dir 'results.png' The error message displayed is as follows:
File "inference.py", line 99
def __ init__ (self, local_feature: nn.Module, matcher: nn.Module, match_config: Dict = {}) -> None:
^
SyntaxError: invalid syntax