#!/usr/bin/env bash

source change_direcotry.sh

python run.py --rounds "500" --client-sampling-type "all" --global-lr "0" --global-optimiser "SGD" --global-weight-decay "0.0" --number-of-local-iters "1" --batch-size "500" --local-lr "1" --local-optimiser "SGD" --local-weight-decay "0.0" --dataset "w5a" --loss "LOGISTIC" --model "logistic" --use-pretrained --train-last-layer --metric "top_1_acc" --global-regulizer "none" --global-regulizer-alpha "0.0" --checkpoint-dir "../check_points" --do-not-save-eval-checkpoints --data-path "../data/" --compute-type "fp32" --gpu "-1" --num-workers-train "0" --num-workers-test "0" --deterministic --manual-init-seed "123" --manual-runtime-seed "456" --group-name "" --comment "" --hostname "DESKTOP-N968J9A" --eval-every "1" --eval-async-threads "0" --save-async-threads "0" --threadpool-for-local-opt "0" --run-id "{simcounter}_job_id_{now}" --algorithm "fedavg" --algorithm-options "internal_sgd:full-gradient,stepsize_multiplier:1,th_stepsize_cvx:1,b_perurbation:0.0,remove_probability:0.0,reduce_samples_by:1.0" --logfile "../logs/{simcounter}_log_{now}.txt" --client-compressor "ident" --extra-track "full_gradient_norm_train,full_objective_value_train" --initialize-shifts-policy "zero" --wandb-key "" --wandb-project-name "" --loglevel "DEBUG" --logfilter ".*" --out "GD_my_w5a.bin" 1>GD_my_w5a.stdout 2>GD_my_w5a.stderr &
