MCPcopy Index your code
hub / github.com/DingLei14/WiCoNet

github.com/DingLei14/WiCoNet @main

Chat with this repo
repository ↗ · DeepWiki ↗ · + Follow
201 symbols 499 edges 20 files 15 documented · 7%
What it actually does AI analysis from the code graph — generated when you open this
loading…
README

WiCoNet

Pytorch codes of 'Looking Outside the Window: Wider Context Transformer for the Semantic Segmentation of High-Resolution Remote Sensing Images' [paper]

BLU dataset [download link] [Baidu Netdisk]

alt text alt text

To be updated: - [x] Codes for the BLU dataset - [x] Codes for the GID - [x] Codes for the Potsdam dataset - [ ] Optimizing the codes to easily switch datasets

How to Use 1. Split the data into training, validation and test set and organize them as follows:

YOUR_DATA_DIR - Train - image - label - Val - image - label - Test - image - label

  1. Change the training parameters in Train_WiCo_BLU.py, especially the data directory.

  2. To evaluate, change also the parameters in Eval_WiCo_BLU.py, especially the data directory and the checkpoint path.

If you find our work useful or interesting, please consider to cite:

L. Ding et al., "Looking Outside the Window: Wide-Context Transformer for the Semantic Segmentation of High-Resolution Remote Sensing Images," in IEEE Transactions on Geoscience and Remote Sensing, doi: 10.1109/TGRS.2022.3168697.

Core symbols most depended-on inside this repo

update
called by 34
utils/utils.py
average
called by 12
utils/utils.py
accuracy
called by 10
utils/utils.py
rotate_image
called by 6
utils/transform.py
crop_around_center
called by 6
utils/transform.py
_pad
called by 4
utils/misc.py
CaclTP
called by 4
utils/utils.py
create_crops
called by 4
utils/load.py

Shape

Function 130
Method 50
Class 21

Languages

Python100%

Modules by API surface

models/WiCoNet.py33 symbols
utils/transform.py26 symbols
utils/utils.py24 symbols
utils/misc.py14 symbols
utils/load.py14 symbols
datasets/GID_WiCo.py14 symbols
models/FCN_8s.py13 symbols
datasets/PD_WiCo.py13 symbols
datasets/BLU_WiCo.py12 symbols
utils/loss.py6 symbols
Train_WiCo_PD.py5 symbols
Train_WiCo_GID.py5 symbols

For agents

$ claude mcp add WiCoNet \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact