Download the PHP package rindow/rindow-neuralnetworks without Composer
On this page you can find all versions of the php package rindow/rindow-neuralnetworks. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download rindow/rindow-neuralnetworks
More information about rindow/rindow-neuralnetworks
Files in rindow/rindow-neuralnetworks
Package rindow-neuralnetworks
Short Description Neural networks library for deep learning
License BSD-3-Clause
Informations about the package rindow-neuralnetworks
Rindow Neural networks
Rindow Neural Network Library is a high-level neural network library for deep learning.
Overview
Like Keras in Python, you can easily write network models in PHP.
Website:
- Rindow project: https://rindow.github.io/
- Rindow Neural Networks: https://rindow.github.io/neuralnetworks
Speeding up
The external libraries rindow-matlib and OpenBLAS can be used to perform calculations at speeds close to CPU versions of TensorFlow. Models trained on laptops are available on popular web hosting. Deep learning is also available on popular PHP web hosting services.
GPU acceleration
It supports GPU acceleration using OpenCL. You 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.
Linked library
- Rindow Math Matrix: Scientific calculation library
- Rindow Matlib: A fast matrix calculation library suitable for machine learning
- OpenBLAS: Fast Matrix Arithmetic Library
- Rindow Math Plot: Visualize machine learning results
- OpenCL: GPU computational programming interface
- CLBlast: High-speed matrix calculation library using OpenCL
Required environment
- PHP 8.1, 8.2, 8.3
- For PHP 7.x, 8.0 environments, use Release 1.x.
Install
Please install using Composer.
If 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.
Please set up an external library.
Prebuilt binaries:
- Rindow-matlib: https://github.com/rindow/rindow-matlib/releases
- OpenBLAS: https://github.com/OpenMathLib/OpenBLAS/releases
Please set up according to your environment. Click here for detailed instructions.
memory expansion:
Depending on the amount of data you use, you may need to increase the maximum amount of memory that PHP uses.
Especially when dealing with image data, the amount of sample data becomes enormous and requires more memory capacity than expected.
For example, change memory_limit in php.ini as follows.
memory_limit = 8G
Model description
The sample directory provides source code for simple image learning.
Please run as follows:
*Please specify an appropriate viewer for RINDOW_MATH_PLOT_VIEWER.
If done correctly, a graph of the learning process will be displayed.
GPU/OpenCL support
Please download the binary.
Set up the binary files according to your environment. Detailed instructions here https://github.com/rindow/rindow-math-matrix-matlibffi/
Please set environment variables.
*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"