Skip to content
This repository has been archived by the owner on Mar 4, 2023. It is now read-only.

ModuleNotFoundError: No module named 'huicv' #19

Open
little-spoon opened this issue Nov 2, 2022 · 0 comments
Open

ModuleNotFoundError: No module named 'huicv' #19

little-spoon opened this issue Nov 2, 2022 · 0 comments

Comments

@little-spoon
Copy link

I have run pip install -v -e .
then I run ./tools/dist_train.sh configs2/mydataset/fcos_r50_caffe_fpn_gn-head_1x_mydataset_msm_tinyperson.py 2

error:

*****************************************
Setting OMP_NUM_THREADS environment variable for each process to be 1 in default, to avoid your system being overloaded, please further tune the variable for optimal performance in your application as needed. 
*****************************************
Traceback (most recent call last):
  File "./tools/train.py", line 15, in <module>
    from mmdet.apis import set_random_seed, train_detector
Traceback (most recent call last):
  File "/home/host/mounted2/lsy/PointTinyBenchmark/TOV_mmdetection/mmdet/apis/__init__.py", line 1, in <module>
  File "./tools/train.py", line 15, in <module>
    from .inference import (async_inference_detector, inference_detector,
  File "/home/host/mounted2/lsy/PointTinyBenchmark/TOV_mmdetection/mmdet/apis/inference.py", line 11, in <module>
        from mmdet.apis import set_random_seed, train_detectorfrom mmdet.datasets import replace_ImageToTensor
  File "/home/host/mounted2/lsy/PointTinyBenchmark/TOV_mmdetection/mmdet/datasets/__init__.py", line 15, in <module>

  File "/home/host/mounted2/lsy/PointTinyBenchmark/TOV_mmdetection/mmdet/apis/__init__.py", line 1, in <module>
    from .cocofmt import CocoFmtDataset  # add by hui
  File "/home/host/mounted2/lsy/PointTinyBenchmark/TOV_mmdetection/mmdet/datasets/cocofmt.py", line 12, in <module>
    from .inference import (async_inference_detector, inference_detector,
  File "/home/host/mounted2/lsy/PointTinyBenchmark/TOV_mmdetection/mmdet/apis/inference.py", line 11, in <module>
    from huicv.evaluation.expand_cocofmt_eval import COCOExpandEval
ModuleNotFoundError: No module named 'huicv'
    from mmdet.datasets import replace_ImageToTensor
  File "/home/host/mounted2/lsy/PointTinyBenchmark/TOV_mmdetection/mmdet/datasets/__init__.py", line 15, in <module>
    from .cocofmt import CocoFmtDataset  # add by hui
  File "/home/host/mounted2/lsy/PointTinyBenchmark/TOV_mmdetection/mmdet/datasets/cocofmt.py", line 12, in <module>
    from huicv.evaluation.expand_cocofmt_eval import COCOExpandEval
ModuleNotFoundError: No module named 'huicv'
Killing subprocess 3674929
Killing subprocess 3674930
Traceback (most recent call last):
  File "/home/host/mounted2/anaconda3/envs/MMDetection/lib/python3.7/runpy.py", line 193, in _run_module_as_main
    "__main__", mod_spec)
  File "/home/host/mounted2/anaconda3/envs/MMDetection/lib/python3.7/runpy.py", line 85, in _run_code
    exec(code, run_globals)
  File "/home/host/mounted2/anaconda3/envs/MMDetection/lib/python3.7/site-packages/torch/distributed/launch.py", line 340, in <module>
    main()
  File "/home/host/mounted2/anaconda3/envs/MMDetection/lib/python3.7/site-packages/torch/distributed/launch.py", line 326, in main
    sigkill_handler(signal.SIGTERM, None)  # not coming back
  File "/home/host/mounted2/anaconda3/envs/MMDetection/lib/python3.7/site-packages/torch/distributed/launch.py", line 301, in sigkill_handler
    raise subprocess.CalledProcessError(returncode=last_return_code, cmd=cmd)
subprocess.CalledProcessError: Command '['/home/host/mounted2/anaconda3/envs/MMDetection/bin/python', '-u', './tools/train.py', '--local_rank=1', 'configs2/mydataset/fcos_r50_caffe_fpn_gn-head_1x_mydataset_msm_tinyperson.py', '--launcher', 'pytorch']' returned non-zero exit status 1.

and then I run pip install huicv

but :

ERROR: Could not find a version that satisfies the requirement huicv (from versions: none)
ERROR: No matching distribution found for huicv

How can I solve this problem? Thank you!!

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant