Skip to content

Environment error when trying evaluation on F-ViT #41

@Erosist

Description

@Erosist

Hello!I encounter problems when trying to use your code to test model's performance on OV.However,I have followed the readme, F-ViT: Build Open-Vocabulary Object Detectors Upon Frozen CLIP ViTs and get errors as follows:
Traceback (most recent call last):
File "", line 1, in
File "/opt/conda/envs/OV/lib/python3.9/site-packages/setuptools/init.py", line 18, in
from setuptools.dist import Distribution
File "/opt/conda/envs/OV/lib/python3.9/site-packages/setuptools/dist.py", line 47, in
from . import _reqs
File "/opt/conda/envs/OV/lib/python3.9/site-packages/setuptools/_reqs.py", line 1, in
import setuptools.extern.jaraco.text as text
File "/opt/conda/envs/OV/lib/python3.9/site-packages/setuptools/_vendor/jaraco/text/init.py", line 11, in
from setuptools.extern.jaraco.functools import compose, method_cache
File "/opt/conda/envs/OV/lib/python3.9/site-packages/setuptools/_vendor/jaraco/functools/init.py", line 10, in
import more_itertools
ModuleNotFoundError: No module named 'more_itertools'
(OV) root@63920379abb5:/home/CLR-CLIP/OV_Test/CLIPSelf/F-ViT/mmdetection# rm -rf build dist .egg-info
rm -rf /tmp/pip-

(OV) root@63920379abb5:/home/CLR-CLIP/OV_Test/CLIPSelf/F-ViT/mmdetection# export PIP_NO_BUILD_ISOLATION=1
pip install -e . --no-deps --no-build-isolation --no-use-pep517 -v
Using pip 23.3.2 from /opt/conda/envs/OV/lib/python3.9/site-packages/pip (python 3.9)
Obtaining file:///home/CLR-CLIP/OV_Test/CLIPSelf/F-ViT/mmdetection
Running command python setup.py egg_info
ERROR: Can not execute setup.py since setuptools is not available in the build environment.
error: subprocess-exited-with-error

× python setup.py egg_info did not run successfully.
│ exit code: 1
╰─> See above for output. And failed to install MMDectection2.x

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions