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 537B

2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
12345678910111213141516171819202122232425262728293031323334353637
  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. ```
  11. $ data
  12. train
  13. ├── Images
  14. ├── Masks
  15. valid
  16. ├── Images
  17. ├── Masks
  18. test
  19. ├── Images
  20. ├── Masks
  21. ```
  22. ### 1. Training
  23. ```bash
  24. python train.py --mode train --train_data_dir /path-to-train_data --valid_data_dir /path-to-valid_data
  25. ```
  26. ### 2. Testing
  27. ```bash
  28. python test.py --mode test --load_ckpt checkpoint --test_data_dir /path-to-test_data