{"id":13704707,"url":"https://github.com/rindow/rindow-neuralnetworks","last_synced_at":"2025-04-09T23:13:55.972Z","repository":{"id":53889751,"uuid":"238185648","full_name":"rindow/rindow-neuralnetworks","owner":"rindow","description":"Neural networks library for machine learning on PHP","archived":false,"fork":false,"pushed_at":"2025-03-22T05:13:46.000Z","size":801,"stargazers_count":81,"open_issues_count":10,"forks_count":12,"subscribers_count":8,"default_branch":"master","last_synced_at":"2025-04-09T23:13:50.412Z","etag":null,"topics":["cnn","convolutional-neural-networks","deep-learning","dnn","gpgpu","gpu","machine-learning","ml","neural-network","openblas","opencl","php","php8","recurrent-neural-networks","rnn","transformers"],"latest_commit_sha":null,"homepage":"https://rindow.github.io/neuralnetworks","language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"bsd-3-clause","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/rindow.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","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-04T11:01:34.000Z","updated_at":"2025-03-30T18:58:14.000Z","dependencies_parsed_at":"2025-03-26T21:10:31.669Z","dependency_job_id":"b1b62b41-b67d-4c76-bfaa-74f814486777","html_url":"https://github.com/rindow/rindow-neuralnetworks","commit_stats":{"total_commits":42,"total_committers":2,"mean_commits":21.0,"dds":"0.19047619047619047","last_synced_commit":"9603f063d2e64f40a38d837753261395ce9d0735"},"previous_names":[],"tags_count":30,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rindow%2Frindow-neuralnetworks","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rindow%2Frindow-neuralnetworks/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rindow%2Frindow-neuralnetworks/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rindow%2Frindow-neuralnetworks/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/rindow","download_url":"https://codeload.github.com/rindow/rindow-neuralnetworks/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248125589,"owners_count":21051770,"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":["cnn","convolutional-neural-networks","deep-learning","dnn","gpgpu","gpu","machine-learning","ml","neural-network","openblas","opencl","php","php8","recurrent-neural-networks","rnn","transformers"],"created_at":"2024-08-02T21:01:18.501Z","updated_at":"2025-04-09T23:13:55.951Z","avatar_url":"https://github.com/rindow.png","language":"PHP","funding_links":[],"categories":["配置 Configuration"],"sub_categories":["机器学习 Machine Learning"],"readme":"Rindow Neural networks\n======================\nStatus:\n[![Build Status](https://github.com/rindow/rindow-neuralnetworks/workflows/tests/badge.svg)](https://github.com/rindow/rindow-neuralnetworks/actions)\n[![Downloads](https://img.shields.io/packagist/dt/rindow/rindow-neuralnetworks)](https://packagist.org/packages/rindow/rindow-neuralnetworks)\n[![Latest Stable Version](https://img.shields.io/packagist/v/rindow/rindow-neuralnetworks)](https://packagist.org/packages/rindow/rindow-neuralnetworks)\n[![License](https://img.shields.io/packagist/l/rindow/rindow-neuralnetworks)](https://packagist.org/packages/rindow/rindow-neuralnetworks)\n\n\nRindow Neural Network Library is a high-level neural network library for deep learning.\n\nOverview\n--------\n\nLike Keras in Python, you can easily write network models in PHP.\n\nWebsite:\n- Rindow project: https://rindow.github.io/\n- Rindow Neural Networks: https://rindow.github.io/neuralnetworks\n\nSpeeding up\n-----------\n\nThe external libraries rindow-matlib and OpenBLAS can be used to perform calculations at speeds close to CPU versions of TensorFlow.\nModels trained on laptops are available on popular web hosting.\nDeep learning is also available on popular PHP web hosting services.\n\nGPU acceleration\n----------------\nIt supports GPU acceleration using OpenCL.\nYou can also use GPUs other than n-vidia if they support OpenCL. It can also be used with an integrated GPU installed in your laptop.\n\n\nLinked library\n--------------\n- Rindow Math Matrix: Scientific calculation library\n- Rindow Matlib: A fast matrix calculation library suitable for machine learning\n- OpenBLAS: Fast Matrix Arithmetic Library\n- Rindow Math Plot: Visualize machine learning results\n- OpenCL: GPU computational programming interface\n- CLBlast: High-speed matrix calculation library using OpenCL\n\nRequired environment\n--------------------\n\n- PHP 8.1, 8.2, 8.3, 8.4\n- For PHP 7.x, 8.0 environments, use Release 1.x.\n\nInstall\n-------\n\n\u003e Click [here](https://rindow.github.io/neuralnetworks/install.html) for detailed instructions.\n\nPlease prepare in advance:\n\n- Install php-cli, php-gd, and php-sqlite3 in advance using the method appropriate for each operating system.\n- Install composer\n\n\nPlease install using Composer.\n```shell\n$ composer require rindow/rindow-neuralnetworks\n$ composer require rindow/rindow-math-plot\n```\n\nIf you use it as is, it will take time to learn. In order to increase speed, we strongly recommend that you install a high-speed calculation library.\n\nPlease set up an external library.\n\nPrebuilt binaries:\n- Rindow-matlib: https://github.com/rindow/rindow-matlib/releases\n- OpenBLAS: https://github.com/OpenMathLib/OpenBLAS/releases\n\nPlease set up according to your environment. Click [here](https://github.com/rindow/rindow-math-matrix-matlibffi) for detailed instructions.\n\n```shell\n$ composer require rindow/rindow-math-matlibffi\n```\n\nmemory expansion:\n\nDepending on the amount of data you use, you may need to increase the maximum amount of memory that PHP uses.\n\nEspecially when dealing with image data, the amount of sample data becomes enormous and requires more memory capacity than expected.\n\nFor example, change memory_limit in php.ini as follows.\n\nmemory_limit = 8G\n\nModel description\n-----------------\nThe sample directory provides source code for simple image learning.\n\nPlease run as follows:\n\n```shell\n$ RINDOW_MATH_PLOT_VIEWER=/path/to/viewer\n$ export RINDOW_MATH_PLOT_VIEWER\n$ mkdir samples\n$ cd samples\n$ cp ../vendor/rindow/rindow-neuralnetworks/samples/basic-image-clasification.php .\n$ php basic-image-clasification.php\n```\n\n*Please specify an appropriate viewer for RINDOW_MATH_PLOT_VIEWER.\n(ex. viewnior)\n\nIf done correctly, a graph of the learning process will be displayed.\n\n\nGPU/OpenCL support\n------------------\nPlease download the binary.\n- CLBlast: https://github.com/CNugteren/CLBlast/releases\n\nSet up the binary files according to your environment.\nDetailed instructions here https://github.com/rindow/rindow-math-matrix-matlibffi/\n\nPlease set environment variables.\n\n```shell\n$ RINDOW_NEURALNETWORKS_BACKEND=rindowclblast::GPU\n$ export RINDOW_NEURALNETWORKS_BACKEND\n$ cd samples\n$ php basic-image-classification.php\n```\n\n*For RINDOW_NEURALNETWORKS_BACKEND, you can specify not only a name such as rindowclblast, but also the OpenCL device type and a set of Platform-ID and Device-ID. For example, \"rindowclblast::GPU\" or \"rindowclblast::0,0\"\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frindow%2Frindow-neuralnetworks","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frindow%2Frindow-neuralnetworks","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frindow%2Frindow-neuralnetworks/lists"}