Community
cancel
Showing results for 
Search instead for 
Did you mean: 
biraj__nikit
Beginner
436 Views

Cannot find alexnet_fp32.xml

Hi,

cannot find alexnet_fp32.xml in C:/Intel folder when I am trying to run 

./classification_sample -i <path_to_image>/cat.bmp -m <path_to_model>/alexnet_fp32.xml

Can see other .xml models.

Do we have to download from other source?

Thanks in advance.

0 Kudos
4 Replies
Monique_J_Intel
Employee
436 Views

Hi Nikit,

The  FP32 precision .xml file for AlexNet doesn't come in the package. However, we do have model downloader(c:\intel\computer_vision_sdk_2018.*\deployment_tools\model_dwonloader\) that will download the model and then you can convert it using the Model Optimizer(MO) command below to obtain the FP32 precision .xml file.

Downloader command:

python3 downloader.py --name alexnet

MO conversion:

python3 mo.py --input_model alexnet.caffemodel 

Kind Regards,

Monique Jones

 

biraj__nikit
Beginner
436 Views

Thanks for the post.

But when I initiated the command 

.\classification_sample.exe -i C:\Users\Admin\Desktop\image1.jpg -m C:\Intel\computer_vision_sdk_2018.4.420\deployment_tools\model_optimizer\alexnet.xml

I get nothing on command prompt. I won't see any classified image dumped or any pop up window opens.

Attaching file for your reference.

Thanks in advance.

wu__sunny
Beginner
436 Views

I have the same problem. Everything is okay but no output.

Truong__Dien_Hoa
New Contributor II
436 Views

I don't use window but I can confirm it works in ubuntu.

Output should be like below:

I have tested with .bmp and .png

Top 10 results:

Image /home/cat.png

285 0.5423567 label #285
281 0.1195140 label #281
282 0.0565354 label #282
330 0.0535832 label #330
356 0.0411474 label #356
278 0.0267688 label #278
333 0.0241656 label #333
280 0.0215378 label #280
298 0.0198837 label #298
904 0.0119953 label #904


total inference time: 41.3414165
Average running time of one iteration: 41.3414165 ms

Throughput: 24.1888180 FPS

[ INFO ] Execution successful

 

Reply