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

Invalid parameter - ERROR during training #29

Open
SouravG94-312 opened this issue May 9, 2020 · 3 comments
Open

Invalid parameter - ERROR during training #29

SouravG94-312 opened this issue May 9, 2020 · 3 comments

Comments

@SouravG94-312
Copy link

Hi, Hope you are doing well.
I am getting error as invalid parameter while executing the training.py. Could you please put some light here.
Thanks in advance.

python training.py --detector 4 --encoder 1 --classifier 1
Parameters: FaceDetectorModels.MTCNN FaceEncoderModels.OPENFACE FaceClassifierModels.LINEAR_SVM

Names ['Irfan', 'Sourav']
Irfan: ['1.jpg', '2.jpg', '3.jpg']
SO333572: ['1.jpg', '2.jpg', '3.jpg', '4.jpg', '5.jpg', '6.jpg']

Using TensorFlow backend.
2020-05-09 10:55:37.133718: W tensorflow/stream_executor/platform/default/dso_loader.cc:55] Could not load dynamic library 'cudart64_101.dll'; dlerror: cudart64_101.dll not found
2020-05-09 10:55:37.158365: I tensorflow/stream_executor/cuda/cudart_stub.cc:29] Ignore above cudart dlerror if you do not have a GPU set up on your machine.
Invalid parameter

@naushadck
Copy link

I am also getting same error. Parameters used given below
python3 training.py --detector 3 --encoder 3 --classifier 0
python3 training.py --detector 3 --encoder 3 --classifier 1

@naushadck
Copy link

Any solution for this error ?.........

@naushadck
Copy link

After long checking and investigation i found the solution for the "invalid parameter" issue in my environment..

There are some missing modules for contributed libraries.
So installed opencv-contrib-python again. --- pip3 install opencv-contrib-python.

Above step(opencv-contrib-python) installation updated the missing modules. And resolved my issue.....

The same may or may not help others....

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

2 participants