Giter VIP home page Giter VIP logo

oaid / tensorflow-hrt Goto Github PK

View Code? Open in Web Editor NEW
37.0 37.0 21.0 322.02 MB

Heterogeneous Run Time version of TensorFlow. Added heterogeneous capabilities to the TensorFlow, uses heterogeneous computing infrastructure framework to speed up Deep Learning on Arm-based heterogeneous embedded platform. It also retains all the features of the original TensorFlow architecture which users deploy their applications seamlessly.

License: Apache License 2.0

Python 43.55% C++ 49.76% C 0.45% Shell 0.59% LLVM 0.01% CMake 0.31% Java 0.78% Jupyter Notebook 2.84% Makefile 0.07% Objective-C 0.01% Objective-C++ 0.11% Ruby 0.01% PHP 0.01% Go 1.47% Perl 6 0.01% Perl 0.01% PureBasic 0.04% Batchfile 0.01%
arm arm-compute-library arm-gpu arm-neon artificial-intelligence cnn dnn machine-learning tensorflow

tensorflow-hrt's People

Contributors

fengzi0 avatar umewang avatar xhbdahai avatar xifengcun avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

tensorflow-hrt's Issues

compile and build on firefly 3399

I can compile tensorflow and ComputeLibrary on firefly3399.
Is there any good reason to use cross compiler instead of native compiler on firefly 3399?
Do you provide an instruction how to compile/build on firefly?

Thanks,

AttributeError: module 'tensorflow.python.ops.control_flow_ops' has no attribute 'case'

Hi there, I have issue when running tfexample_decoder with errors like this:
AttributeError: module 'tensorflow.python.ops.control_flow_ops' has no attribute 'case'
I am learning TFOD while facing this issue.
I have checked the .py, the error occurs in line 453:

image = control_flow_ops.case(
pred_fn_pairs, default=check_jpeg, exclusive=True)

I have tried to import case but it doesn't seem working as well. Pls HALP!

Error during import tensorflow: cannot find module libarm_compute.so

Hello I have successfully compiled tensorflow using the ACL libraries but when I try to import tensorflow in python it gives me the error shown below.
NOTE- I have build the compute libraries using scons and also copied the so files.
PLease help, Thanks.

import tensorflow
Traceback (most recent call last):
File "", line 1, in
File "/home/shunya/.local/lib/python2.7/site-packages/tensorflow/init.py", line 24, in
from tensorflow.python import *
File "/home/shunya/.local/lib/python2.7/site-packages/tensorflow/python/init.py", line 49, in
from tensorflow.python import pywrap_tensorflow
File "/home/shunya/.local/lib/python2.7/site-packages/tensorflow/python/pywrap_tensorflow.py", line 73, in
raise ImportError(msg)
ImportError: Traceback (most recent call last):
File "/home/shunya/.local/lib/python2.7/site-packages/tensorflow/python/pywrap_tensorflow.py", line 58, in
from tensorflow.python.pywrap_tensorflow_internal import *
File "/home/shunya/.local/lib/python2.7/site-packages/tensorflow/python/pywrap_tensorflow_internal.py", line 28, in
_pywrap_tensorflow_internal = swig_import_helper()
File "/home/shunya/.local/lib/python2.7/site-packages/tensorflow/python/pywrap_tensorflow_internal.py", line 24, in swig_import_helper
_mod = imp.load_module('_pywrap_tensorflow_internal', fp, pathname, description)
ImportError: libarm_compute.so: cannot open shared object file: No such file or directory

Failed to load the native TensorFlow runtime.

bazel build issue about missing dependency

Hi ,
I encounter an error as below:

WARNING: /root/tensor/TensorflowOnACL/tensorflow/core/BUILD:1801:1: in includes attribute of cc_library rule //tensorflow/core:framework_headers_lib: '../../external/nsync/public' resolves to 'external/nsync/public' not below the relative path of its package 'tensorflow/core'. This will be an error in the future. Since this rule was created by the macro 'cc_header_only_library', the error might have been caused by the macro implementation in /root/tensor/TensorflowOnACL/tensorflow/tensorflow.bzl:1108:30.
INFO: Found 2 targets...
ERROR: /root/.cache/bazel/_bazel_root/2da36ef82fb77f079bcdce53284e6d71/external/png_archive/BUILD.bazel:8:1: undeclared inclusion(s) in rule '@png_archive//:png':
this rule is missing dependency declarations for the following files included by 'external/png_archive/png.c':
'/usr/lib/gcc/aarch64-linux-gnu/5/include-fixed/limits.h'
'/usr/lib/gcc/aarch64-linux-gnu/5/include-fixed/syslimits.h'
'/usr/lib/gcc/aarch64-linux-gnu/5/include/stddef.h'
'/usr/lib/gcc/aarch64-linux-gnu/5/include/stdarg.h'.

can you give some comments on this error?
I build the project on aarch-arm64, without GPU support.

thanks,
Joy

How Can I build TensorFlowOnACL for Android

I need build libtensorflow_cc.so for android system which platform is arm64-v8a, and using TensorFlow c++ API in Android native code. How I can do it.
ARM Compute Library is already built for Android. but libtensorflow_cc.so can't build successful.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.