Xilinx / ml-suite

Getting Started with Xilinx ML Suite
https://aws.amazon.com/marketplace/pp/B077FM2JNS
Other
335 stars 152 forks source link

face detect app issue in U250 #98

Closed mahinlma closed 5 years ago

mahinlma commented 5 years ago

getting error while running face detect app in alveo-u250 :

Process Process-3: Traceback (most recent call last): File "/usr/lib64/python2.7/multiprocessing/process.py", line 258, in _bootstrap self.run() File "/usr/lib64/python2.7/multiprocessing/process.py", line 114, in run self._target(*self._args, **self._kwargs) File "mp_video.py", line 210, in detect_forward det = run_fpga.RunFPGA(param_str) File "/home/test/Mahi/ml/apps/face_detect/run_fpga.py", line 17, in init ret, handles = xdnn.createHandle(self._args["xclbin"], "kernelSxdnn_0") AttributeError: 'module' object has no attribute 'createHandle'

wilderfield commented 5 years ago

Try :

cd apps/face_detect

source ../../overlaybins/setup.sh

It should work. However, I remember it being a bit painful to get the video to display on the host using X11 forwarding between container and host os. However I know I ran it.

On Mon, Aug 19, 2019 at 2:34 AM Maheshwari Natarajan < notifications@github.com> wrote:

getting error while running face detect app in alveo-u250 :

Process Process-3: Traceback (most recent call last): File "/usr/lib64/python2.7/multiprocessing/process.py", line 258, in _bootstrap self.run() File "/usr/lib64/python2.7/multiprocessing/process.py", line 114, in run self._target(*self._args, *self._kwargs) File "mp_video.py", line 210, in detect_forward det = run_fpga.RunFPGA(param_str) File "/home/test/Mahi/ml/apps/face_detect/run_fpga.py", line 17, in init* ret, handles = xdnn.createHandle(self._args["xclbin"], "kernelSxdnn_0") AttributeError: 'module' object has no attribute 'createHandle'

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/Xilinx/ml-suite/issues/98?email_source=notifications&email_token=ADX4NJ25KMB3KGPMTLHPUGTQFJSLPA5CNFSM4IM3YBOKYY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4HF535WA, or mute the thread https://github.com/notifications/unsubscribe-auth/ADX4NJ64QKKYDIEYBTNKLNTQFJSLPANCNFSM4IM3YBOA .