Hi! Please help!
I have compiled a version of logodetect. Executed the logodetect init command . There are files in the models folder, but for some reason I get the following error:
logodetect image -i /home/kali/cybersquat/screenshots/http-31.31.205.163-80.png Traceback (most recent call last): File "/usr/local/bin/logodetect", line 33, in <module> sys.exit(load_entry_point('logodetect', 'console_scripts', 'logodetect')()) File "/home/kali/.local/lib/python3.7/site-packages/click/core.py", line 1128, in __call__ return self.main(*args, **kwargs) File "/home/kali/.local/lib/python3.7/site-packages/click/core.py", line 1053, in main rv = self.invoke(ctx) File "/home/kali/.local/lib/python3.7/site-packages/click/core.py", line 1659, in invoke return _process_result(sub_ctx.command.invoke(sub_ctx)) File "/home/kali/.local/lib/python3.7/site-packages/click/core.py", line 1395, in invoke return ctx.invoke(self.callback, **ctx.params) File "/home/kali/.local/lib/python3.7/site-packages/click/core.py", line 754, in invoke return __callback(*args, **kwargs) File "/home/kali/logodetect/Logodetect/logodetect/cli.py", line 64, in image recognizer = Recognizer(exemplars, config) File "/home/kali/logodetect/Logodetect/logodetect/recognizer.py", line 41, in __init__ ).Detector(config=self.config) File "/home/kali/logodetect/Logodetect/logodetect/detectors/faster_rcnn.py", line 25, in __init__ self.config.get("DETECTOR_DEVICE"), self.config.get("DETECTOR_WEIGHTS") File "/home/kali/logodetect/Logodetect/logodetect/detectors/__init__.py", line 47, in _binary_fasterrcnn_resnet50 checkpoint = torch.load(model_weights, map_location=device) File "/home/kali/.local/lib/python3.7/site-packages/torch/serialization.py", line 699, in load with _open_file_like(f, 'rb') as opened_file: File "/home/kali/.local/lib/python3.7/site-packages/torch/serialization.py", line 231, in _open_file_like return _open_file(name_or_buffer, mode) File "/home/kali/.local/lib/python3.7/site-packages/torch/serialization.py", line 212, in __init__ super(_open_file, self).__init__(open(name, mode)) FileNotFoundError: [Errno 2] No such file or directory: '/home/kali/.hkt/logodetect/models/detector.pth'
![изображение_2022-04-12_163249942](https://user-images.githubusercontent.com/8809149/162974100-7ae3486d-c8d3-43db-bb94-2489cab97bdb.png)
Whats wrong? Thanks!