Giter VIP home page Giter VIP logo

hrushi11 / real-time-skin-type-detection Goto Github PK

View Code? Open in Web Editor NEW
5.0 1.0 2.0 234.11 MB

This repository was a submission to Unscript hackthon 2022. Domain of AI/ML and Skin Type Recognition problem statement.

Home Page: https://share.streamlit.io/hrushi11/real-time-skin-type-detection/main/app.py

Python 0.15% Jupyter Notebook 99.85%
tensorflow streamlit deep-learning skin-detection real-time opencv

real-time-skin-type-detection's Issues

error loading model.

Tensorflow versiom 2.16.1
keras version 3.3.3

error loading trying to load the model.

tried:
model = load_model()

def load_model:
model = tf.keras.models.load_model("Skin-Type-Recognition-Degraded")
return model

error:
File format not supported: filepath=Skin-Type-Recognition-Degraded. Keras 3 only supports V3 .keras files and legacy H5 format files (.h5 extension). Note that the legacy SavedModel format is not supported by load_model() in Keras 3. In order to reload a TensorFlow SavedModel as an inference-only layer in Keras 3, use keras.layers.TFSMLayer(Skin-Type-Recognition-Degraded, call_endpoint='serving_default') (note that your call_endpoint might have a different name).

tried:
model = load_model()

def load_model:
model = keras.layers.TFSMLayer("Skin-Type-Recognition-Degraded")
return model

error:
AttributeError: '_UserObject' object has no attribute 'add_slot'

More info:
Model Name is save.model.pb

Any help would be greatly appreciated.

Thanks

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.