# DAS2C: A Distributed Adaptive Minimax Method with Near-Optimal Convergence

Code for paper ["DAS2C: A Distributed Adaptive Minimax Method with Near-Optimal Convergence"].

The code for the tasks mentioned in the paper is store in sub-directories with corresponding names.

The following packages of Python are required for running the code:
````
matplotlib==3.5.2
numpy==1.21.5
pillow==9.2.0
scikit_learn==1.0.2
scipy==1.9.1
six==1.16.0
torch==2.0.1
torchvision==0.15.2
torchsummary==1.5.1
tensorboard==2.14.0
setuptools==59.5.0
````

For each task, after entering the folder, simply use
````
bash run.sh
````
to run the experiments described in the paper.

To visualize the results, use tensorboard as
````
tensorboard --logdir logs
````

we adapted code from https://github.com/ShawnLixx/time-scale_adaptive_minimax.
