Submission for Kaggle competition Hacking the Human Vasculature in 3D
- Numpy
- cv2
- matplotlib
- torch
- torchvision
- pandas
- sklearn
- tqdm
The sample data conting 5 training images and 5 test images is already present. Only need to run the unet.ipynb
notebook.
- Ensure that you have the data folder with 6 images and 6 labels at the inner-most level
- Enable your conda environment or python virtual env, open transformers.ipynb
- Run the packages cell
- Run the dataset cell
- Run the 'ingest data' cell, shape should be (6,) for both
- Run the split cell
- Run the dataset / dataloader cell
- Optional: Run sanity check cell
- Run custom loss cell
- Run Segformer custom cell
- Scroll down to model load cell (after save cell), run it
- Run decode cell
- Run test cell, should observe results below
- Run all SAM cells, observe output at bottom