Closed whatifif closed 11 months ago
ModuleNotFoundError: No module named 'mmdet.core'
ModuleNotFoundError: No module named 'mmdet.core'
same :(
same :(
need to update the max version? https://github.com/open-mmlab/mmaction2/issues/768 https://github.com/open-mmlab/mmaction2/pull/769
i assume this explains why the extension does not appear in scripts even when installed through the UI.
nevermind i was wrong entirely
look at new issues:) i got fixed.
look at new issues:) i got fixed.
This is great, I also encountered this problem. How did you solve it?
Found a solution to 'No module named 'mmdet.core''. Maybe because mmdet==3.0.0 has no core. I uninstall mmdet 3.0.0 then install mmdet 2.25.3 and the problem is fixed. Note that mmdet 2.25.3 is incompatible with mmcv>=2.0.0, so you also need to uninstall mmcv 2.0.0 and install mmcv-full 1.7.0. Hopes this will help.
Found a solution to 'No module named 'mmdet.core''. Maybe because mmdet==3.0.0 has no core. I uninstall mmdet 3.0.0 then install mmdet 2.25.3 and the problem is fixed. Note that mmdet 2.25.3 is incompatible with mmcv>=2.0.0, so you also need to uninstall mmcv 2.0.0 and install mmcv-full 1.7.0. Hopes this will help.
The newest version of mmdet 2.x is 2.28, so it's better to install mmdet 2.28
Use "from mmdet.models import build_anchor_generator" instead of "from mmdet.core import build_anchor_generator"
Mine is on line 458 being to be replaced by:
from mmdet.evaluation.functional import get_classes
Has anyone gotten this to work with A1111 1.6 and torch 1.13? I have gotten the script to load but get this message when trying to use ddetailer in img2img:
error: OpenCV(4.8.0) D:\a\opencv-python\opencv-python\opencv\modules\core\src\arithm.cpp:650: error: (-209:Sizes of input arguments do not match) The operation is neither 'array op array' (where arrays have the same size and the same number of channels), nor 'array op scalar', nor 'scalar op array' in function 'cv::arithm_op'
Has anyone gotten this to work with A1111 1.6 and torch 1.13? I have gotten the script to load but get this message when trying to use ddetailer in img2img:
error: OpenCV(4.8.0) D:\a\opencv-python\opencv-python\opencv\modules\core\src\arithm.cpp:650: error: (-209:Sizes of input arguments do not match) The operation is neither 'array op array' (where arrays have the same size and the same number of channels), nor 'array op scalar', nor 'scalar op array' in function 'cv::arithm_op'
Hey, if you're not aware a different developer has been working on a fork of this for a few weeks. I'm having a couple issues getting it started (mmcv issue), but I should be able to get it. The dev is really active so could try that version if you haven't gott this running: https://github.com/wkpark/uddetailer
AssertionError: MMCV==1.7.1 is used but incompatible. Please install mmcv>=2.0.0rc4, <2.1.0.
version incompatibility