LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
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!

Notices


Reply
  Search this Thread
Old 02-10-2019, 09:57 PM   #1
Assi002
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 imageai.py
Using TensorFlow backend
.
2019-02-10 21:51:51.235940I tensorflow/core/platform/cpu_feature_guard.cc:141Your CPU supports instructions that this TensorFlow binary was not compiled to use: AVX2 FMA
Traceback 
(most recent call last):
  
File "imageai.py"line 9in <module>
    
detector.loadModel()
  
File "/home/zf77/Desktop/Python Object detection AI/imageai-2.0.2-py3-none-any/imageai/Detection/__init__.py"line 185in loadModel
    model
.load_weights(self.modelPath)
  
File "/home/zf77/.local/lib/python3.6/site-packages/keras/engine/network.py"line 1157in load_weights
    with h5py
.File(filepathmode='r') as f:
  
File "/home/zf77/.local/lib/python3.6/site-packages/h5py/_hl/files.py"line 394in __init__
    swmr
=swmr)
  
File "/home/zf77/.local/lib/python3.6/site-packages/h5py/_hl/files.py"line 170in make_fid
    fid 
h5f.open(nameflagsfapl=fapl)
  
File "h5py/_objects.pyx"line 54in h5py._objects.with_phil.wrapper
  File 
"h5py/_objects.pyx"line 55in h5py._objects.with_phil.wrapper
  File 
"h5py/h5f.pyx"line 85in h5py.h5f.open
OSError
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
rtmistler
Moderator
 
Registered: Mar 2011
Location: MA, USA
Distribution: MINT Debian, Angstrom, SUSE, Ubuntu, Debian
Posts: 7,367
Blog Entries: 12

Rep: Reputation: 2880Reputation: 2880Reputation: 2880Reputation: 2880Reputation: 2880Reputation: 2880Reputation: 2880Reputation: 2880Reputation: 2880Reputation: 2880Reputation: 2880
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:
Code:
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)
 
  


Reply


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

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 10:48 PM.

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