Review your favorite Linux distribution.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 02-10-2019, 09:57 PM   #1
LQ Newbie
Registered: Aug 2018
Posts: 11

Rep: Reputation: Disabled
Unhappy Your CPU supports instructions that this TensorFlow binary was not compiled to use: AVX2 FMA

**Ubuntu 18.04**

I keep trying to run a python program and i get this:
PHP Code:
zf77@zf77:~/Desktop/Python Object detection AI/imageai-2.0.2-py3-none-anypython3
Using TensorFlow backend
2019-02-10 21:51:51.235940I tensorflow/core/platform/ CPU supports instructions that this TensorFlow binary was not compiled to use: AVX2 FMA
(most recent call last):
File ""line 9in <module>
File "/home/zf77/Desktop/Python Object detection AI/imageai-2.0.2-py3-none-any/imageai/Detection/"line 185in loadModel
File "/home/zf77/.local/lib/python3.6/site-packages/keras/engine/"line 1157in load_weights
    with h5py
.File(filepathmode='r') as f:
File "/home/zf77/.local/lib/python3.6/site-packages/h5py/_hl/"line 394in __init__
File "/home/zf77/.local/lib/python3.6/site-packages/h5py/_hl/"line 170in make_fid
File "h5py/_objects.pyx"line 54in h5py._objects.with_phil.wrapper
"h5py/_objects.pyx"line 55in h5py._objects.with_phil.wrapper
"h5py/h5f.pyx"line 85in
Unable to open file (unable to open filename '/home/zf77/Desktop/Python Object detection AI/imageai-2.0.2-py3-none-any/resnet50_coco_best_v2.0.1.h5'errno 2error message 'No such file or directory'flags 0o_flags 0
Old 02-11-2019, 06:52 AM   #2
Registered: Mar 2011
Location: USA
Distribution: MINT Debian, Angstrom, SUSE, Ubuntu, Debian
Posts: 8,456
Blog Entries: 13

Rep: Reputation: 3774Reputation: 3774Reputation: 3774Reputation: 3774Reputation: 3774Reputation: 3774Reputation: 3774Reputation: 3774Reputation: 3774Reputation: 3774Reputation: 3774
You've given little to no information about what led to this problem and less information about what you've tried to do to resolve this.

Perhaps this line is telling:
OSError: Unable to open file (unable to open file: name = '/home/zf77/Desktop/Python Object detection AI/imageai-2.0.2-py3-none-any/resnet50_coco_best_v2.0.1.h5', errno = 2, error message = 'No such file or directory', flags = 0, o_flags = 0)


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
LXer: LLVM Clang 3.4 SVN Compiler Tests With Core-AVX2 LXer Syndicated Linux News 0 09-23-2013 06:12 AM
LXer: GCC Core-AVX2 "Haswell" CPU Optimization Tests LXer Syndicated Linux News 0 09-01-2013 06:30 PM
LXer: More AVX2 Crypto Optimizations For Linux 3.11 LXer Syndicated Linux News 0 07-06-2013 12:24 AM
FMA chetan_linux Solaris / OpenSolaris 4 09-06-2011 08:20 AM
LXer: Foundational Model of Anatomy (FMA) Ontology Released as Open Source LXer Syndicated Linux News 0 11-17-2006 08:54 PM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 03:06 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration