You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
For the semantic segmentation prediction in the Jupyter notebook, library dependencies seem to mismatch:
Requires mmseg >= 1.0, mmcv >= 2.0:
from mmseg.apis import init_model, inference_model, show_result_pyplot
from models.backbones import DinoVisionBackbone
Requires mmseg 0.27.0, mmcv == 1.5.0 (e.g. for mmcv.runner)
from dinov2.eval.segmentation.models.decode_heads.linear_head import BNHead
I was not able to arrive at one installation which allows to satisfy all imports. How could one resolve this dependency to make the code runnable? Thank you very much for this great example repository!
The text was updated successfully, but these errors were encountered:
thank you for your interest. This repo uses mmcv >= 1.0. I had not faced any issues while using dinov2.eval.segmentation.models.decode_heads.linear_head's BNHead with mmcv>=1.0.
Please try with the proposed requirements and let me know if you get any error
Hello,
For the semantic segmentation prediction in the Jupyter notebook, library dependencies seem to mismatch:
Requires mmseg >= 1.0, mmcv >= 2.0:
from mmseg.apis import init_model, inference_model, show_result_pyplot
from models.backbones import DinoVisionBackbone
Requires mmseg 0.27.0, mmcv == 1.5.0 (e.g. for mmcv.runner)
from dinov2.eval.segmentation.models.decode_heads.linear_head import BNHead
I was not able to arrive at one installation which allows to satisfy all imports. How could one resolve this dependency to make the code runnable? Thank you very much for this great example repository!
The text was updated successfully, but these errors were encountered: