wsperger / dataprepping_generative_ai Goto Github PK
View Code? Open in Web Editor NEWA one stop shop for all tools to prepare datasets for generative ai
A one stop shop for all tools to prepare datasets for generative ai
When attempting to run the face detection script on an image located at F:/testfolder/100022.jpg
, the following error occurs:
Using face_detection on F:/testfolder\100022.jpg
Traceback (most recent call last):
File "c:\Users\wolfg\Documents\GitHub\dataprepping\Images\labelling\main.py", line 65, in
main()
File "c:\Users\wolfg\Documents\GitHub\dataprepping\Images\labelling\main.py", line 60, in main
process_images_with_helpers(helpers)
File "c:\Users\wolfg\Documents\GitHub\dataprepping\Images\labelling\main.py", line 40, in process_images_with_helpers
helper_module.process_image(image_path)
File "C:\Users\wolfg\Documents\GitHub\dataprepping\Images/labelling/annotation_helpers\face_detection.py", line 57, in process_image
landmark_data = detect_faces(image_path)
^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\wolfg\Documents\GitHub\dataprepping\Images/labelling/annotation_helpers\face_detection.py", line 27, in detect_faces
subprocess.run(command, check=True, stdout=subprocess.PIPE, stderr=subprocess.PIPE)
File "C:\Users\wolfg\Documents\GitHub\dataprepping.conda\Lib\subprocess.py", line 548, in run
with Popen(*popenargs, **kwargs) as process:
^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\wolfg\Documents\GitHub\dataprepping.conda\Lib\subprocess.py", line 1026, in init
self._execute_child(args, executable, preexec_fn, close_fds,
File "C:\Users\wolfg\Documents\GitHub\dataprepping.conda\Lib\subprocess.py", line 1538, in _execute_child
hp, ht, pid, tid = _winapi.CreateProcess(executable, args,
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
FileNotFoundError: [WinError 2] The system cannot find the file specified
PS C:\Users\wolfg\Documents\GitHub\dataprepping>
c:\Users\wolfg\Documents\GitHub\dataprepping\Images\labelling\main.py
.python main.py
.The script should successfully detect faces in the image located at F:/testfolder/100022.jpg
and provide the expected output without errors.
The script encounters a FileNotFoundError
with the message [WinError 2] The system cannot find the file specified
when trying to execute a subprocess.
face_detection.py
script may not have the correct path to the required executable or file.100022.jpg
may not exist at the specified location F:/testfolder/
.face_detection.py
. Ensure that the path is correct and that the file exists.100022.jpg
exists at the specified location F:/testfolder/
.If available, provide any relevant screenshots or additional log information that can help diagnose the issue.
If there are any relevant links, documentation, or references related to this issue, please provide them here.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.