Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[URGENT] Missing Project Files! #31

Open
drac-0011 opened this issue Mar 5, 2022 · 5 comments
Open

[URGENT] Missing Project Files! #31

drac-0011 opened this issue Mar 5, 2022 · 5 comments

Comments

@drac-0011
Copy link

tensorflow.python.framework.errors_impl.InvalidArgumentError: Unsuccessful TensorSliceReader constructor: Failed to get matching files on models/pose_model\variables\variables: Not found: FindFirstFile failed for: models/pose_model/variables : The system cannot find the path specified.

I think you haven't provided all the necessary files required in the /models directory. I had to download a few separetely. But i'm not able to figure out the file mentioned in the above error

@dydean
Copy link

dydean commented Mar 7, 2022

Have you been able to fix the issue ?

@OlayinkaSoftware
Copy link

Hi Narender,

I am new to Python and I just downloaded this project for learning. After successfully creating a virtualenv and all necessary thing, I am stuck with this error. I have checked everywhere without solution:
**Traceback (most recent call last):
File "C:\Users\OLAYINKA.ADU\Desktop\Monitor\app.py", line 29, in

import camera
File "C:\Users\OLAYINKA.ADU\Desktop\Monitor\camera.py", line 292, in
face_model = get_face_detector()
File "C:\Users\OLAYINKA.ADU\Desktop\Monitor\face_detector.py", line 20, in get_face_detector
model = cv2.dnn.readNetFromCaffe(configFile, modelFile)
cv2.error: OpenCV(4.6.0) D:\a\opencv-python\opencv-python\opencv\modules\dnn\src\caffe\caffe_io.cpp:1138: error: (-2:Unspecified error) FAILED: fs.is_open(). Can't open "models\res10_300x300_ssd_iter_140000.caffemodel" in function 'cv::dnn::ReadProtoFromBinaryFile'

Sir, can you kindly assist me please

@Sonu-rgukt
Copy link

res10_300x300_ssd_iter_140000.caffemodel This file is available on the internet
just search this file name then you may get a git hub repository

@Sonu-rgukt
Copy link

tensorflow.python.framework.errors_impl.InvalidArgumentError: Unsuccessful TensorSliceReader constructor: Failed to get matching files on models/pose_model\variables\variables: Not found: FindFirstFile failed for: models/pose_model/variables : The system cannot find the path specified.

I think you haven't provided all the necessary files required in the /models directory. I had to download a few separately. But I'm not able to figure out the file mentioned in the above error

yes, I am also facing the same issue, did you resolve the issue?

@nugrohowidijatmiko
Copy link

tensorflow.python.framework.errors_impl.InvalidArgumentError: Unsuccessful TensorSliceReader constructor: Failed to get matching files on models/pose_model\variables\variables: Not found: FindFirstFile failed for: models/pose_model/variables : The system cannot find the path specified.

I think you haven't provided all the necessary files required in the /models directory. I had to download a few separetely. But i'm not able to figure out the file mentioned in the above error

File "C:\Users\asus\Documents\MyProctor4.venv\lib\site-packages\tensorflow\python\eager\execute.py", line 59, in quick_execute
tensors = pywrap_tfe.TFE_Py_Execute(ctx._handle, device_name, op_name,
tensorflow.python.framework.errors_impl.InvalidArgumentError: Unsuccessful TensorSliceReader constructor: Failed to get matching files on models/pose_model\variables\variables: Not found: FindFirstFile failed for: models/pose_model/variables : The system cannot find the path specified.
; No such process
[[node save/RestoreV2 (defined at c:\Users\asus\Documents\MyProctor4\face_landmarks.py:7) ]] [Op:__inference_pruned_14233]

Function call stack:
pruned

I also facing the same issue, did you resolve the issue?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants