Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Highlighted
Beginner
209 Views

Installing and running Openvino in Ubuntu 18.04 Missing Test-generator

Guys

 

I have followed the Ubuntu 16.04 documentation (because there isn't any for 18.04) and get to testing squeezenet

 

Caffe specific parameters:
    - Enable resnet optimization:     True
    - Path to the Input prototxt:     /home/frank/openvino_models/models/FP32/classification/squeezenet/1.1/caffe/squeezenet1.1.prototxt
    - Path to CustomLayersMapping.xml:     Default
    - Path to a mean file:     Not specified
    - Offsets for a mean file:     Not specified
Model Optimizer version:     2019.1.1-83-g28dfbfd
[ ERROR ]  
Detected not satisfied dependencies:
    test-generator: not installed, required: 0.1.1

Please install required versions of components or use install_prerequisites script
/opt/intel/openvino_2019.1.144/deployment_tools/model_optimizer/install_prerequisites/install_prerequisites_caffe.sh
Note that install_prerequisites scripts may install additional components.
Error on or near line 202; exiting with status 1
 

I have run the install prerequisites script 3 times and the thing doesn't work.

 

How doI fix this please

 

Kind reagrds

 

Frank

0 Kudos
10 Replies
Highlighted
Beginner
209 Views

How does this help me?

There is a file missing

 

0 Kudos
Highlighted
Beginner
209 Views

processor       : 0
vendor_id       : GenuineIntel
cpu family      : 6
model           : 58
model name      : Intel(R) Core(TM) i7-3770 CPU @ 3.40GHz
stepping        : 9
microcode       : 0x21
cpu MHz         : 1679.003
cache size      : 8192 KB
physical id     : 0
siblings        : 8
core id         : 0
cpu cores       : 4
apicid          : 0
initial apicid  : 0
fpu             : yes
fpu_exception   : yes
cpuid level     : 13
wp              : yes
flags           : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx rdtscp lm constant_tsc arch_perfmon pebs bts rep_good nopl xtopology nonstop_tsc cpuid aperfmperf pni pclmulqdq dtes64 monitor ds_cpl vmx smx est tm2 ssse3 cx16 xtpr pdcm /proc/cpuinfo
 

0 Kudos
Highlighted
Employee
209 Views

Dear Domoney, William,

At this time, Ubuntu 18.04 is not supported by OpenVino. Some community members have gotten it working though. 

Thanks,

Shubha

 

0 Kudos
Highlighted
209 Views

Hi,

I run MO and DLDT on 18.04LTS without any issue. below is the run on SqueezeNet1.1 with FP32 datatype. please have a look and let me know the difference with your setup. I maybe able to duplicate your issue.

Regards

Farshad.


###################################################

  Model Name: squeezenet1.1
  Model Framework: caffe
  Target Precision: FP32


###################################################

    /usr/bin/python3 /opt/intel/openvino/dldt/tools/model_downloader/downloader.py --name squeezenet1.1 --output_dir temp

###############|| Start downloading models ||###############

...100%, 9 KB, 50684 KB/s, 0 seconds passed ========= squeezenet1.1.prototxt ====> temp/classification/squeezenet/1.1/caffe/squeezenet1.1.prototxt

###############|| Start downloading weights ||###############

...100%, 4834 KB, 4184 KB/s, 1 seconds passed ========= squeezenet1.1.caffemodel ====> temp/classification/squeezenet/1.1/caffe/squeezenet1.1.caffemodel

###############|| Start downloading topologies in tarballs ||###############


###############|| Post processing ||###############

========= Changing input dimensions in squeezenet1.1.prototxt =========
    /usr/bin/python3 /opt/intel/openvino/dldt/model-optimizer/mo.py --input_model /home/fakhbari/proj/dsl_pathfinding/models/squeezenet1.1/squeezenet1.1.caffemodel --scale 255.0 --mean_values [123.68,116.779,103.939] --output_dir /home/fakhbari/proj/dsl_pathfinding/models/ir/squeezenet1.1/FP32/ --data_type FP32
Model Optimizer arguments:
Common parameters:
        - Path to the Input Model:      /home/fakhbari/proj/dsl_pathfinding/models/squeezenet1.1/squeezenet1.1.caffemodel
        - Path for generated IR:        /home/fakhbari/proj/dsl_pathfinding/models/ir/squeezenet1.1/FP32/
        - IR output name:       squeezenet1.1
        - Log level:    ERROR
        - Batch:        Not specified, inherited from the model
        - Input layers:         Not specified, inherited from the model
        - Output layers:        Not specified, inherited from the model
        - Input shapes:         Not specified, inherited from the model
        - Mean values:  [123.68,116.779,103.939]
        - Scale values:         Not specified
        - Scale factor:         255.0
        - Precision of IR:      FP32
        - Enable fusing:        True
        - Enable grouped convolutions fusing:   True
        - Move mean values to preprocess section:       False
        - Reverse input channels:       False
Caffe specific parameters:
        - Enable resnet optimization:   True
        - Path to the Input prototxt:   /home/fakhbari/proj/dsl_pathfinding/models/squeezenet1.1/squeezenet1.1.prototxt
        - Path to CustomLayersMapping.xml:      Default
        - Path to a mean file:  Not specified
        - Offsets for a mean file:      Not specified
Model Optimizer version:        unknown version
[ WARNING ]
Detected not satisfied dependencies:
        protobuf: installed: 3.0.0, required: 3.6.1

Please install required versions of components or use install_prerequisites script
/opt/intel/openvino_2019_1.133/dldt_2019_R1.1/model-optimizer/install_prerequisites/install_prerequisites_caffe.sh
Note that install_prerequisites scripts may install additional components.

[ SUCCESS ] Generated IR model.
[ SUCCESS ] XML file: /home/fakhbari/proj/dsl_pathfinding/models/ir/squeezenet1.1/FP32/squeezenet1.1.xml
[ SUCCESS ] BIN file: /home/fakhbari/proj/dsl_pathfinding/models/ir/squeezenet1.1/FP32/squeezenet1.1.bin
[ SUCCESS ] Total execution time: 2.78 seconds.

0 Kudos
Highlighted
Beginner
209 Views

Thanks Shubba

That isn't what the marketing guy told me this morning

Hi Frank,

I just spoke to our OpenVINO Technical Consulting Engineer and she informs me that Ubuntu 18.04 is supported and has been since the start of the year.  Updates to our documentation and websites are lagging behind.  So you should be good to go.  Have you tried installing it on 18.04?

 

Thanks,

/Scott.

Could we perhaps get everyone in Intel singing off the same hymnsheet?

 

Kind regards

 

Frank

0 Kudos
Highlighted
Employee
209 Views

Dearest Domoney, William,

Maybe what the marketing guy meant is that people have gotten OpenVino working on Ubuntu 18.04 . As Farshad (and others in the OpenVino community) have showed, they've been successful with Ubuntu 18.04 .

But The OpenVino Linux Installation Doc makes it pretty clear:

Operating Systems

Ubuntu 16.04.x long-term support (LTS), 64-bit: Minimum supported kernel is 4.14

CentOS 7.4, 64-bit (for target only)

Yocto Project Poky Jethro v2.0.3, 64-bit (for target only and requires modifications)

Thanks,

Shubha

 

0 Kudos
Highlighted
Beginner
209 Views

thanks Farshad

 

###################################################

Convert a model with Model Optimizer

Run python3 /opt/intel/openvino_2019.1.144/deployment_tools/model_optimizer/mo.py --input_model /home/frank/openvino_models/models/FP32/classification/squeezenet/1.1/caffe/squeezenet1.1.caffemodel /home/frank/openvino_models/ir/FP32//classification/squeezenet/1.1/caffe --data_type FP32

Model Optimizer arguments:
Common parameters:
    - Path to the Input Model:     /home/frank/openvino_models/models/FP32/classification/squeezenet/1.1/caffe/squeezenet1.1.caffemodel
    - Path for generated IR:     /home/frank/openvino_models/ir/FP32//classification/squeezenet/1.1/caffe
    - IR output name:     squeezenet1.1
    - Log level:     ERROR
    - Batch:     Not specified, inherited from the model
    - Input layers:     Not specified, inherited from the model
    - Output layers:     Not specified, inherited from the model
    - Input shapes:     Not specified, inherited from the model
    - Mean values:     Not specified
    - Scale values:     Not specified
    - Scale factor:     Not specified
    - Precision of IR:     FP32
    - Enable fusing:     True
    - Enable grouped convolutions fusing:     True
    - Move mean values to preprocess section:     False
    - Reverse input channels:     False
Caffe specific parameters:
    - Enable resnet optimization:     True
    - Path to the Input prototxt:     /home/frank/openvino_models/models/FP32/classification/squeezenet/1.1/caffe/squeezenet1.1.prototxt
    - Path to CustomLayersMapping.xml:     Default
    - Path to a mean file:     Not specified
    - Offsets for a mean file:     Not specified
Model Optimizer version:     2019.1.1-83-g28dfbfd
[ ERROR ]  
Detected not satisfied dependencies:
    test-generator: not installed, required: 0.1.1

Please install required versions of components or use install_prerequisites script
/opt/intel/openvino_2019.1.144/deployment_tools/model_optimizer/install_prerequisites/install_prerequisites_caffe.sh
Note that install_prerequisites scripts may install additional components.
Error on or near line 202; exiting with status 1
 

0 Kudos
Highlighted
Beginner
209 Views

Aha

 

I manually installed Test-generator and the problem goes away.

pip install test-generator

0 Kudos
Highlighted
Beginner
209 Views

Dear Shubba and Farshad

 

Thank you so much for your help

 

Both the sample applications now run

 

On to the next application

 

Kind regards

 

Frank

0 Kudos
Highlighted
Employee
209 Views

Dear Domoney, William aka Frank,

Thanks kindly for reporting your findings to the community. This is a sharing community and we rely on each other to make progress on our projects. Thank you again and so glad that you fixed it - got OpenVino up and running on Ubuntu 18 !

Shubha

0 Kudos