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

3 years ago
3 years ago
3 years ago
3 years ago
1234567891011121314151617181920212223242526272829303132
  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. $ tree data
  12. train
  13. ├── bar.yaml
  14. ├── foo.json
  15. └── nested
  16. └── baz.md
  17. ```
  18. ### 1. Training
  19. ```bash
  20. python train.py --mode train --train_data_dir /path-to-train_data --valid_data_dir /path-to-valid_data
  21. ```
  22. #### 2. Testing
  23. ```bash
  24. python test.py --mode test --load_ckpt checkpoint --test_data_dir /path-to-test_data```