LLMDet
LLMDet copied to clipboard
No module named 'llmdet.extender'
The import below does not work, probably due to the missing extender file.
https://github.com/TrustedLLM/LLMDet/blob/5d038354006ca0c8e6aa0dadb75e8840accb51a8/llmdet/init.py#L25
Traceback (most recent call last):
File "...", line 7, in <module>
import llmdet
File ".../python3.11/site-packages/llmdet/__init__.py", line 25, in <module>
from .extender import extend
ModuleNotFoundError: No module named 'llmdet.extender'
If you want to extend LLMDet to a new model, you can do so according to the logic in the run_main.py (https://github.com/TrustedLLM/LLMDet/blob/main/main-experiment/run_main.py), we only planned the extension functionality in the pypi package at the time, but the extension functionality was not implemented in the pypi version. We can contact you at any time through gmail([email protected]) during the expansion process.