{ **********************
{ Autor: @GabriM97
{ Telegram: @GabriM97
{ Email: [email protected]
{ *********************
Neural Network Builder is a website built using Laravel (PHP Framework) and Keras (ML Python Library), that allows you to easily build your Neural Network Models and train it on your personal dataset.
I promise you will not write a single line of code, just Import a Dataset -> Build the Model -> Train your Model -> Download your Trained Model. It's easy.
- root permissions (sudo)
- MySQL (create database: neural_network_builder admin:admin)
- Apache --> read
deploy-on-apache-server file
- PHP
- python3
- pip3
pip3 install (install them globally: `sudo -H pip3 intall ):
- tensorflow
- keras
- pandas
- supervisor
Into the directory utils/supervisor/
you can find supervisor configuration files. After installing supervisor via pip3, copy the config files (both laravel-worker.conf
and supervisord.conf
) into /etc/supervisor/
directory.
NOTE: Edit the config file
laravel-worker.conf
with your correct paths and username (if you got errors on supervisor, you probably have to edit the/path/to/supervisor.sock
path, for supervisor socket, into thesupervisord.conf
file)
- composer install
- npm install
- ./start.sh
- php artisan migrate:fresh
NOTE: Edit the database settings (database name and user) into
.env
file.
NOTE: Modify theupload_max_filesize
andpost_max_size
on yourphp.ini
file if you want to upload a bigger dataset. (Linux:/etc/php.ini
)
NOTE: Edit theutils/start.sh
script with your correct paths.
NOTE: If running the scriptstart.sh
you got an error (such asunix:///path/to/supervisor.sock no such file
) on supervisroctl tab then don't worry, it will work the same! You can test if everything it's okay runningstatus
command on supervisorctl tab. If it shows the laravel-workers are inRUNNING
orSTARTING
status, then it works. If not, try runningreload
command and thenstatus
again. If you still got this issue or others, then check your supervisor config files or try to unistall and install again.