docs/_build/html/index.html
export TF_CPP_MIN_LOG_LEVEL=3
To start the master node:
rebar3 shell --sname master@localhost
To start slave nodes:
rebar3 shell --sname slave1@localhost
rebar3 shell --sname slave2@localhost
To initialize the master process and start Erlang node processes:
P = master:start_master(), P ! initialize_nodes.
Wait a few seconds for all nodes to initialize. Then proceed with the following commands:
Load the database:
P ! load_db.
Distribute the model:
P ! distribute_model.
Distribute the weights:
P ! distribute_weights.
Train the network:
P ! train.
P ! {train, NEpochs}.
where NEpochs
is the number of epochs to train