Closed yujianxiang closed 5 years ago
Remove ``valid'' argument. Using python3 main.py demo
It gives out this error, when I use your commmand.
usage: main.py [-h] [--modelPath MODELPATH] [--showbox] func train_or_valid main.py: error: the following arguments are required: train_or_valid
Sorry. Please try python3 demo.py and make sure the model file in a current folder.
By using python3 demo.py, the camera can work but there are no emojis on the screen.
Using SPACE button to capture your current face.
Thanks for your reply, It worked. But when I use this command python3 main.py train to train it, there is an error.
usage: main.py [-h] [--modelPath MODELPATH] [--showbox] func train_or_valid main.py: error: the following arguments are required: train_or_valid
Then I test this one: python3 model.py train, also occurs an error:
Traceback (most recent call last):
File "model.py", line 162, in
Sorry. I have the same problem as you. I used python3 demo.py , and used SPACE, but I can't see emojis on the screen. I want to know why, thanks.
I tested python3 demo.py, this time I also did not see the emojis. I am so curious about this result, maybe we need the author's help.
I modified the code of program, it is easier to use than before. To run demo, just type:
python3 main.py
Please fetch the latest commit to try that. Thank you for your support.
When I use following command to do expression recognition, there is no emojis face. python3 main.py demo valid
system information: Ubuntu 16.04 Tensorflow 1.7 Opencv 3.4.0 Python 3.5