dinov2 icon indicating copy to clipboard operation
dinov2 copied to clipboard

Dinov2 Semantic Segmentation Notebook Fix

Open HarrisDePerceptron opened this issue 1 year ago • 2 comments

Broken dependencies for dinov2 segmentation

mmcv v2 and mmseg incompatiple with pytorch version on colab. i have create a pull request for the notebook please look into it.

Pull request: #370 Notebook

similar issues: #277
@Celebio @syhw @nlutsenko @colesbury @pdollar

HarrisDePerceptron avatar Feb 14 '24 13:02 HarrisDePerceptron

Function Changes
init_segmentor Renamed to init_model
inference_segmentor Rename to inference_model

tgolvano avatar Feb 28 '24 12:02 tgolvano

There are much more changes inside the codes. Backbone+head relatively easier to modify, while maskformer much more difficult because of missing Registry names (e.g Transformer sequence layer). Data transforms also need to be changed. Results nearly a hot mess, far from the demo website.

jenniferjtli avatar May 25 '24 07:05 jenniferjtli