You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

README.md 511B

3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
123456789101112131415161718192021222324252627282930313233
  1. # Enhanced U-Net: A Feature Enhancement Network for Polyp Segmentation
  2. ## Requirements
  3. * torch
  4. * torchvision
  5. * scipy
  6. * PIL
  7. * numpy
  8. * tqdm
  9. ### Data
  10. train \
  11. - Images \
  12. - Masks \
  13. test \
  14. - Images \
  15. - Masks \
  16. Valid \
  17. - Images \
  18. - Masks
  19. ### 1. Training
  20. ```bash
  21. python train.py --mode train --train_data_dir /path-to-train_data --valid_data_dir /path-to-valid_data
  22. ```
  23. #### 2. Testing
  24. ```bash
  25. python test.py --mode test --load_ckpt checkpoint --test_data_dir /path-to-test_data```