Click here to Skip to main content
15,887,175 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more: (untagged)
09:26:15:Started Object Detection (YOLOv5 6.2) module
09:26:25:face.py: GPU in use: NVIDIA GeForce RTX 3050 Laptop GPU
09:26:25:face.py: Server connection error. Is the server URL correct?
09:26:26:detect_adapter.py: Server connection error. Is the server URL correct?
18:33:26:face.py: Server connection error. Is the server URL correct?
18:33:27:Face Processing:  [FileNotFoundError] : Traceback (most recent call last):
  File "C:\Program Files\CodeProject\AI\modules\FaceProcessing\intelligencelayer\face.py", line 160, in init_models
    cuda=SharedOptions.USE_CUDA)
  File "C:\Program Files\CodeProject\AI\modules\FaceProcessing\intelligencelayer\.\recognition\process.py", line 28, in __init__
    load_model(self.model, model_path)
  File "C:\Program Files\CodeProject\AI\modules\FaceProcessing\intelligencelayer\.\recognition\process.py", line 11, in load_model
    checkpoint = torch.load(path, map_location=lambda storage, loc: storage)
  File "C:\Program Files\CodeProject\AI\runtimes\bin\windows\python37\venv\lib\site-packages\torch\serialization.py", line 594, in load
    with _open_file_like(f, 'rb') as opened_file:
  File "C:\Program Files\CodeProject\AI\runtimes\bin\windows\python37\venv\lib\site-packages\torch\serialization.py", line 230, in _open_file_like
    return _open_file(name_or_buffer, mode)
  File "C:\Program Files\CodeProject\AI\runtimes\bin\windows\python37\venv\lib\site-packages\torch\serialization.py", line 211, in __init__
    super(_open_file, self).__init__(open(name, mode))
FileNotFoundError: [Errno 2] No such file or directory: 'C:\\Program Files\\CodeProject\\AI\\modules\\FaceProcessing\\assets\\facerec-high.model'
18:33:27:Face Processing:  [KeyError] : Traceback (most recent call last):
  File "../../SDK/Python\module_runner.py", line 503, in main_loop
    output = await callbacktask
  File "C:\Program Files\CodeProject\AI\runtimes\bin\windows\python37\lib\concurrent\futures\thread.py", line 57, in run
    result = self.fn(*self.args, **self.kwargs)
  File "C:\Program Files\CodeProject\AI\modules\FaceProcessing\intelligencelayer\face.py", line 135, in process
    message = output["error"]
KeyError: 'error'
18:33:27:Face Processing: Queue request for Face Processing command 'register' (...618275) took 600ms


What I have tried:

When I try to use the "
Face Registration
, it will have these error, I uninstall&install the codeproject still have this error
Posted
Updated 5-May-23 22:07pm

1 solution

There is a dedicated forum at CodeProject.AI Discussions[^]. Please post your question there.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900