Skip to content
EntityQ28470421· pop 25· linked from 130 articles

Also known as Keras (Python package)

Python-библиотека для взаимодействия с искусственными нейросетями

Key facts

Software.name
Keras
Software.logo
Keras_logo.svg
Software.logo size
180px
Software.author
François Chollet
Software.developer
ONEIROS
Software.programming language
Python
Software.platform
Cross-platform
Software.genre
Frontend for TensorFlow, JAX or PyTorch (and more)
Software.license
Apache 2.0

via Wikipedia infobox

Source code

Keras 3 is a multi-backend deep learning framework, with support for JAX, TensorFlow, PyTorch, and OpenVINO (for inference-only). Effortlessly build and train models for computer vision, natural language processing, audio processing, timeseries forecasting, recommender systems, etc. Accelerated model development : Ship deep learning solutions faster thanks to the high-level UX of Keras and the availability of easy-to-debug runtimes like PyTorch or JAX eager execution. State-of-the-art performance : By picking the backend that is the fastest for your model architecture (often JAX!), leverage speedups ranging from 20% to 350% compared to other frameworks. Benchmark here. Datacenter-scale training : Scale confidently from your laptop to large clusters of GPUs or TPUs. Join nearly three million developers, from burgeoning startups to global enterprises, in harnessing the power of Keras 3. Keras 3 is compatible with Linux and macOS systems. For Windows users, we recommend using WSL2 to run Keras. To install a local development version: 3. Run API generation script when creating PRs that update keras export public APIs: The following table lists the minimum supported versions of each backend for the latest stable release of Keras (v3.x): The requirements.txt file will install a CPU-only version of TensorFlow, JAX, and PyTorch. For GPU support, we also provide a separate requirements-{backend}-cuda.txt for TensorFlow, JAX, and PyTorch. These install all CUDA dependencies via pip and expect a NVIDIA driver to be pre-installed. We recommend a clean Python environment for each backend to avoid CUDA version mismatches. As an example, here is how to create a JAX GPU environment with conda : You can export the environment variable KERAS BACKEND or you can edit your local config file at ~/.keras/keras.json to configure your backend. Available backend options are: "tensorflow" , "jax" , "torch" , "openvino" . Example: Note: The backend must be configured before importing keras , and the backend cannot be changed after the package has been imported. Note: The OpenVINO backend is an inference-only backend, meaning it is designed only for running model predictions using model.predict() method. Keras 3 is intended to work as a drop-in replacement for tf.keras (when using the TensorFlow backend). Just take your existing tf.keras code, make sure that your calls to model.save() are using the up-to-date .keras format, and you're done. If your tf.keras model does not include custom components, you can start running it on top of JAX or PyTorch immediately. In addition, Keras models can consume datasets in any format, regardless of the backend you're using: you can train your models with your existing tf.data.Dataset pipelines or PyTorch DataLoaders .

Excerpt from the source-code README · 5,353 chars · not written by Vinony

Wikidata facts

Instance of
software
Official website
keras.io
Show 7 more facts
language of work or name
English language
programmed in
Python
source code repository URL
github.com/keras-team/keras
software version identifier
3.14.0
maintained by WikiProject
WikiProject Software
Sources (9)

via Wikidata · CC0

Article · Русский

Keras — открытая библиотека, написанная на языке Python и обеспечивающая взаимодействие с искусственными нейронными сетями. До версии 2.3 (2019) поддерживались разные нейросетевые библиотеки — как TensorFlow, Microsoft Cognitive Toolkit, Deeplearning4j, и Theano, впоследствии сохранена только поддержка TensorFlow. Нацелена на оперативную работу с сетями глубинного обучения, при этом спроектирована так, чтобы быть компактной, модульной и расширяемой. Создана как часть исследовательских усилий проекта ONEIROS (англ. Open-ended Neuro-Electronic Intelligent Robot Operating System); основной автор и ведущий разработчик — инженер Google Франсуа Шолле (фр. François Chollet). Планировалось что Google будет поддерживать Keras в основной библиотеке TensorFlow, однако Шолле выделил Keras в отдельную надстройку, так как согласно концепции Keras является скорее интерфейсом, чем сквозной системой машинного обучения. Keras предоставляет высокоуровневый, более интуитивный набор абстракций, который делает простым формирование нейронных сетей, независимо от используемой в качестве вычислительного бэкенда библиотеки научных вычислений Microsoft работает над добавлением к Keras и низкоуровневых библиотек CNTK. Библиотека содержит многочисленные реализации широко применяемых строительных блоков нейронных сетей, таких как слои, целевые и передаточные функции, оптимизаторы, и множество инструментов для упрощения работы с изображениями и текстом. Её код размещен на GitHub, а форумы поддержки включают страницу вопросов GitHub, канал и канал Slack. Поддерживается распределённое обучение моделей, в том числе на кластерах с GPGPU и тензорными процессорами. Модели, созданные в Keras, могут быть развёрнуты не только на серверных узлах, но и на смартфонах (под управлением iOS и Android) и в браузере (TF.js).(См. также: Сравнение программного обеспечения глубинного обучения)

Abstract from DBpedia / Wikipedia · CC BY-SA