facebook/FAI-PEP

Problems when running the experiment with docker

jinan-zhou opened this issue · 4 comments

When trying to run the experiment with docker for TFLite example, I encountered the following error:

+ python /tmp/FAI-PEP/benchmarking/run_bench.py -b /tmp/FAI-PEP/specifications/models/tflite/mobilenet_v2/mobilenet_v2_0.35_96.json --config_dir /tmp/config
usage: run_bench.py [-h] [--app_id APP_ID] [-b BENCHMARK_FILE] [--lab]
                    [--logger_level {info,warning,error}] [--remote]
                    --root_model_dir ROOT_MODEL_DIR [--token TOKEN]
                    [-c CUSTOM_BINARY] [--pre_built_binary PRE_BUILT_BINARY]
                    [--user_string USER_STRING]
run_bench.py: error: argument --root_model_dir is require

Does anyone know how to resolve this? Did I missed anything before running the example?

hl475 commented

I checked docker_tflite.sh, and I think root_model_dir is missing here. A quick solution is to add root_model_dir like this one into docker_tflite.sh file. Can you try that out to see if that could solve the problem? If so, it will be much appreciated if you can create a PR to fix this as well as the one in docker_pytorch.sh.

Right, please file a PR :) Thanks.

PR created. Thank you for your help!

hl475 commented

PR landed. Thanks again!