Giter Site home page Giter Site logo

Comments (8)

chensnathan avatar chensnathan commented on June 27, 2024 1

As we already include the cvpods package in this repo, you may install and run with the following steps:

git clone [email protected]:megvii-model/YOLOF.git
cd YOLOF/
python setup.py develop
cd ./playground/detection/coco/yolof/yolof.res50.C5.1x
pods_train --num-gpus 2

BTW, thanks for reporting this. Will refactor the codebase soon to avoid ambiguity.

from yolof.

chensnathan avatar chensnathan commented on June 27, 2024

Could you provide more details about how you install cvpods?

from yolof.

2019ZSS avatar 2019ZSS commented on June 27, 2024

according to https://github.com/megvii-model/YOLOF/blob/main/README_cvpods.md
just use command: pip install 'git+https://github.com/Megvii-BaseDetection/cvpods.git' --user

from yolof.

2019ZSS avatar 2019ZSS commented on June 27, 2024

Thanks for your reply.
I did as you said , but I get the same problem.
Maybe that's not the problem

from yolof.

chensnathan avatar chensnathan commented on June 27, 2024

If you follow the steps above, the error should not start with '/tmp/pip'. It will use the file for training whose path is YOLOF/tools/train_net.py. You can check that in the file YOLOF/tools/pods_train.

Have you uninstalled the previously installed cvpods before you re-install this repo? Or are there any errors that occur during the installation?

from yolof.

2019ZSS avatar 2019ZSS commented on June 27, 2024

I reinstall cvpods and YOLOF to solve the above problem.
But when I run: pods_train --num-gpus 2
I get a new problem:

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

I try to install python-lvis module, but this is not useful.

from yolof.

2019ZSS avatar 2019ZSS commented on June 27, 2024

soory, I shoudl pip intall lvis module, now it's work. thanks

from yolof.

2019ZSS avatar 2019ZSS commented on June 27, 2024

Now it's ok

from yolof.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.