6.2: Converting Python saved models with the TensorFlow.js command line converter

Поділитися
Вставка
  • Опубліковано 20 сер 2024

КОМЕНТАРІ • 12

  • @GoogleDevelopers
    @GoogleDevelopers  Рік тому +2

    Catch more episodes from Machine Learning for Web Developers (Web ML) → goo.gle/learn-WebML

  • @billyboy3777
    @billyboy3777 9 місяців тому +1

    You are perfect! For a long time I tried to run it locally on my windows system but failed every time. You saved my with google collab. Respect!

  • @mahneh7121
    @mahneh7121 Рік тому +2

    Great tutorial, I'd add that GraphModel is not fine-tunable, so you can not re-train it. The pb models that convert to GraphModels are then only useful for inference (to test the model).
    I think it is said but just to make it obvious, if you want to fine tune / re-train / use transfer learning, you need Layer Models and for that you need "tf-models-here.h5" or the js versions.

    • @TheWorldGameGeneral
      @TheWorldGameGeneral 6 місяців тому

      Yes I totally missunderstood what he meant with "transfer learning ability" I guess that was that
      layer model => transfers learning ability => fine tunable
      graph model => execution speed => not tunable

  • @RobOlsen42
    @RobOlsen42 Рік тому +3

    Although I've been enjoying this series, it is disheartening that this particular video that was made by Google developers and uses Google Colab no longer works after only 3 months. When following the instructions on Colab, the code returns a "TF-TRT Warning: Could not find TensorRT" error when attempting to run the tensorflowjs_converter. I can't find any resolutions to this issue, and can't move forward if we're going to be building on these concepts in the next video.

    • @lokidarkbeard2647
      @lokidarkbeard2647 11 місяців тому

      I have the same issue. I also couldn't run it on the WSL2 setup that had everything installed. Looks like even with the errors it creates the files. I was able to continue the series.

    • @karimkalboussi4703
      @karimkalboussi4703 4 місяці тому

      same problem, did you find any solution please ?

    • @karimkalboussi4703
      @karimkalboussi4703 4 місяці тому

      @@lokidarkbeard2647 same problem, did you find any solution please ?

    • @lokidarkbeard2647
      @lokidarkbeard2647 4 місяці тому

      @karimkalboussi4703 even though it gives errors, it still produces the files you need.

  • @DimensionPardo
    @DimensionPardo 4 місяці тому

    I get the following error: Exception: Error dumping weights, duplicate weight name kernel