Skip to content

hpc-unex/FLmeetsRS

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

30 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

FLmeetsRS

Texto alternativo

Requirements (bold is the tested version):

torch >= 1.12.1

cuda >= 10.2

mpi compatible with torch+cuda version >= 4.0.4

fedml (https://github.com/FedML-AI/FedML) v0.7.331

Data types (This study focus on high-resolution optical images)

Getting Started

Installation

git clone https://github.com/hpc-unex/FLmeetsRS.git
cd FLmeetsRS
> Install previous requirements
git clone https://github.com/FedML-AI/FedML.git
cd FedML
git checkout 7aaa278d15f8852e1e2af49bf8baf3666151192f
cd ..
cd patch
sh execute_patch.sh

RSICB256 dataset should be collected in ~/FLmeetsRS/FedML/fedml_data/RSICB256 as:

.
├── construction land/
│   ├── city_building/
│   ├── container/
│   ├── residents/
│   └── storage_room/
├── cultivate land/
│   ├── bare_land/
│   ├── dry_farm/
│   └── green_farmland/
├── other land/
│   ├── desert/
│   ├── mountain/
│   ├── sandbeach/
│   └── snow_mountain/
├── other objects/
│   ├── airplane/
│   ├── pipeline/
│   └── town/
├── transportation/
│   ├── airport_runway/
│   ├── avenue/
│   ├── bridge/
│   ├── crossroads/
│   ├── highway/
│   ├── marina/
│   └── parkinglot/
├── water area/
│   ├── coastline/
│   ├── dam/
│   ├── hirst/
│   ├── lakeshore/
│   ├── river/
│   ├── sea/
│   └── stream/
└── woodland/
    ├── artificial_grassland/
    ├── forest/
    ├── mangrove/
    ├── river_protection_forest/
    ├── sapling/
    ├── shrubwood/
    └── sparse_forest/

Run Code

# With 10 nodes 20 clients (MPI)
sbatch --nodes=10 -p volta --wait-all-nodes=1 -t 01:00:00 --gpus-per-node=2 ./launch.sh -e 10 -c MPI -w 20 -s 123 -i 256 -n 20 -k 10 -t 100 -b 64

# With 1 nodes 20 clients (SP)
sbatch --nodes=1 -p volta --wait-all-nodes=1 -t 01:00:00 --gpus-per-node=2 ./launch.sh -e 10 -c SP -w 4 -s 123 -i 256 -n 20 -k 10 -t 100 -b 64

Some Results

Texto alternativo

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published