TensorFlow Keras Model with Mixed Inputs Tutorial

Поделиться
HTML-код
  • Опубликовано: 20 авг 2024
  • The Colab Notebook: colab.research...
    Thank you for watching the video! You can learn data science FASTER at mlnow.ai!
    Master Python at mlnow.ai/cours...!
    Learn SQL & Relational Databases at mlnow.ai/cours...!
    Learn NumPy, Pandas, and Python for Data Science at mlnow.ai/cours...!
    Become a Machine Learning Expert at mlnow.ai/cours...!
    Don't forget to subscribe if you enjoyed the video :D

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

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

    Take my courses at mlnow.ai/!

  • @gravidon1053
    @gravidon1053 6 месяцев назад

    Thank you very much ! As a college student who just started getting a grasp of the code behind these models this project was very insightful.

  • @Saad_Wazir
    @Saad_Wazir 6 месяцев назад

    great work and explanation much needed one

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

    this is very helpful and insightful, thank you very much (you've earned a new sub btw)

  • @arsheyajain7055
    @arsheyajain7055 2 года назад +1

    Very helpful thanks!!!

    • @GregHogg
      @GregHogg  2 года назад

      You're very welcome Arsheya 😃😃

  • @ATHARVA89
    @ATHARVA89 2 года назад

    great insight! multimodal usecase solved

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

    hey man thank you very much! great tutorial :) subbed!

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

      You're very welcome, and thank you :)

  • @user-jc3ft2zt5f
    @user-jc3ft2zt5f 6 месяцев назад

    I rally love your channel and your explanation, it's like to find the answer whenever I find a video for you
    I have a question
    input = whatever
    x = whatever (input)
    y = whatever (x)
    is this correct for the parentheses goal ? it represent the previous layer

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

    Not so traditaional, I like that.

  • @brunooliveiram
    @brunooliveiram 7 месяцев назад

    Can we talk about a little doubt? Im tryng do to similar process but having some problems

  • @raenielsaavedra2290
    @raenielsaavedra2290 10 месяцев назад

    can anyone tell me how to get the files he uses in the video?

  • @user-vo6vv4zx9e
    @user-vo6vv4zx9e 6 месяцев назад

    He even looks like a Pokemon trainer

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

    Nice Explanation; I found an error like this "Layer "model_2" expects 2 input(s), but it received 1 input tensors. Inputs received: []" while fitting the model. Can you figure out the problem here?

  • @ronakpatel1960
    @ronakpatel1960 2 года назад +1

    Hi, Nice work. Appreciate your time. I have one problem when I scale it. I have 200000 images, each size is 224,224,3 , and after loading that when I use np.array the colab is crashed due to lack of memory. So, how to deal with such a situation?

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

      Ronak you can use Batchloader, stochastic gradient descent or downsample images even further or in colab set GPU target.

  • @user-zw5vq2bx9h
    @user-zw5vq2bx9h Год назад

    Hi Greg great tutorial! Could you possibly guide me on understanding how i could use a model created like this, to have just an image as an input to output a predicted 'HP'. Thanks.
    Edit: I misunderstood and realised that this model cannot take an input of just an image to output the predicted 'HP', however what is the process in order for it to do so, just removing the feed-forward stream would suffice?

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

      Thank you! It's a lot easier to have just an image as the input, for this you can see any such tutorial on CNN's :)

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

    Great Video! I am trying to learn ML in order to create a similar model. I was wondering if you what kind of role did the picture play? My model should consider the colors present in the picture and I didnt exactly got what was the role of the picture in this case

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

      To be honest the picture probably didn't help here, mostly just a fun example to show that this is possible. There's definitely times, especially with medical data, these these types of data could be paired together. And thanks for the kindness!!

  • @nahuelchavezaraujo8394
    @nahuelchavezaraujo8394 2 года назад

    Hi Greg ! do you think is possible to use something like vectorization instead of iterrows() for the creation of the npz ?

    • @GregHogg
      @GregHogg  2 года назад

      Yeah, I'm sure you can - great find!

  • @rinogrego9262
    @rinogrego9262 2 года назад

    Thank you for this. I've been stuck for a while and this one somehow works. I have a question though (maybe the answer is already in the video and I've missed it), does storing the image in npz format and basic jpg/png format have any difference when used in training the model like longer/shorter training time, lesser RAM usage, or something?

    • @GregHogg
      @GregHogg  2 года назад

      You're welcome! They way I setup the model part, no, it doesn't use the npzs to use less ram. It still loads everything in memory. That is indeed why I showed the npzs though, because there is a way to make TensorFlow only pull in the files that it happens to need for each batch, to save Ram.

    • @GregHogg
      @GregHogg  2 года назад

      For more info, lookup TensorFlow datasets :)

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

    Hi, thanks for this tutorial. Is mixed input also applicable to classification problem?

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

      Absolutely.

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

      @@GregHogg Thanks for your reply. Is this concept similar to something called multi-head / multi-input CNN ? The only difference here is that all the input of multi-input CNN are images, but the inputs of mixed-input model contains both image and structural dataset (csv).

  • @chandasimfukwe4555
    @chandasimfukwe4555 2 года назад

    Hi Greg, interesting video but how can I use flow_from_directory in Keras with muti inputs model like the one you showed. Thanks.

    • @GregHogg
      @GregHogg  2 года назад +1

      I don't know if you can mix generators with normal data - but I would try to do what I did and run through the data first to be safe.

    • @chandasimfukwe4555
      @chandasimfukwe4555 2 года назад

      @@GregHogg Can you please advise how I can use that function to connect it with that neural network model with 2 inputs images and numerical data. Thanks.

    • @GregHogg
      @GregHogg  2 года назад +1

      @@chandasimfukwe4555 I just replied and said I'm not sure if it will work and suggested to do it closer to how I did.

    • @chandasimfukwe4555
      @chandasimfukwe4555 2 года назад

      @@GregHogg Thanks Greg, it has really helped me. Looking forward to your future videos.

    • @GregHogg
      @GregHogg  2 года назад +1

      @@chandasimfukwe4555 Super glad to hear that.