-
Notifications
You must be signed in to change notification settings - Fork 3
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
Openvino : TypeError: __cinit__() got an unexpected keyword argument 'weights' #6
Comments
jangsiye
changed the title
Openvino
Openvino : TypeError: __cinit__() got an unexpected keyword argument 'weights'
Apr 13, 2022
Hi @jangsiye , |
@Etty-Cohen No, it has not been resolved. I am using another Face detector. T.T |
@jangsiye Thanks! |
same .. :( from openvino.inference_engine import IECore
from openvino.inference_engine import IENetwork
model = "models/blazeface"
# Loading the Inference Engine API
ie = IECore()
# Loading IR files
net = IENetwork(model=model + ".xml", weights=model + ".bin")
# Loading the network to the inference engine
exec_net = ie.load_network(network=net, device_name="CPU") Error File "/home/helen/class/opencv-blog/PyTorch_ONNX_OpenVINO/inference_openvino.py", line 43, in <module>
net = IENetwork(model=model + ".xml", weights=model + ".bin")
File "ie_api.pyx", line 1598, in openvino.inference_engine.ie_api.IENetwork.__cinit__
TypeError: __cinit__() got an unexpected keyword argument 'weights' |
Same error in here too. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hello, I'm inquiring because there was an error that I couldn't solve while testing your masking tool. The error is related to OPENVINO.
I read OPENVINO's document, but I couldn't understand why the typeerror error occurred.
The same error occurred when I changed processing_device to GPU.
This is my spac :
Thanks!
The text was updated successfully, but these errors were encountered: