isaaccorley / torchseg

Segmentation models with pretrained backbones. PyTorch.
MIT License
104 stars 8 forks source link

Refactor TimmViTEncoder to use new forward_intermediates method from timm #24

Open isaaccorley opened 7 months ago

isaaccorley commented 7 months ago

Now that timm has support for intermediate feature extraction we should refactor to use this method instead of our custom method. See https://github.com/huggingface/pytorch-image-models/pull/2136