TensorFlow Lite for Android (Coding TensorFlow)

Поделиться
HTML-код
  • Опубликовано: 7 ноя 2024

Комментарии • 82

  • @mbonuchinedu2420
    @mbonuchinedu2420 4 года назад +9

    Please we need videos on how to convert tensorflow models to lite versions. That's the major problem.

  • @heller4196
    @heller4196 5 лет назад +2

    I've been watching Laurence Moroneys courses, tutorials on deep learning for a year now and the one thing he always says is : "Which is really as simple as that".

  • @victorkibiwot8047
    @victorkibiwot8047 3 года назад +3

    The link to Tensor Lite Demo for android is not working

  • @objectobjectobject4707
    @objectobjectobject4707 3 года назад

    good example in the function that converts bitmap to ByteBuffer and to IMG data,kind of fun that we are giving the labels and at the end we could use distance function to calculate the nearest labels to the output(if this makes sense).

  • @anilvutube1
    @anilvutube1 5 лет назад +3

    The downloaded model has a "tflite" extension but the model being used in the android app seems to have ".lite" extension. How do you convert .tflite to .lite or are they interchangeable?

  • @TubeTubeTati
    @TubeTubeTati 6 лет назад +4

    I downloaded that file, unzipped. there is no labels.txt file inside. please help.

  • @surajtamrakar4455
    @surajtamrakar4455 4 года назад +3

    #askTensorflow: the github links does not work. Could you look into it

  • @SnowmansApartment
    @SnowmansApartment 4 года назад

    Awesome, i‘m fairly new to programming and just lernt flutter. Currently looking for a way to program something like the quick select tool in photoshop, to get the borders of specific objects which i select in a picture. Is TF Lite a good way to do that, as the objects are quite similar or should i obt for something like GrabCut in OpenCV instead?

  • @isaiasprestes
    @isaiasprestes 6 лет назад +37

    I fell that soon I will love TF more than my wife! :) Great news!

    • @pandeysatish
      @pandeysatish 6 лет назад +1

      That's surprising... but it feels great to hear being a developer.

  • @Developershotss
    @Developershotss 6 лет назад +1

    Please make a video on object detection.

  • @scyyyy
    @scyyyy 5 лет назад

    Is there a way to get more information than just a list of objects? Like the position of the detected element would be nice.

  • @chiragprajapati6312
    @chiragprajapati6312 5 лет назад +2

    #AskTensorflow: How do i implement this in React-Native APP any blog suggestion or any thing??

  • @AKA-VX
    @AKA-VX 6 лет назад +3

    Unable to resolve dependency for ':app@releaseUnitTest/compileClasspath': Could not resolve org.tensorflow:tensorflow-lite:+.

    • @mahatanweer4728
      @mahatanweer4728 3 года назад

      Did it resolve? Facing the same trouble here:((

  • @suneshpamuru9612
    @suneshpamuru9612 5 лет назад

    I am planning to use TFLite C++ API from a C++ library. This C++ library is going to be used by Android Java application through JNI. Can you please let me know any sample code to get started?

    • @parimalarenga92
      @parimalarenga92 5 лет назад

      what kink of application interpreter or compiler app you advice to using tesorflow lite in android like qpython

  • @naveenkumara4641
    @naveenkumara4641 5 лет назад +1

    i developed object detection android app using predefined mobilenet tflite model. Now I have developed own tflite model but its not get integrate to android. Please help me to how to build the model that should suitable for android environment.
    Thanks in advance.

  • @tech-talks-with-shakeel0346
    @tech-talks-with-shakeel0346 4 года назад

    how to deploy my own text classification model to android ??
    As the way to deploy my model is the same that you described in the video?

  • @ejhenrriquezs
    @ejhenrriquezs 2 месяца назад

    I want to learn, I am a beginner from Venezuela with no memory but I want to study this program to learn how it can help me, a country in crisis

  • @albertwesker2050
    @albertwesker2050 5 лет назад

    What if I don't want to recognize WHAT the image is, but rather than an item is an item? I.E. you take some toys and set them on the floor. The camera captures the scene ( live display) and displays it with the items having squares around the objects. Simply recognizing something is an object/ item rather than know WHAT the item is. I am asking this because I am working on a project that just needs to know something is an item rather than a specific item.

  • @IronBat
    @IronBat 3 года назад

    How to store that image classification data into the internal storage of phone?

  • @gloirakim1158
    @gloirakim1158 4 года назад

    This video is so easy to understand! Thank you for sharing this video with us. :)

    • @networkid4642
      @networkid4642 3 года назад

      can you re-explain it to me please? :(

  • @nawalhamed6394
    @nawalhamed6394 4 года назад

    Hi, If I have .pb model file and I want to convert it to .h5 can I do that? also can I use faster rcnn model with website?

  • @hanweijie8092
    @hanweijie8092 5 лет назад

    How do you change the code from back-camera to front-camera?

  • @kkjc
    @kkjc 6 лет назад

    Hi Laurence!
    Thanks for sharing.
    Did you plan to also add a Python API to the TensorFlow Lite Architecture?

    • @shubhamsrivastava4403
      @shubhamsrivastava4403 6 лет назад +1

      what is need of python API in tensor flow Lite, if it is for mobile platform. It would increase the size unnecessarily

    • @kkjc
      @kkjc 6 лет назад +2

      So, it is your choice regarding this constraint.
      Indeed, there are some tutos about the subject but the method seems to be very unstable. That is the reason for my question before moving deeper on.
      In conclusion, it would be necessary to master JavaME to build a very customized and optimized mobile app (professional apps) on machine learning models, using TensorFlow Lite.

    • @shubhamsrivastava6590
      @shubhamsrivastava6590 6 лет назад

      Hi inside tensorflow/contrib/lite/ i have seen interpreter.py file. So think it may support Python api also

    • @shubhamsrivastava6590
      @shubhamsrivastava6590 6 лет назад +1

      currently i am looking to make changes in the cpp files that contains the implementation of native java methods and after that we can build it using bazel and use the .so files in android studio for making custom apps.

    • @kkjc
      @kkjc 6 лет назад +1

      OK, great!
      Thank you Shubham Srivastava.

  • @wasgeht2409
    @wasgeht2409 6 лет назад

    i did exactly the same as in the description , set the variable nativeBuildSystem='none' in build.gradle and it didn't work at my smartphone. The error is " Execution failed for task ':compileDebugJavaWithJavac'. Unable to find source java class: ......../Constant.java because it doesn't belong to any of the source dirs:.....".

  • @gmjelle
    @gmjelle 6 лет назад +4

    #askTensorflow: is it possible to use Dart/Flutter with Tensorflow?

    • @codeamans9167
      @codeamans9167 6 лет назад +1

      github.com/kashifmin/flutter_tensorflow_lite

    • @manthanpatel779
      @manthanpatel779 5 лет назад

      @@codeamans9167is that have support for keras??

    • @geld5220
      @geld5220 4 года назад

      can you deploy this to the app store? SDK issues arises when I try to release my app with tensorflow lite with flutter. Its failing on device Huawei p8. I had to to downgrade to sdk 24 which failed other dependencies and plugins. Anyone had a sort of same experience?

  • @juanpablooberhauser4035
    @juanpablooberhauser4035 4 года назад

    This is a very informative video. Has anyone figured out how to run these models from an external webcam in Android (for further range detections for example)?

  • @stevemuland8685
    @stevemuland8685 6 лет назад

    please, How i can i create an instance of a tensorflow interpreter on android studio 3.1.1 because the one you show does not work

  • @Otonium
    @Otonium 6 лет назад

    How do I know if a phone model has hardware acceleration instead of cpu?

  • @potobill
    @potobill 6 лет назад

    Can we already convert RNN/LSTM to tensorflow lite? I have TF 1.8.0, and I always get an error when I try to convert my LSTM graph

  • @rohan4748
    @rohan4748 6 лет назад +1

    I used compile 'org.tensorflow:tensorflow-lite:+' and i got this error Failed to resolve: org.tensorflow:tensorflow-lite:+ Could you please help me.

    • @utkarshkolhe
      @utkarshkolhe 6 лет назад

      there are 2 build gradle. Make sure to add in Module App and not in Project

  • @hotagu4187
    @hotagu4187 3 года назад +2

    LINKS ARE DEAD

  • @康志文-k4p
    @康志文-k4p 4 года назад

    When Text classification can support Chinese ?

  • @ericcute6471
    @ericcute6471 5 лет назад

    Hello. Thanks for your videos. Can you help me on how to save the detected object from a live feed and automatically save it as .jpg file whenever a specific object is detected e.g. Person and at the same time, it saves into .CSV file which contains “Person” as text? Thank you in advance.

  • @wasgeht2409
    @wasgeht2409 6 лет назад

    WE NEED MOREEEEE !!!!

  • @fuggles2544
    @fuggles2544 5 лет назад

    Thanks Laurence, that's a great introduction.

  • @tanmaydeshpande2409
    @tanmaydeshpande2409 4 года назад

    How to use TENSORFLOW LITE on ATMEGA 328p IC for OBJECT DETECTION?

    • @itstimeforpopping3462
      @itstimeforpopping3462 Год назад +1

      It's impossible bro but you can run Tensorflow lite on a smartphone that communicate with your ATMEGA IC through Bluetooth /WIFI Module Adapter, or USB

    • @tanmaydeshpande2409
      @tanmaydeshpande2409 Год назад

      @@itstimeforpopping3462 Thanks for the reply!

  • @m0n024
    @m0n024 6 лет назад

    how can i create my own tflite model

  • @sunil-khatri
    @sunil-khatri 4 года назад

    Tensorflow is best. 🔥🔥

  • @frankynakamoto2308
    @frankynakamoto2308 5 лет назад

    Why donot they make an easy adaption that can just be copy and paste specifically design to do certain functions only, like arranging, learning, etc

  • @themonkeyminds7252
    @themonkeyminds7252 6 лет назад

    #AskTensorflow: how can we RUn and install tensorflow in raspberry pi &beaglebone & other embedded systems ??

  • @josediogo4701
    @josediogo4701 6 лет назад +2

    Great app, testing it #Brazil

  • @viharipinnenti3798
    @viharipinnenti3798 5 лет назад

    How can we retrain the model for voice recognition in android

    • @blahchop
      @blahchop 5 лет назад

      There are probably some pre-trained models out there somewhere for this. You would need a lot of data. To get started you would need some audio files of a large range of voices. Then you would need a lot of audio files that aren't voices. Then you could either train your model using images of a spectrogram you would have to create for each audio file or use the waveform of the frequencies over the time (duration of the file). You could write a program to randomly generate different frequencies/duration off of one audio file (common frequencies within human speaking range) as well. Then use those randomly generated forms of that one audio file to train against non voice files. Then do as they showed in this video. Import the model into Android Studio or whatever IDE. Then in your actual app you would need to use data coming from the microphone and you would probably have to apply filters or use some built in features to clean it up. You feed that waveform data into your model and get your output. It would be much easier and faster if you trained the model to only recognize people saying specific words.

  • @vijaysaiisanengineer
    @vijaysaiisanengineer 6 лет назад

    I'm trying to classify a image that's picked from device storage and the accuracy is 1/10th (0.01-0.3) of the original implementation. Any suggestions on how to go about this ?
    stackoverflow.com/questions/49954439/low-accuracy-with-static-image-on-tflite-demo-model

  • @annauniversity3189
    @annauniversity3189 Год назад

    The page has no data if anyone rind this comment pls mention the updated info

  • @johnyandroid8042
    @johnyandroid8042 5 лет назад

    HOW TO DETECT BUBBLES IN OMR SHEET WITH TENSOR FLOW....PLEASE HELP

  • @Sposhal
    @Sposhal 5 лет назад +1

    Where is the github Link sir

  • @ronaldalcantara6165
    @ronaldalcantara6165 4 года назад

    does anyone know where it is inserted: import org.tensorflow.lite.Interpreter?

    • @rishabhtyagi2379
      @rishabhtyagi2379 4 года назад

      The file where you will use Interpreter instance

  • @manfyegoh
    @manfyegoh 6 лет назад

    expo react native support?

  • @FarhaKareem
    @FarhaKareem 6 лет назад

    Where do we code this?

  • @waqasakram117
    @waqasakram117 6 лет назад

    2:31 Compile is deprecated use implementation in Gradle

    • @khurramrizvi153
      @khurramrizvi153 6 лет назад

      waqas akram don't worry I have also got the same error...just ignore it and continue using compile...btw compile will be deprecated at the end of 2018...

    • @miroslavspirkoski5623
      @miroslavspirkoski5623 6 лет назад

      You can simply replace compile with api or implement. Both of them work just fine and the warning goes away

  • @ego_sum_liberi
    @ego_sum_liberi 6 лет назад

    Hmm...I feel that core-ml has a new competitor now....

  • @malcolmagius5812
    @malcolmagius5812 3 года назад

    The code comes out like eggs come out of chicken

  • @siddhartharendula9907
    @siddhartharendula9907 6 лет назад

    thats awesome

  • @internationalscholarhw
    @internationalscholarhw 4 года назад

    👍

  • @RifatRahman-009
    @RifatRahman-009 2 месяца назад

    Not so simple. It's hard💀

  • @benbezzina2574
    @benbezzina2574 3 года назад

    You put code there on the screen put don't say how to use it. Useless!