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

ERROR: unknown command line flag 'alsologtostderr' #46

Closed
pablovela5620 opened this issue Aug 23, 2019 · 3 comments
Closed

ERROR: unknown command line flag 'alsologtostderr' #46

pablovela5620 opened this issue Aug 23, 2019 · 3 comments

Comments

@pablovela5620
Copy link

When I try to run object_detection_tflite using

bazel-bin/mediapipe/examples/desktop/object_detection/object_detection_tflite \
  --calculator_graph_config_file=mediapipe/graphs/object_detection/object_detection_desktop_tflite_graph.pbtxt \
  --input_side_packets=input_video_path=/path/to/input/file,output_video_path=/path/to/output/file \
  --alsologtostderr

I get the following error

ERROR: unknown command line flag 'alsologtostderr'

after having built it with bazel

The graph works no problem after removing --alsologtostderr but im not totally sure what was supposed to happen with that command

@mgyong
Copy link

mgyong commented Aug 25, 2019

@jiuqiant

@jiuqiant
Copy link
Contributor

pablovela5620@, does the following make sense to you?

GLOG_alsologtostderr=1  && 
bazel-bin/mediapipe/examples/desktop/object_detection/object_detection_tflite \
--calculator_graph_config_file=mediapipe/graphs/object_detection/object_detection_desktop_tflite_graph.pbtxt \
--input_side_packets=input_video_path=/path/to/input/file,output_video_path=/path/to/output/file

@pablovela5620
Copy link
Author

@jiuqiant
I see, yes that does make sense.
My confusion came from the README found under mediapipe/mediapipe/examples/desktop
Rather than the command you have provided the one I originally typed is shown. Thank you for clearing that up!

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

3 participants