zalando-datasets/fashion_mnist
Viewer • Updated • 70k • 26.3k • 69
How to use devers93/Dodo with Keras:
# !pip install -U keras tensorflow huggingface_hub
# Keras needs TensorFlow installed to read "hf://" paths, so the tensorflow backend is selected here;
# "jax" and "torch" also work for computation once TensorFlow is installed.
import os
os.environ["KERAS_BACKEND"] = "tensorflow"
import keras
model = keras.saving.load_model("hf://devers93/Dodo")
Дан датасет fashion_mnist по входному изображению определить предмет;
Для оптимизации была использован "adam". Для оценки потерь было использовано "Разреженная категориальная перекрестная энтропия".
Тренировочный дата сет состоит 60 000 изображений одежды разделённых на 10 категорий 28x28. Размер тестового датасета: 10.000 фото 28х28
# !pip install -U keras tensorflow huggingface_hub # Keras needs TensorFlow installed to read "hf://" paths, so the tensorflow backend is selected here; # "jax" and "torch" also work for computation once TensorFlow is installed. import os os.environ["KERAS_BACKEND"] = "tensorflow" import keras model = keras.saving.load_model("hf://devers93/Dodo")