{"id":15936985,"url":"https://github.com/jonasrauber/foolbox-tensorflow-keras-applications","last_synced_at":"2025-08-16T12:31:25.239Z","repository":{"id":78301462,"uuid":"239622387","full_name":"jonasrauber/foolbox-tensorflow-keras-applications","owner":"jonasrauber","description":"The pretrained TensorFlow Keras models with a Foolbox Zoo compatible interface","archived":false,"fork":false,"pushed_at":"2020-02-10T23:16:42.000Z","size":5,"stargazers_count":4,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2024-10-29T13:55:40.813Z","etag":null,"topics":["adversarial-attacks","foolbox","imagenet","keras","pretrained-models","tensorflow"],"latest_commit_sha":null,"homepage":"https://github.com/bethgelab/foolbox","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/jonasrauber.png","metadata":{"files":{"readme":"README.rst","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2020-02-10T22:00:36.000Z","updated_at":"2021-04-26T17:01:37.000Z","dependencies_parsed_at":"2023-07-24T13:30:15.223Z","dependency_job_id":null,"html_url":"https://github.com/jonasrauber/foolbox-tensorflow-keras-applications","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jonasrauber%2Ffoolbox-tensorflow-keras-applications","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jonasrauber%2Ffoolbox-tensorflow-keras-applications/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jonasrauber%2Ffoolbox-tensorflow-keras-applications/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jonasrauber%2Ffoolbox-tensorflow-keras-applications/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jonasrauber","download_url":"https://codeload.github.com/jonasrauber/foolbox-tensorflow-keras-applications/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":230037042,"owners_count":18163079,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["adversarial-attacks","foolbox","imagenet","keras","pretrained-models","tensorflow"],"created_at":"2024-10-07T04:41:32.741Z","updated_at":"2024-12-16T22:44:21.074Z","avatar_url":"https://github.com/jonasrauber.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"=================================================\nTensorFlow pretrained ImageNet models for Foolbox\n=================================================\n\nThis repository provides the `Keras Applications \u003chttps://keras.io/applications/\u003e`_ (pretrained ImageNet models) in a `Foolbox Native \u003chttps://github.com/bethgelab/foolbox\u003e`_ compatible format.\n\nThis code requires Foolbox 3.0 or newer.\n\nExample\n-------\n\n.. code-block:: python\n\n   import foolbox as fbn\n\n   url = \"https://github.com/jonasrauber/foolbox-tensorflow-keras-applications\"\n   fmodel = fbn.zoo.get_model(url, name=\"MobileNetV2\")\n\n   images, labels = fbn.samples(fmodel, dataset='imagenet', batchsize=16)\n   print(fbn.accuracy(fmodel, images, labels))\n   # -\u003e 0.9375\n\n   # you can now attack fmodel using Foolbox attacks\n   # ...\n\n\nSupported Models\n----------------\n\n- DenseNet121\n- DenseNet169\n- DenseNet201\n- InceptionResNetV2\n- InceptionV3\n- MobileNet\n- MobileNetV2\n- NASNetLarge\n- NASNetMobile\n- ResNet50\n- ResNet101\n- ResNet152\n- ResNet50V2\n- ResNet101V2\n- ResNet152V2\n- VGG16\n- VGG19\n- Xception\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjonasrauber%2Ffoolbox-tensorflow-keras-applications","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjonasrauber%2Ffoolbox-tensorflow-keras-applications","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjonasrauber%2Ffoolbox-tensorflow-keras-applications/lists"}