Closed agnyde closed 2 years ago
It seems like dependencies are not successfully installed
Is there a file named 'converter' in path below? {your working directory}/VectorBlox-SDK/vbx_env/bin/converter
if the converter file not exists, consider installing the dependencies again
best regard,
This should be simplified in release 1.3 (coming out this week). We will be using openvino-dev which provides mo (previously converter) and omz_downloader (previously downloader).
Please try 1.3 when released, and confirm it works in your VM.
Hello, thanks for your answers.
@LiiNen Yes, using the releasev1.2.1 there is a file named converter in this path: {your working directory}/VectorBlox-SDK/vbx_env/bin/converter but all tutorials don’t work correctly on my machine. The error is always Illegal instruction (core dumped) converter
@cirqueit Now I downloaded the last release 1.3 and:
Some tutorials, like onnx and caffe, run correctly.
But, tensorflow2 tutorials don’t’ work correctly, the error is:
llegal instruction (core dumped) python ../../saved_model_signature.py
Could the problem be related to some features of the host machine? Are there any other requirements? For example in the screenshot below there are proc/cpuinfo of my machine:
Best regard!
@LiiNen @cirqueit @vanjoe Hello, are there any updates regarding the issue above ? If it could be useful, I show you more precisely a case where python fails again with the message: llegal instruction (core dumped) this often happens when some python code is used. For example running the tutorial: tensorflow/yolo-v4-tiny-tf execution crashs at line 28 where there is this command: python $DOWNLOAD_DIR/keras-YOLOv3-model-set/tools/model_converter/convert.py $DOWNLOAD_DIR/keras-YOLOv3-model-set/cfg/yolov4-tiny.cfg $DOWNLOAD_DIR/yolov4-tiny.weights yolo-v4-tiny.h5 the error is always: Illegal instruction (core dumped) I am attaching a screenshot about some errors details too:
This is likely due to tensorflow not being able to run on your machine (often due to AVX instructions?). You may need to build tensorflow from source.
Run python -c "import tensorflow"
to see if thats your issue
@agnyde Hi, sorry for late response of your mention.
I'm not sure about your problem, so VectorBlox developers might know. One thing I can advise you is using the previous version. Although the problems were not same, I also had trouble when I testing the board. When I use the previous version of source code, that problems were solved.
The commit hash which I used is below: 30b9c2815dae7c098e057a57c2656809d3ded03e
If you struggle yet, how about trying the previous version? This may not be the solution, but I think it worth it. Best regards,
Hello, thanks for your answers. @LiiNen tensorflow core-dumped problem persists in all versions of source code. @cirqueit as you correctly pointed out the problem is the import of tensorflow, because AVX instructions are not supported on my machine. I tried to build tensorflow from source following this tutorial: https://gist.github.com/kmhofmann/e368a2ebba05f807fa1a90b3bf9a1e03 without success. So at the moment it seems that tensorflow cannot be used on vbx_enx if AVX istructions are not supported. Do you have any other suggestions? Thanks
Tensorflow is required when converting TF graphs into OpenVINO. If TF graphs are important, I would either stay trying to get a version of tensorflow built and installed in your env or enable AVX instructions in your virtual box VM as discussed here
The rest of the flow does not use TF.
Hi, my set up is a VM Ubuntu 20.04x64 (kernel 5.13.0-28-generic). VirtualBox version is 6.1.32.
I try to run some tutorials in vbx environment, but I always have the same error. I followed the guide instructions, I run install_dependencies.sh and source setup_vars.sh and then in the tutorial folder I try to run mobilenet-v1-1.0-224-tf.sh and I have these two warnings and the core dumped error:
So no results are generated, what could be the problem? Best regard