Skip to content

stonedada/ST-cGAN

Repository files navigation

ST-cGAN

The codes for the work ""

Quick Start

  1. Create Environment
conda create -n <environment_name> python=3.8
conda activate <enviroment_name>
pip install -r requirements.txt
  1. Download dataset as mentioned in Data section
  2. Run inference on pretrained weights
python inference.py --dataroot=<DATASET> --model=<MODEL> --dataset_mode=<DATALOADER> 

Training

python train_test.py --dataroot=<DATASET> --model=<MODEL> --dataset_mode=<DATALOADER> 

For Tensorboard: tensorboard --logdir logs/

Data

QLIPP can be downloaded from repo.

  • The directory structure of the whole project is as follows:
.
├── Network
│   ├──datasets
│   │       └── dataset_*.py
│   ├──train.py
│   ├──test.py
│   └──...
├── model
│   └── TU_Synapse128
│       └── res_True_head_4_ch_512_nuclei
│           ├── UTransform-129.pth
│           └── *.pth
└── data
    └──Synapse
        ├── train
        │   ├── im_c001_z011_t000_p005_r0-256_c0-256_sl0-3.npy
        │   └── *.npy
        └── train_label
            ├── im_c000_z011_t000_p005_r0-256_c0-256_sl0-3.npy
            └── *.npy

References

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published