When I runned the ptq.py, Unfortunately It threw an error, and the error message is as follows. The reason for the error is most likely the absence of the mmcls installation:
So I installed the mmcls through the pypi:
pip install mmcls
but it version(0.25.0) is incompatible. Then I install from source, I use the command below :
git clone -b 1.x https://github.com/open-mmlab/mmclassification.gitcd mmclassification/mim install -e .
When I runned the ptq.py, Unfortunately It threw an error, and the error message is as follows. The reason for the error is most likely the absence of the mmcls installation: So I installed the mmcls through the pypi:
pip install mmcls
but it version(0.25.0) is incompatible. Then I install from source, I use the command below :git clone -b 1.x https://github.com/open-mmlab/mmclassification.git
cd mmclassification/
mim install -e .
it still thew a error: How can I solve it?
and my conda env is below: