Hugging Face's logo Hugging Face
  • Models
  • Datasets
  • Spaces
  • Buckets
  • Docs
  • Enterprise
  • Pricing
    • Website
      • Tasks
      • HuggingChat
      • Collections
      • Languages
      • Organizations
    • Community
      • Blog
      • Posts
      • Daily Papers
      • Hardware
      • Learn
      • Discord
      • Forum
      • GitHub
    • Solutions
      • Team & Enterprise
      • Hugging Face PRO
      • Enterprise Support
      • Inference Providers
      • Inference Endpoints
      • Storage Buckets

  • Log In
  • Sign Up

AiresPucrs
/
Cifar-CNN-with-adversarial-training

Keras
TF-Keras
Image Classification
Model card Files Files and versions
xet
Community
1

Instructions to use AiresPucrs/Cifar-CNN-with-adversarial-training with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • Keras

    How to use AiresPucrs/Cifar-CNN-with-adversarial-training 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://AiresPucrs/Cifar-CNN-with-adversarial-training")
    
  • Notebooks
  • Google Colab
  • Kaggle
Cifar-CNN-with-adversarial-training
306 MB
Ctrl+K
Ctrl+K
  • 2 contributors
History: 5 commits
nicholasKluge's picture
nicholasKluge
Update README.md
c1f9c13 verified about 2 years ago
  • variables
    Push Keras model using huggingface_hub. almost 3 years ago
  • .gitattributes
    1.6 kB
    Push Keras model using huggingface_hub. almost 3 years ago
  • Cifar_CNN_with_adversarial_training.h5
    6.77 MB
    xet
    Upload Cifar_CNN_with_adversarial_training.h5 almost 3 years ago
  • README.md
    1.63 kB
    Update README.md about 2 years ago
  • adversarial-data-CIFAR-10.npy
    297 MB
    xet
    Upload adversarial-data-CIFAR-10.npy with huggingface_hub about 2 years ago
  • fingerprint.pb
    56 Bytes
    xet
    Push Keras model using huggingface_hub. almost 3 years ago
  • keras_metadata.pb
    48.4 kB
    xet
    Push Keras model using huggingface_hub. almost 3 years ago
  • model.png
    75.6 kB
    Push Keras model using huggingface_hub. almost 3 years ago
  • saved_model.pb
    426 kB
    xet
    Push Keras model using huggingface_hub. almost 3 years ago