Comments (8)
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.
Could you provide more details about how you install cvpods
?
from yolof.
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.
Thanks for your reply.
I did as you said , but I get the same problem.
Maybe that's not the problem
from yolof.
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.
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.
soory, I shoudl pip intall lvis module, now it's work. thanks
from yolof.
Now it's ok
from yolof.
Related Issues (20)
- How can i run this project in a single gpu HOT 1
- How to convert your moder to onnx? HOT 2
- Save the file HOT 1
- Compatibility with anchor-free methods HOT 1
- label assignment problem HOT 1
- TypeError: __init__() missing 2 required positional arguments: 'cfg' and 'distributed' HOT 1
- How to understand the calculation process of normalized_cls_score? HOT 4
- PASCAL VOC results HOT 1
- How to get FLOPS and params of YOLOF? HOT 1
- Object detection w/ video HOT 1
- RuntimeError: Error compiling objects for extension HOT 1
- AssertionError: Box regression deltas become infinite or NaN! HOT 1
- about accuracy HOT 1
- About NAN during training HOT 1
- pods_train: command not found HOT 5
- there are some errors when I run pods_train HOT 1
- uniform matching how to choose k nearest anchors
- Small or occluded objects
- Question about loss function
- Can't download model HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from yolof.