Skip to content

Windows Compatibility Issue with LibreFace [WinError 2, WinError 123] #15

Open
@vineet-channe

Description

@vineet-channe

I had contacted @ac-alpha about the error, who then told to raise an issue.

WinError 2 : “The system cannot find the file specified.”
WinError 123 : “The filename, directory name, or volume label syntax is incorrect.”

System Specs:

Operating System: Windows 11 Home 64-bit
CPU: Intel Core i9 14900KF, Raptor Lake 10nm Technology
GPU: LG HDR 4K (3840x2160@60Hz), 4083 MB NVIDIA GeForce RTX 4090 (ASUStek Computer Inc)
RAM: 64.0GB Unknown @ 2793MHz (36-36-36-68)

Relevant Dependencies & Versions:

Python : 3.8.0
torch : 2.0.0 with cu117 & cudnn 8.5.0 binaries
torchaudio : 2.0.1 with cu117 & cudnn 8.5.0 binaries
torchvision : 0.15.1 with cu117 & cudnn 8.5.0 binaries
mediapipe : 0.9.3.0
All the requirements from the “requirements_new.txt” have been installed as it is exactly using ‘pip install’

We tested it on our code too, which did not work after which we tested it on the code on the github in 'test_libreface.py'
specifically this part:

detected_facial_attributes = libreface.get_facial_attributes(file_path = "sample_disfa.avi",
output_save_path = "sample_results.csv",
temp_dir = "./temp",
device = "cpu")

Although with this code too the error still persists and the same one. The WinError 2 occurred at first while using the relative paths, so I shifted to absolute paths which then led to the WinError 123, after thoroughly checking and going through extensive debugging, checking the video I was using to test, testing different videos, yet I was not able to work out what the issue exactly is.

Could someone tell what the problem is exactly? As we believe LibreFace will superior in its generalizibilty compared to the other currently existing tools and we would love to use it as soon as possible.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions