Cannot import 'detrex._C', therefore 'MultiScaleDeformableAttention' is not available. detrex is not compiled successfully, please build following the instructions! #307
I followed the installation procedure. And even performed export CUDA_HOME=path/to/cuda as mentioned for this particular error and still im getting the same error.
Please find the complete runtime log below for installing the build,
No CUDA runtime is found, using CUDA_HOME='/share/apps1/cuda-11.8'
Building wheel detrex-0.3.0
running install
/home/mu480317/.conda/envs/detrex/lib/python3.9/site-packages/setuptools/_distutils/cmd.py:66: SetuptoolsDeprecationWarning: setup.py install is deprecated.
!!
********************************************************************************
Please avoid running ``setup.py`` directly.
Instead, use pypa/build, pypa/installer or other
standards-based tools.
See https://blog.ganssle.io/articles/2021/10/setup-py-deprecated.html for details.
********************************************************************************
!!
self.initialize_options()
/home/mu480317/.conda/envs/detrex/lib/python3.9/site-packages/setuptools/_distutils/cmd.py:66: EasyInstallDeprecationWarning: easy_install command is deprecated.
!!
********************************************************************************
Please avoid running ``setup.py`` and ``easy_install``.
Instead, use pypa/build, pypa/installer or other
standards-based tools.
See https://github.com/pypa/setuptools/issues/917 for details.
********************************************************************************
Installed /home/mu480317/.conda/envs/detrex/lib/python3.9/site-packages/detrex-0.3.0-py3.9.egg
Processing dependencies for detrex==0.3.0
Traceback (most recent call last):
File "/home/mu480317/.conda/envs/detrex/lib/python3.9/site-packages/pkg_resources/init.py", line 3109, in _dep_map
return self.dep_map
File "/home/mu480317/.conda/envs/detrex/lib/python3.9/site-packages/pkg_resources/init.py", line 2902, in getattr__
raise AttributeError(attr)
AttributeError: _DistInfoDistribution__dep_map
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/home/mu480317/.conda/envs/detrex/lib/python3.9/site-packages/pkg_resources/_vendor/packaging/requirements.py", line 35, in init
parsed = _parse_requirement(requirement_string)
File "/home/mu480317/.conda/envs/detrex/lib/python3.9/site-packages/pkg_resources/_vendor/packaging/_parser.py", line 64, in parse_requirement
return _parse_requirement(Tokenizer(source, rules=DEFAULT_RULES))
File "/home/mu480317/.conda/envs/detrex/lib/python3.9/site-packages/pkg_resources/_vendor/packaging/_parser.py", line 82, in _parse_requirement
url, specifier, marker = _parse_requirement_details(tokenizer)
File "/home/mu480317/.conda/envs/detrex/lib/python3.9/site-packages/pkg_resources/_vendor/packaging/_parser.py", line 120, in _parse_requirement_details
specifier = _parse_specifier(tokenizer)
File "/home/mu480317/.conda/envs/detrex/lib/python3.9/site-packages/pkg_resources/_vendor/packaging/_parser.py", line 216, in _parse_specifier
parsed_specifiers = _parse_version_many(tokenizer)
File "/home/mu480317/.conda/envs/detrex/lib/python3.9/site-packages/pkg_resources/_vendor/packaging/_parser.py", line 231, in _parse_version_many
tokenizer.raise_syntax_error(
File "/home/mu480317/.conda/envs/detrex/lib/python3.9/site-packages/pkg_resources/_vendor/packaging/_tokenizer.py", line 165, in raise_syntax_error
raise ParserSyntaxError(
pkg_resources.extern.packaging._tokenizer.ParserSyntaxError: . suffix can only be used with == or != operators
PyYAML (>=5.1.)
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/home/mu480317/Object_Detectors/detrex/setup.py", line 217, in <module>
setup(
File "/home/mu480317/.conda/envs/detrex/lib/python3.9/site-packages/setuptools/__init__.py", line 107, in setup
return distutils.core.setup(**attrs)
File "/home/mu480317/.conda/envs/detrex/lib/python3.9/site-packages/setuptools/_distutils/core.py", line 185, in setup
return run_commands(dist)
File "/home/mu480317/.conda/envs/detrex/lib/python3.9/site-packages/setuptools/_distutils/core.py", line 201, in run_commands
dist.run_commands()
File "/home/mu480317/.conda/envs/detrex/lib/python3.9/site-packages/setuptools/_distutils/dist.py", line 969, in run_commands
self.run_command(cmd)
File "/home/mu480317/.conda/envs/detrex/lib/python3.9/site-packages/setuptools/dist.py", line 1234, in run_command
super().run_command(command)
File "/home/mu480317/.conda/envs/detrex/lib/python3.9/site-packages/setuptools/_distutils/dist.py", line 988, in run_command
cmd_obj.run()
File "/home/mu480317/.conda/envs/detrex/lib/python3.9/site-packages/setuptools/command/install.py", line 80, in run
self.do_egg_install()
File "/home/mu480317/.conda/envs/detrex/lib/python3.9/site-packages/setuptools/command/install.py", line 137, in do_egg_install
cmd.run(show_deprecation=False)
File "/home/mu480317/.conda/envs/detrex/lib/python3.9/site-packages/setuptools/command/easy_install.py", line 416, in run
self.easy_install(spec, not self.no_deps)
File "/home/mu480317/.conda/envs/detrex/lib/python3.9/site-packages/setuptools/command/easy_install.py", line 658, in easy_install
return self.install_item(None, spec, tmpdir, deps, True)
File "/home/mu480317/.conda/envs/detrex/lib/python3.9/site-packages/setuptools/command/easy_install.py", line 705, in install_item
self.process_distribution(spec, dist, deps)
File "/home/mu480317/.conda/envs/detrex/lib/python3.9/site-packages/setuptools/command/easy_install.py", line 750, in process_distribution
distros = WorkingSet([]).resolve(
File "/home/mu480317/.conda/envs/detrex/lib/python3.9/site-packages/pkg_resources/__init__.py", line 834, in resolve
new_requirements = dist.requires(req.extras)[::-1]
File "/home/mu480317/.conda/envs/detrex/lib/python3.9/site-packages/pkg_resources/__init__.py", line 2822, in requires
dm = self._dep_map
File "/home/mu480317/.conda/envs/detrex/lib/python3.9/site-packages/pkg_resources/__init__.py", line 3111, in _dep_map
self.__dep_map = self._compute_dependencies()
File "/home/mu480317/.conda/envs/detrex/lib/python3.9/site-packages/pkg_resources/__init__.py", line 3121, in _compute_dependencies
reqs.extend(parse_requirements(req))
File "/home/mu480317/.conda/envs/detrex/lib/python3.9/site-packages/pkg_resources/__init__.py", line 3174, in __init__
super(Requirement, self).__init__(requirement_string)
File "/home/mu480317/.conda/envs/detrex/lib/python3.9/site-packages/pkg_resources/_vendor/packaging/requirements.py", line 37, in __init__
raise InvalidRequirement(str(e)) from e
pkg_resources.extern.packaging.requirements.InvalidRequirement: .* suffix can only be used with `==` or `!=` operators
PyYAML (>=5.1.*)
~~~~~~^
My Environment :
Python 3.9
Cuda 11.8
env - detrex
Please help me solve this issue.
I followed the installation procedure. And even performed
export CUDA_HOME=path/to/cuda
as mentioned for this particular error and still im getting the same error.Please find the complete runtime log below for installing the build,
No CUDA runtime is found, using CUDA_HOME='/share/apps1/cuda-11.8' Building wheel detrex-0.3.0 running install /home/mu480317/.conda/envs/detrex/lib/python3.9/site-packages/setuptools/_distutils/cmd.py:66: SetuptoolsDeprecationWarning: setup.py install is deprecated. !!
!! self.initialize_options() /home/mu480317/.conda/envs/detrex/lib/python3.9/site-packages/setuptools/_distutils/cmd.py:66: EasyInstallDeprecationWarning: easy_install command is deprecated. !!
!! self.initialize_options() running bdist_egg running egg_info writing detrex.egg-info/PKG-INFO writing dependency_links to detrex.egg-info/dependency_links.txt writing requirements to detrex.egg-info/requires.txt writing top-level names to detrex.egg-info/top_level.txt reading manifest file 'detrex.egg-info/SOURCES.txt' adding license file 'LICENSE' writing manifest file 'detrex.egg-info/SOURCES.txt' installing library code to build/bdist.linux-x86_64/egg running install_lib running build_py creating build creating build/lib creating build/lib/detrex copying detrex/version.py -> build/lib/detrex copying detrex/init.py -> build/lib/detrex creating build/lib/demo copying demo/predictors.py -> build/lib/demo copying demo/demo.py -> build/lib/demo copying demo/init.py -> build/lib/demo copying demo/mot_demo.py -> build/lib/demo copying demo/mot_predictors.py -> build/lib/demo creating build/lib/tools copying tools/visualize_json_results.py -> build/lib/tools copying tools/benchmark.py -> build/lib/tools copying tools/init.py -> build/lib/tools copying tools/analyze_model.py -> build/lib/tools copying tools/hydra_train_net.py -> build/lib/tools copying tools/visualize_data.py -> build/lib/tools copying tools/train_net.py -> build/lib/tools creating build/lib/detrex/data copying detrex/data/detr_dataset_mapper.py -> build/lib/detrex/data copying detrex/data/init.py -> build/lib/detrex/data creating build/lib/detrex/utils copying detrex/utils/misc.py -> build/lib/detrex/utils copying detrex/utils/init.py -> build/lib/detrex/utils copying detrex/utils/events.py -> build/lib/detrex/utils copying detrex/utils/dist.py -> build/lib/detrex/utils creating build/lib/detrex/modeling copying detrex/modeling/init.py -> build/lib/detrex/modeling copying detrex/modeling/ema.py -> build/lib/detrex/modeling creating build/lib/detrex/checkpoint copying detrex/checkpoint/c2_model_loading.py -> build/lib/detrex/checkpoint copying detrex/checkpoint/detection_checkpoint.py -> build/lib/detrex/checkpoint copying detrex/checkpoint/init.py -> build/lib/detrex/checkpoint creating build/lib/detrex/layers copying detrex/layers/conv.py -> build/lib/detrex/layers copying detrex/layers/multi_scale_deform_attn.py -> build/lib/detrex/layers copying detrex/layers/transformer.py -> build/lib/detrex/layers copying detrex/layers/dcn_v3.py -> build/lib/detrex/layers copying detrex/layers/init.py -> build/lib/detrex/layers copying detrex/layers/box_ops.py -> build/lib/detrex/layers copying detrex/layers/attention.py -> build/lib/detrex/layers copying detrex/layers/shape_spec.py -> build/lib/detrex/layers copying detrex/layers/denoising.py -> build/lib/detrex/layers copying detrex/layers/position_embedding.py -> build/lib/detrex/layers copying detrex/layers/mlp.py -> build/lib/detrex/layers copying detrex/layers/layer_norm.py -> build/lib/detrex/layers creating build/lib/detrex/config copying detrex/config/config.py -> build/lib/detrex/config copying detrex/config/init.py -> build/lib/detrex/config creating build/lib/detrex/data/dataset_mappers copying detrex/data/dataset_mappers/mask_former_semantic_dataset_mapper.py -> build/lib/detrex/data/dataset_mappers copying detrex/data/dataset_mappers/mask_former_instance_dataset_mapper.py -> build/lib/detrex/data/dataset_mappers copying detrex/data/dataset_mappers/mask_former_panoptic_dataset_mapper.py -> build/lib/detrex/data/dataset_mappers copying detrex/data/dataset_mappers/init.py -> build/lib/detrex/data/dataset_mappers copying detrex/data/dataset_mappers/coco_panoptic_new_baseline_dataset_mapper.py -> build/lib/detrex/data/dataset_mappers copying detrex/data/dataset_mappers/coco_instance_new_baseline_dataset_mapper.py -> build/lib/detrex/data/dataset_mappers creating build/lib/detrex/data/transforms copying detrex/data/transforms/init.py -> build/lib/detrex/data/transforms copying detrex/data/transforms/color_augmentation.py -> build/lib/detrex/data/transforms creating build/lib/detrex/data/datasets copying detrex/data/datasets/register_ade20k_instance.py -> build/lib/detrex/data/datasets copying detrex/data/datasets/register_mapillary_vistas.py -> build/lib/detrex/data/datasets copying detrex/data/datasets/register_coco_panoptic_annos_semseg.py -> build/lib/detrex/data/datasets copying detrex/data/datasets/register_coco_stuff_10k.py -> build/lib/detrex/data/datasets copying detrex/data/datasets/init.py -> build/lib/detrex/data/datasets copying detrex/data/datasets/register_mapillary_vistas_panoptic.py -> build/lib/detrex/data/datasets copying detrex/data/datasets/register_ade20k_panoptic.py -> build/lib/detrex/data/datasets copying detrex/data/datasets/register_ade20k_full.py -> build/lib/detrex/data/datasets creating build/lib/detrex/modeling/criterion copying detrex/modeling/criterion/criterion.py -> build/lib/detrex/modeling/criterion copying detrex/modeling/criterion/init.py -> build/lib/detrex/modeling/criterion copying detrex/modeling/criterion/base_criterion.py -> build/lib/detrex/modeling/criterion creating build/lib/detrex/modeling/matcher copying detrex/modeling/matcher/matcher.py -> build/lib/detrex/modeling/matcher copying detrex/modeling/matcher/modified_matcher.py -> build/lib/detrex/modeling/matcher copying detrex/modeling/matcher/init.py -> build/lib/detrex/modeling/matcher copying detrex/modeling/matcher/match_cost.py -> build/lib/detrex/modeling/matcher creating build/lib/detrex/modeling/losses copying detrex/modeling/losses/init.py -> build/lib/detrex/modeling/losses copying detrex/modeling/losses/smooth_l1_loss.py -> build/lib/detrex/modeling/losses copying detrex/modeling/losses/utils.py -> build/lib/detrex/modeling/losses copying detrex/modeling/losses/dice_loss.py -> build/lib/detrex/modeling/losses copying detrex/modeling/losses/cross_entropy_loss.py -> build/lib/detrex/modeling/losses copying detrex/modeling/losses/focal_loss.py -> build/lib/detrex/modeling/losses copying detrex/modeling/losses/giou_loss.py -> build/lib/detrex/modeling/losses creating build/lib/detrex/modeling/neck copying detrex/modeling/neck/init.py -> build/lib/detrex/modeling/neck copying detrex/modeling/neck/channel_mapper.py -> build/lib/detrex/modeling/neck creating build/lib/detrex/modeling/backbone copying detrex/modeling/backbone/torchvision_backbone.py -> build/lib/detrex/modeling/backbone copying detrex/modeling/backbone/resnet.py -> build/lib/detrex/modeling/backbone copying detrex/modeling/backbone/eva.py -> build/lib/detrex/modeling/backbone copying detrex/modeling/backbone/eva_02.py -> build/lib/detrex/modeling/backbone copying detrex/modeling/backbone/focalnet.py -> build/lib/detrex/modeling/backbone copying detrex/modeling/backbone/utils.py -> build/lib/detrex/modeling/backbone copying detrex/modeling/backbone/convnext.py -> build/lib/detrex/modeling/backbone copying detrex/modeling/backbone/timm_backbone.py -> build/lib/detrex/modeling/backbone copying detrex/modeling/backbone/init.py -> build/lib/detrex/modeling/backbone copying detrex/modeling/backbone/internimage.py -> build/lib/detrex/modeling/backbone copying detrex/modeling/backbone/eva_02_utils.py -> build/lib/detrex/modeling/backbone copying detrex/modeling/backbone/torchvision_resnet.py -> build/lib/detrex/modeling/backbone creating build/lib/detrex/config/configs creating build/lib/detrex/config/configs/common copying detrex/config/configs/common/train.py -> build/lib/detrex/config/configs/common copying detrex/config/configs/common/coco_schedule.py -> build/lib/detrex/config/configs/common copying detrex/config/configs/common/optim.py -> build/lib/detrex/config/configs/common copying detrex/config/configs/common/common_schedule.py -> build/lib/detrex/config/configs/common creating build/lib/detrex/config/configs/common/data copying detrex/config/configs/common/data/coco_detr.py -> build/lib/detrex/config/configs/common/data copying detrex/config/configs/common/data/constants.py -> build/lib/detrex/config/configs/common/data copying detrex/config/configs/common/data/coco.py -> build/lib/detrex/config/configs/common/data copying detrex/config/configs/common/data/custom.py -> build/lib/detrex/config/configs/common/data creating build/bdist.linux-x86_64 creating build/bdist.linux-x86_64/egg creating build/bdist.linux-x86_64/egg/demo copying build/lib/demo/demo.py -> build/bdist.linux-x86_64/egg/demo copying build/lib/demo/mot_predictors.py -> build/bdist.linux-x86_64/egg/demo copying build/lib/demo/predictors.py -> build/bdist.linux-x86_64/egg/demo copying build/lib/demo/init.py -> build/bdist.linux-x86_64/egg/demo copying build/lib/demo/mot_demo.py -> build/bdist.linux-x86_64/egg/demo creating build/bdist.linux-x86_64/egg/detrex creating build/bdist.linux-x86_64/egg/detrex/utils copying build/lib/detrex/utils/dist.py -> build/bdist.linux-x86_64/egg/detrex/utils copying build/lib/detrex/utils/events.py -> build/bdist.linux-x86_64/egg/detrex/utils copying build/lib/detrex/utils/init.py -> build/bdist.linux-x86_64/egg/detrex/utils copying build/lib/detrex/utils/misc.py -> build/bdist.linux-x86_64/egg/detrex/utils creating build/bdist.linux-x86_64/egg/detrex/data creating build/bdist.linux-x86_64/egg/detrex/data/dataset_mappers copying build/lib/detrex/data/dataset_mappers/coco_instance_new_baseline_dataset_mapper.py -> build/bdist.linux-x86_64/egg/detrex/data/dataset_mappers copying build/lib/detrex/data/dataset_mappers/init.py -> build/bdist.linux-x86_64/egg/detrex/data/dataset_mappers copying build/lib/detrex/data/dataset_mappers/coco_panoptic_new_baseline_dataset_mapper.py -> build/bdist.linux-x86_64/egg/detrex/data/dataset_mappers copying build/lib/detrex/data/dataset_mappers/mask_former_semantic_dataset_mapper.py -> build/bdist.linux-x86_64/egg/detrex/data/dataset_mappers copying build/lib/detrex/data/dataset_mappers/mask_former_instance_dataset_mapper.py -> build/bdist.linux-x86_64/egg/detrex/data/dataset_mappers copying build/lib/detrex/data/dataset_mappers/mask_former_panoptic_dataset_mapper.py -> build/bdist.linux-x86_64/egg/detrex/data/dataset_mappers creating build/bdist.linux-x86_64/egg/detrex/data/transforms copying build/lib/detrex/data/transforms/color_augmentation.py -> build/bdist.linux-x86_64/egg/detrex/data/transforms copying build/lib/detrex/data/transforms/init.py -> build/bdist.linux-x86_64/egg/detrex/data/transforms copying build/lib/detrex/data/init.py -> build/bdist.linux-x86_64/egg/detrex/data copying build/lib/detrex/data/detr_dataset_mapper.py -> build/bdist.linux-x86_64/egg/detrex/data creating build/bdist.linux-x86_64/egg/detrex/data/datasets copying build/lib/detrex/data/datasets/register_coco_stuff_10k.py -> build/bdist.linux-x86_64/egg/detrex/data/datasets copying build/lib/detrex/data/datasets/register_coco_panoptic_annos_semseg.py -> build/bdist.linux-x86_64/egg/detrex/data/datasets copying build/lib/detrex/data/datasets/register_ade20k_instance.py -> build/bdist.linux-x86_64/egg/detrex/data/datasets copying build/lib/detrex/data/datasets/register_mapillary_vistas.py -> build/bdist.linux-x86_64/egg/detrex/data/datasets copying build/lib/detrex/data/datasets/register_mapillary_vistas_panoptic.py -> build/bdist.linux-x86_64/egg/detrex/data/datasets copying build/lib/detrex/data/datasets/init.py -> build/bdist.linux-x86_64/egg/detrex/data/datasets copying build/lib/detrex/data/datasets/register_ade20k_panoptic.py -> build/bdist.linux-x86_64/egg/detrex/data/datasets copying build/lib/detrex/data/datasets/register_ade20k_full.py -> build/bdist.linux-x86_64/egg/detrex/data/datasets copying build/lib/detrex/init.py -> build/bdist.linux-x86_64/egg/detrex creating build/bdist.linux-x86_64/egg/detrex/layers copying build/lib/detrex/layers/layer_norm.py -> build/bdist.linux-x86_64/egg/detrex/layers copying build/lib/detrex/layers/mlp.py -> build/bdist.linux-x86_64/egg/detrex/layers copying build/lib/detrex/layers/attention.py -> build/bdist.linux-x86_64/egg/detrex/layers copying build/lib/detrex/layers/denoising.py -> build/bdist.linux-x86_64/egg/detrex/layers copying build/lib/detrex/layers/shape_spec.py -> build/bdist.linux-x86_64/egg/detrex/layers copying build/lib/detrex/layers/position_embedding.py -> build/bdist.linux-x86_64/egg/detrex/layers copying build/lib/detrex/layers/multi_scale_deform_attn.py -> build/bdist.linux-x86_64/egg/detrex/layers copying build/lib/detrex/layers/box_ops.py -> build/bdist.linux-x86_64/egg/detrex/layers copying build/lib/detrex/layers/transformer.py -> build/bdist.linux-x86_64/egg/detrex/layers copying build/lib/detrex/layers/conv.py -> build/bdist.linux-x86_64/egg/detrex/layers copying build/lib/detrex/layers/dcn_v3.py -> build/bdist.linux-x86_64/egg/detrex/layers copying build/lib/detrex/layers/init.py -> build/bdist.linux-x86_64/egg/detrex/layers creating build/bdist.linux-x86_64/egg/detrex/config creating build/bdist.linux-x86_64/egg/detrex/config/configs creating build/bdist.linux-x86_64/egg/detrex/config/configs/common creating build/bdist.linux-x86_64/egg/detrex/config/configs/common/data copying build/lib/detrex/config/configs/common/data/constants.py -> build/bdist.linux-x86_64/egg/detrex/config/configs/common/data copying build/lib/detrex/config/configs/common/data/coco_detr.py -> build/bdist.linux-x86_64/egg/detrex/config/configs/common/data copying build/lib/detrex/config/configs/common/data/coco.py -> build/bdist.linux-x86_64/egg/detrex/config/configs/common/data copying build/lib/detrex/config/configs/common/data/custom.py -> build/bdist.linux-x86_64/egg/detrex/config/configs/common/data copying build/lib/detrex/config/configs/common/optim.py -> build/bdist.linux-x86_64/egg/detrex/config/configs/common copying build/lib/detrex/config/configs/common/common_schedule.py -> build/bdist.linux-x86_64/egg/detrex/config/configs/common copying build/lib/detrex/config/configs/common/coco_schedule.py -> build/bdist.linux-x86_64/egg/detrex/config/configs/common copying build/lib/detrex/config/configs/common/train.py -> build/bdist.linux-x86_64/egg/detrex/config/configs/common copying build/lib/detrex/config/init.py -> build/bdist.linux-x86_64/egg/detrex/config copying build/lib/detrex/config/config.py -> build/bdist.linux-x86_64/egg/detrex/config creating build/bdist.linux-x86_64/egg/detrex/checkpoint copying build/lib/detrex/checkpoint/c2_model_loading.py -> build/bdist.linux-x86_64/egg/detrex/checkpoint copying build/lib/detrex/checkpoint/detection_checkpoint.py -> build/bdist.linux-x86_64/egg/detrex/checkpoint copying build/lib/detrex/checkpoint/init.py -> build/bdist.linux-x86_64/egg/detrex/checkpoint creating build/bdist.linux-x86_64/egg/detrex/modeling creating build/bdist.linux-x86_64/egg/detrex/modeling/neck copying build/lib/detrex/modeling/neck/init.py -> build/bdist.linux-x86_64/egg/detrex/modeling/neck copying build/lib/detrex/modeling/neck/channel_mapper.py -> build/bdist.linux-x86_64/egg/detrex/modeling/neck creating build/bdist.linux-x86_64/egg/detrex/modeling/matcher copying build/lib/detrex/modeling/matcher/match_cost.py -> build/bdist.linux-x86_64/egg/detrex/modeling/matcher copying build/lib/detrex/modeling/matcher/modified_matcher.py -> build/bdist.linux-x86_64/egg/detrex/modeling/matcher copying build/lib/detrex/modeling/matcher/matcher.py -> build/bdist.linux-x86_64/egg/detrex/modeling/matcher copying build/lib/detrex/modeling/matcher/init.py -> build/bdist.linux-x86_64/egg/detrex/modeling/matcher creating build/bdist.linux-x86_64/egg/detrex/modeling/backbone copying build/lib/detrex/modeling/backbone/eva_02.py -> build/bdist.linux-x86_64/egg/detrex/modeling/backbone copying build/lib/detrex/modeling/backbone/utils.py -> build/bdist.linux-x86_64/egg/detrex/modeling/backbone copying build/lib/detrex/modeling/backbone/init.py -> build/bdist.linux-x86_64/egg/detrex/modeling/backbone copying build/lib/detrex/modeling/backbone/convnext.py -> build/bdist.linux-x86_64/egg/detrex/modeling/backbone copying build/lib/detrex/modeling/backbone/torchvision_resnet.py -> build/bdist.linux-x86_64/egg/detrex/modeling/backbone copying build/lib/detrex/modeling/backbone/resnet.py -> build/bdist.linux-x86_64/egg/detrex/modeling/backbone copying build/lib/detrex/modeling/backbone/internimage.py -> build/bdist.linux-x86_64/egg/detrex/modeling/backbone copying build/lib/detrex/modeling/backbone/eva_02_utils.py -> build/bdist.linux-x86_64/egg/detrex/modeling/backbone copying build/lib/detrex/modeling/backbone/timm_backbone.py -> build/bdist.linux-x86_64/egg/detrex/modeling/backbone copying build/lib/detrex/modeling/backbone/focalnet.py -> build/bdist.linux-x86_64/egg/detrex/modeling/backbone copying build/lib/detrex/modeling/backbone/eva.py -> build/bdist.linux-x86_64/egg/detrex/modeling/backbone copying build/lib/detrex/modeling/backbone/torchvision_backbone.py -> build/bdist.linux-x86_64/egg/detrex/modeling/backbone creating build/bdist.linux-x86_64/egg/detrex/modeling/criterion copying build/lib/detrex/modeling/criterion/criterion.py -> build/bdist.linux-x86_64/egg/detrex/modeling/criterion copying build/lib/detrex/modeling/criterion/init.py -> build/bdist.linux-x86_64/egg/detrex/modeling/criterion copying build/lib/detrex/modeling/criterion/base_criterion.py -> build/bdist.linux-x86_64/egg/detrex/modeling/criterion copying build/lib/detrex/modeling/init.py -> build/bdist.linux-x86_64/egg/detrex/modeling copying build/lib/detrex/modeling/ema.py -> build/bdist.linux-x86_64/egg/detrex/modeling creating build/bdist.linux-x86_64/egg/detrex/modeling/losses copying build/lib/detrex/modeling/losses/smooth_l1_loss.py -> build/bdist.linux-x86_64/egg/detrex/modeling/losses copying build/lib/detrex/modeling/losses/cross_entropy_loss.py -> build/bdist.linux-x86_64/egg/detrex/modeling/losses copying build/lib/detrex/modeling/losses/init.py -> build/bdist.linux-x86_64/egg/detrex/modeling/losses copying build/lib/detrex/modeling/losses/focal_loss.py -> build/bdist.linux-x86_64/egg/detrex/modeling/losses copying build/lib/detrex/modeling/losses/utils.py -> build/bdist.linux-x86_64/egg/detrex/modeling/losses copying build/lib/detrex/modeling/losses/giou_loss.py -> build/bdist.linux-x86_64/egg/detrex/modeling/losses copying build/lib/detrex/modeling/losses/dice_loss.py -> build/bdist.linux-x86_64/egg/detrex/modeling/losses copying build/lib/detrex/version.py -> build/bdist.linux-x86_64/egg/detrex creating build/bdist.linux-x86_64/egg/tools copying build/lib/tools/visualize_json_results.py -> build/bdist.linux-x86_64/egg/tools copying build/lib/tools/train_net.py -> build/bdist.linux-x86_64/egg/tools copying build/lib/tools/visualize_data.py -> build/bdist.linux-x86_64/egg/tools copying build/lib/tools/benchmark.py -> build/bdist.linux-x86_64/egg/tools copying build/lib/tools/hydra_train_net.py -> build/bdist.linux-x86_64/egg/tools copying build/lib/tools/analyze_model.py -> build/bdist.linux-x86_64/egg/tools copying build/lib/tools/init.py -> build/bdist.linux-x86_64/egg/tools byte-compiling build/bdist.linux-x86_64/egg/demo/demo.py to demo.cpython-39.pyc byte-compiling build/bdist.linux-x86_64/egg/demo/mot_predictors.py to mot_predictors.cpython-39.pyc byte-compiling build/bdist.linux-x86_64/egg/demo/predictors.py to predictors.cpython-39.pyc byte-compiling build/bdist.linux-x86_64/egg/demo/init.py to init.cpython-39.pyc byte-compiling build/bdist.linux-x86_64/egg/demo/mot_demo.py to mot_demo.cpython-39.pyc byte-compiling build/bdist.linux-x86_64/egg/detrex/utils/dist.py to dist.cpython-39.pyc byte-compiling build/bdist.linux-x86_64/egg/detrex/utils/events.py to events.cpython-39.pyc byte-compiling build/bdist.linux-x86_64/egg/detrex/utils/init.py to init.cpython-39.pyc byte-compiling build/bdist.linux-x86_64/egg/detrex/utils/misc.py to misc.cpython-39.pyc byte-compiling build/bdist.linux-x86_64/egg/detrex/data/dataset_mappers/coco_instance_new_baseline_dataset_mapper.py to coco_instance_new_baseline_dataset_mapper.cpython-39.pyc byte-compiling build/bdist.linux-x86_64/egg/detrex/data/dataset_mappers/init.py to init.cpython-39.pyc byte-compiling build/bdist.linux-x86_64/egg/detrex/data/dataset_mappers/coco_panoptic_new_baseline_dataset_mapper.py to coco_panoptic_new_baseline_dataset_mapper.cpython-39.pyc byte-compiling build/bdist.linux-x86_64/egg/detrex/data/dataset_mappers/mask_former_semantic_dataset_mapper.py to mask_former_semantic_dataset_mapper.cpython-39.pyc byte-compiling build/bdist.linux-x86_64/egg/detrex/data/dataset_mappers/mask_former_instance_dataset_mapper.py to mask_former_instance_dataset_mapper.cpython-39.pyc byte-compiling build/bdist.linux-x86_64/egg/detrex/data/dataset_mappers/mask_former_panoptic_dataset_mapper.py to mask_former_panoptic_dataset_mapper.cpython-39.pyc byte-compiling build/bdist.linux-x86_64/egg/detrex/data/transforms/color_augmentation.py to color_augmentation.cpython-39.pyc byte-compiling build/bdist.linux-x86_64/egg/detrex/data/transforms/init.py to init.cpython-39.pyc byte-compiling build/bdist.linux-x86_64/egg/detrex/data/init.py to init.cpython-39.pyc byte-compiling build/bdist.linux-x86_64/egg/detrex/data/detr_dataset_mapper.py to detr_dataset_mapper.cpython-39.pyc byte-compiling build/bdist.linux-x86_64/egg/detrex/data/datasets/register_coco_stuff_10k.py to register_coco_stuff_10k.cpython-39.pyc byte-compiling build/bdist.linux-x86_64/egg/detrex/data/datasets/register_coco_panoptic_annos_semseg.py to register_coco_panoptic_annos_semseg.cpython-39.pyc byte-compiling build/bdist.linux-x86_64/egg/detrex/data/datasets/register_ade20k_instance.py to register_ade20k_instance.cpython-39.pyc byte-compiling build/bdist.linux-x86_64/egg/detrex/data/datasets/register_mapillary_vistas.py to register_mapillary_vistas.cpython-39.pyc byte-compiling build/bdist.linux-x86_64/egg/detrex/data/datasets/register_mapillary_vistas_panoptic.py to register_mapillary_vistas_panoptic.cpython-39.pyc byte-compiling build/bdist.linux-x86_64/egg/detrex/data/datasets/init.py to init.cpython-39.pyc byte-compiling build/bdist.linux-x86_64/egg/detrex/data/datasets/register_ade20k_panoptic.py to register_ade20k_panoptic.cpython-39.pyc byte-compiling build/bdist.linux-x86_64/egg/detrex/data/datasets/register_ade20k_full.py to register_ade20k_full.cpython-39.pyc byte-compiling build/bdist.linux-x86_64/egg/detrex/init.py to init.cpython-39.pyc byte-compiling build/bdist.linux-x86_64/egg/detrex/layers/layer_norm.py to layer_norm.cpython-39.pyc byte-compiling build/bdist.linux-x86_64/egg/detrex/layers/mlp.py to mlp.cpython-39.pyc byte-compiling build/bdist.linux-x86_64/egg/detrex/layers/attention.py to attention.cpython-39.pyc byte-compiling build/bdist.linux-x86_64/egg/detrex/layers/denoising.py to denoising.cpython-39.pyc byte-compiling build/bdist.linux-x86_64/egg/detrex/layers/shape_spec.py to shape_spec.cpython-39.pyc byte-compiling build/bdist.linux-x86_64/egg/detrex/layers/position_embedding.py to position_embedding.cpython-39.pyc byte-compiling build/bdist.linux-x86_64/egg/detrex/layers/multi_scale_deform_attn.py to multi_scale_deform_attn.cpython-39.pyc byte-compiling build/bdist.linux-x86_64/egg/detrex/layers/box_ops.py to box_ops.cpython-39.pyc byte-compiling build/bdist.linux-x86_64/egg/detrex/layers/transformer.py to transformer.cpython-39.pyc byte-compiling build/bdist.linux-x86_64/egg/detrex/layers/conv.py to conv.cpython-39.pyc byte-compiling build/bdist.linux-x86_64/egg/detrex/layers/dcn_v3.py to dcn_v3.cpython-39.pyc byte-compiling build/bdist.linux-x86_64/egg/detrex/layers/init.py to init.cpython-39.pyc byte-compiling build/bdist.linux-x86_64/egg/detrex/config/configs/common/data/constants.py to constants.cpython-39.pyc byte-compiling build/bdist.linux-x86_64/egg/detrex/config/configs/common/data/coco_detr.py to coco_detr.cpython-39.pyc byte-compiling build/bdist.linux-x86_64/egg/detrex/config/configs/common/data/coco.py to coco.cpython-39.pyc byte-compiling build/bdist.linux-x86_64/egg/detrex/config/configs/common/data/custom.py to custom.cpython-39.pyc byte-compiling build/bdist.linux-x86_64/egg/detrex/config/configs/common/optim.py to optim.cpython-39.pyc byte-compiling build/bdist.linux-x86_64/egg/detrex/config/configs/common/common_schedule.py to common_schedule.cpython-39.pyc byte-compiling build/bdist.linux-x86_64/egg/detrex/config/configs/common/coco_schedule.py to coco_schedule.cpython-39.pyc byte-compiling build/bdist.linux-x86_64/egg/detrex/config/configs/common/train.py to train.cpython-39.pyc byte-compiling build/bdist.linux-x86_64/egg/detrex/config/init.py to init.cpython-39.pyc byte-compiling build/bdist.linux-x86_64/egg/detrex/config/config.py to config.cpython-39.pyc byte-compiling build/bdist.linux-x86_64/egg/detrex/checkpoint/c2_model_loading.py to c2_model_loading.cpython-39.pyc byte-compiling build/bdist.linux-x86_64/egg/detrex/checkpoint/detection_checkpoint.py to detection_checkpoint.cpython-39.pyc byte-compiling build/bdist.linux-x86_64/egg/detrex/checkpoint/init.py to init.cpython-39.pyc byte-compiling build/bdist.linux-x86_64/egg/detrex/modeling/neck/init.py to init.cpython-39.pyc byte-compiling build/bdist.linux-x86_64/egg/detrex/modeling/neck/channel_mapper.py to channel_mapper.cpython-39.pyc byte-compiling build/bdist.linux-x86_64/egg/detrex/modeling/matcher/match_cost.py to match_cost.cpython-39.pyc byte-compiling build/bdist.linux-x86_64/egg/detrex/modeling/matcher/modified_matcher.py to modified_matcher.cpython-39.pyc byte-compiling build/bdist.linux-x86_64/egg/detrex/modeling/matcher/matcher.py to matcher.cpython-39.pyc byte-compiling build/bdist.linux-x86_64/egg/detrex/modeling/matcher/init.py to init.cpython-39.pyc byte-compiling build/bdist.linux-x86_64/egg/detrex/modeling/backbone/eva_02.py to eva_02.cpython-39.pyc byte-compiling build/bdist.linux-x86_64/egg/detrex/modeling/backbone/utils.py to utils.cpython-39.pyc byte-compiling build/bdist.linux-x86_64/egg/detrex/modeling/backbone/init.py to init.cpython-39.pyc byte-compiling build/bdist.linux-x86_64/egg/detrex/modeling/backbone/convnext.py to convnext.cpython-39.pyc byte-compiling build/bdist.linux-x86_64/egg/detrex/modeling/backbone/torchvision_resnet.py to torchvision_resnet.cpython-39.pyc byte-compiling build/bdist.linux-x86_64/egg/detrex/modeling/backbone/resnet.py to resnet.cpython-39.pyc byte-compiling build/bdist.linux-x86_64/egg/detrex/modeling/backbone/internimage.py to internimage.cpython-39.pyc byte-compiling build/bdist.linux-x86_64/egg/detrex/modeling/backbone/eva_02_utils.py to eva_02_utils.cpython-39.pyc byte-compiling build/bdist.linux-x86_64/egg/detrex/modeling/backbone/timm_backbone.py to timm_backbone.cpython-39.pyc byte-compiling build/bdist.linux-x86_64/egg/detrex/modeling/backbone/focalnet.py to focalnet.cpython-39.pyc byte-compiling build/bdist.linux-x86_64/egg/detrex/modeling/backbone/eva.py to eva.cpython-39.pyc byte-compiling build/bdist.linux-x86_64/egg/detrex/modeling/backbone/torchvision_backbone.py to torchvision_backbone.cpython-39.pyc byte-compiling build/bdist.linux-x86_64/egg/detrex/modeling/criterion/criterion.py to criterion.cpython-39.pyc byte-compiling build/bdist.linux-x86_64/egg/detrex/modeling/criterion/init.py to init.cpython-39.pyc byte-compiling build/bdist.linux-x86_64/egg/detrex/modeling/criterion/base_criterion.py to base_criterion.cpython-39.pyc byte-compiling build/bdist.linux-x86_64/egg/detrex/modeling/init.py to init.cpython-39.pyc byte-compiling build/bdist.linux-x86_64/egg/detrex/modeling/ema.py to ema.cpython-39.pyc byte-compiling build/bdist.linux-x86_64/egg/detrex/modeling/losses/smooth_l1_loss.py to smooth_l1_loss.cpython-39.pyc byte-compiling build/bdist.linux-x86_64/egg/detrex/modeling/losses/cross_entropy_loss.py to cross_entropy_loss.cpython-39.pyc byte-compiling build/bdist.linux-x86_64/egg/detrex/modeling/losses/init.py to init.cpython-39.pyc byte-compiling build/bdist.linux-x86_64/egg/detrex/modeling/losses/focal_loss.py to focal_loss.cpython-39.pyc byte-compiling build/bdist.linux-x86_64/egg/detrex/modeling/losses/utils.py to utils.cpython-39.pyc byte-compiling build/bdist.linux-x86_64/egg/detrex/modeling/losses/giou_loss.py to giou_loss.cpython-39.pyc byte-compiling build/bdist.linux-x86_64/egg/detrex/modeling/losses/dice_loss.py to dice_loss.cpython-39.pyc byte-compiling build/bdist.linux-x86_64/egg/detrex/version.py to version.cpython-39.pyc byte-compiling build/bdist.linux-x86_64/egg/tools/visualize_json_results.py to visualize_json_results.cpython-39.pyc byte-compiling build/bdist.linux-x86_64/egg/tools/train_net.py to train_net.cpython-39.pyc byte-compiling build/bdist.linux-x86_64/egg/tools/visualize_data.py to visualize_data.cpython-39.pyc byte-compiling build/bdist.linux-x86_64/egg/tools/benchmark.py to benchmark.cpython-39.pyc byte-compiling build/bdist.linux-x86_64/egg/tools/hydra_train_net.py to hydra_train_net.cpython-39.pyc byte-compiling build/bdist.linux-x86_64/egg/tools/analyze_model.py to analyze_model.cpython-39.pyc byte-compiling build/bdist.linux-x86_64/egg/tools/init.py to init.cpython-39.pyc creating build/bdist.linux-x86_64/egg/EGG-INFO copying detrex.egg-info/PKG-INFO -> build/bdist.linux-x86_64/egg/EGG-INFO copying detrex.egg-info/SOURCES.txt -> build/bdist.linux-x86_64/egg/EGG-INFO copying detrex.egg-info/dependency_links.txt -> build/bdist.linux-x86_64/egg/EGG-INFO copying detrex.egg-info/requires.txt -> build/bdist.linux-x86_64/egg/EGG-INFO copying detrex.egg-info/top_level.txt -> build/bdist.linux-x86_64/egg/EGG-INFO zip_safe flag not set; analyzing archive contents... tools.pycache.hydra_train_net.cpython-39: module references file tools.pycache.train_net.cpython-39: module references file creating 'dist/detrex-0.3.0-py3.9.egg' and adding 'build/bdist.linux-x86_64/egg' to it removing 'build/bdist.linux-x86_64/egg' (and everything under it) Processing detrex-0.3.0-py3.9.egg creating /home/mu480317/.conda/envs/detrex/lib/python3.9/site-packages/detrex-0.3.0-py3.9.egg Extracting detrex-0.3.0-py3.9.egg to /home/mu480317/.conda/envs/detrex/lib/python3.9/site-packages Removing detrex 0.3.0 from easy-install.pth file Adding detrex 0.3.0 to easy-install.pth file detected new path '/home/mu480317/Object_Detectors/detrex'
Installed /home/mu480317/.conda/envs/detrex/lib/python3.9/site-packages/detrex-0.3.0-py3.9.egg Processing dependencies for detrex==0.3.0 Traceback (most recent call last): File "/home/mu480317/.conda/envs/detrex/lib/python3.9/site-packages/pkg_resources/init.py", line 3109, in _dep_map return self.dep_map File "/home/mu480317/.conda/envs/detrex/lib/python3.9/site-packages/pkg_resources/init.py", line 2902, in getattr__ raise AttributeError(attr) AttributeError: _DistInfoDistribution__dep_map
During handling of the above exception, another exception occurred:
Traceback (most recent call last): File "/home/mu480317/.conda/envs/detrex/lib/python3.9/site-packages/pkg_resources/_vendor/packaging/requirements.py", line 35, in init parsed = _parse_requirement(requirement_string) File "/home/mu480317/.conda/envs/detrex/lib/python3.9/site-packages/pkg_resources/_vendor/packaging/_parser.py", line 64, in parse_requirement return _parse_requirement(Tokenizer(source, rules=DEFAULT_RULES)) File "/home/mu480317/.conda/envs/detrex/lib/python3.9/site-packages/pkg_resources/_vendor/packaging/_parser.py", line 82, in _parse_requirement url, specifier, marker = _parse_requirement_details(tokenizer) File "/home/mu480317/.conda/envs/detrex/lib/python3.9/site-packages/pkg_resources/_vendor/packaging/_parser.py", line 120, in _parse_requirement_details specifier = _parse_specifier(tokenizer) File "/home/mu480317/.conda/envs/detrex/lib/python3.9/site-packages/pkg_resources/_vendor/packaging/_parser.py", line 216, in _parse_specifier parsed_specifiers = _parse_version_many(tokenizer) File "/home/mu480317/.conda/envs/detrex/lib/python3.9/site-packages/pkg_resources/_vendor/packaging/_parser.py", line 231, in _parse_version_many tokenizer.raise_syntax_error( File "/home/mu480317/.conda/envs/detrex/lib/python3.9/site-packages/pkg_resources/_vendor/packaging/_tokenizer.py", line 165, in raise_syntax_error raise ParserSyntaxError( pkg_resources.extern.packaging._tokenizer.ParserSyntaxError: . suffix can only be used with
==
or!=
operators PyYAML (>=5.1.)