Megvii-BaseDetection / cvpods

All-in-one Toolbox for Computer Vision Research.
https://cvpods.readthedocs.io
Apache License 2.0
645 stars 80 forks source link

No module named lvis #73

Open kuazhangxiaoai opened 3 years ago

kuazhangxiaoai commented 3 years ago

Traceback (most recent call last):
  File "/home/yanggang/pyworks/code/cvpods/tools/train_net.py", line 23, in <module>
    from cvpods.engine import RUNNERS, default_argument_parser, default_setup, hooks, launch
  File "/home/yanggang/pyworks/code/cvpods/cvpods/engine/__init__.py", line 3, in <module>
    from .hooks import *
  File "/home/yanggang/pyworks/code/cvpods/cvpods/engine/hooks.py", line 15, in <module>
    from cvpods.evaluation.testing import flatten_results_dict
  File "/home/yanggang/pyworks/code/cvpods/cvpods/evaluation/__init__.py", line 15, in <module>
    from .lvis_evaluation import LVISEvaluator
  File "/home/yanggang/pyworks/code/cvpods/cvpods/evaluation/lvis_evaluation.py", line 12, in <module>
    from lvis import LVISEval, LVISResults
ModuleNotFoundError: No module named 'lvis'
FateScript commented 3 years ago

got it, please use pip install lvis, We will fix it later.