TensorFlow Keras Model with Mixed Inputs Tutorial

แชร์
ฝัง
  • เผยแพร่เมื่อ 4 ธ.ค. 2024

ความคิดเห็น • 44

  • @GregHogg
    @GregHogg  ปีที่แล้ว

    Take my courses at mlnow.ai/!

  • @gravidon1053
    @gravidon1053 10 หลายเดือนก่อน

    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 9 หลายเดือนก่อน

    great work and explanation much needed one

  • @ATHARVA89
    @ATHARVA89 2 ปีที่แล้ว

    great insight! multimodal usecase solved

  • @dazai6861
    @dazai6861 ปีที่แล้ว

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

    • @GregHogg
      @GregHogg  ปีที่แล้ว

      Glad to hear it!

  • @arsheyajain7055
    @arsheyajain7055 2 ปีที่แล้ว +1

    Very helpful thanks!!!

    • @GregHogg
      @GregHogg  2 ปีที่แล้ว

      You're very welcome Arsheya 😃😃

  • @alhdlakhfdqw
    @alhdlakhfdqw ปีที่แล้ว

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

    • @GregHogg
      @GregHogg  ปีที่แล้ว

      You're very welcome, and thank you :)

  • @NoorAmer-k9h
    @NoorAmer-k9h 10 หลายเดือนก่อน

    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

  • @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!!

  • @brunooliveiram
    @brunooliveiram 10 หลายเดือนก่อน

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

  • @GagandeepMalhotra-i9t
    @GagandeepMalhotra-i9t ปีที่แล้ว

    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 :)

  • @AarishMaqsood
    @AarishMaqsood 2 ปีที่แล้ว

    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?

  • @picassoofai4061
    @picassoofai4061 ปีที่แล้ว

    Not so traditaional, I like that.

  • @leamon9024
    @leamon9024 2 ปีที่แล้ว

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

    • @GregHogg
      @GregHogg  2 ปีที่แล้ว +1

      Absolutely.

    • @leamon9024
      @leamon9024 2 ปีที่แล้ว

      @@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).

  • @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.

  • @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 :)

  • @raenielsaavedra2290
    @raenielsaavedra2290 ปีที่แล้ว

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

  • @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!

  • @NingJiang-t1v
    @NingJiang-t1v 2 หลายเดือนก่อน

    Helllo Greg, when I try the colab link, it cannot find the kaggle.json file. Any idea on how to resolve it? Thanks!

  • @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.

  • @CarlitoMilarte
    @CarlitoMilarte 10 หลายเดือนก่อน

    He even looks like a Pokemon trainer