Comments (14)
Oh, I see. from cvpods.checkpoint import DetectionCheckpointer
Change this into from cvpods.checkpoint import DefaultCheckpointer as DetectionCheckpointer
Reference:
code here
from borderdet.
Please run cvpod_train under dir like this. otherwise cvpods will not find your config and network.
Read the README.md carefully, please.
from borderdet.
i run cvpods_train under dir like what you said
however, cvpods cant find config and network, why?
Did I get the directory structure wrong?
from borderdet.
@shenhaibb Please provide text error log next time, thanks. Image is not convenient for users to search and for me to check.
For your issue, it seems that your cvpods doesn't contains checkpoint in utils directory.
from borderdet.
sorry, i will provide text instead of image next time
我的目录结构如下:
- BordeDet-master
- playgound
- tools
- ...
- cvpods
- cvpods
- checkpoints
- configs
- datasets
- tools
- ...
- cvpods
from borderdet.
Shoud i put all codes in BorderDet-master into cvpods-master folder?
I hava tried many structure but no one work
from borderdet.
sorry, i will provide text instead of image next time
我的目录结构如下:
BordeDet-master
playgound
tools
...
cvpods
cvpods
- checkpoints
- configs
datasets
tools
...
There seems to be a problem with this directory structure.
After compiling, from cvpods layers, modeling, structure...
in borderdet.py cant be imported
I think the cvpods folder should contain the borderdet folder (trying)
- cvpods
- cvpods
- checkpoints
- configs
- ...
- datasets
- BordeDet
- playground
- tools
- cvpods
And setup.py in the BorderDet
def get_version():
init_py_path = path.join(path.abspath(path.dirname(__file__)), "cvpods", "__init__.py")
Do we need to replace it with the following code:
init_py_path = path.join(path.abspath(path.dirname(__file__)), "cvpods", "cvpods", "__init__.py")
Otherwise it will show the fault
No such file or directory: 'BorderDet/cvpods/__init__.py'
Or what is the correct directory structure of the item?
from borderdet.
Did you cd your path to cvpods and run setup.py ? Plz don't use setup.py in BorderDet
from borderdet.
Did you cd your path to cvpods and run setup.py ? Plz don't use setup.py in BorderDet
git clone https://github.com/Megvii-BaseDetection/cvpods.git
the name of this repo is cvpods, and there is a folder named cvpods in this repo
from borderdet.
Did you cd your path to cvpods and run setup.py ? Plz don't use setup.py in BorderDet
I use Pycharm, download BorderDet and put it into Pycharm
then I git clone cvpods.git in BorderDet's path
from borderdet.
my directory structure like this,
- cvpods-master
- cvpods
- checkpoints
- configs
- ...
- datasets
- BordeDet
- playground
- tools
- cvpods
and then I enter this cmd cd BorderDet/playground/detection/coco/borderdet/borderdet.res50.fpn.coco.800size.1x
pods_train --num-gpus 8
No module named 'config' in 'cvpods-master/tools/train_net.py', line 151
from borderdet.
hey I solved it
my directory structure like this,
- cvpods-master
- cvpods
- checkpoints
- configs
- ...
- datasets
- BordeDet
- playground
- tools
- cvpods
then cd BorderDet && python3 setup.py build develop
there will be an error No such file or directory: 'BorderDet/cvpods/__init__.py'
never mind
under BorderDet/tools, new 2 files 'pods_test' and pods_train
can be seen
and then delete Line 192 in cvpods-master/setup.py, because there is no tools/pods_debug, and add BorderDet path like below
scripts=[ "BorderDet/tools/pods_train", "BorderDet/tools/pods_test" ],
and then enter cmd python3 setup.py build develop
under cvpods-master
FInished processing dependencies for cvpods==0.1...
then turn to BorderDet/tools/train_net.py
there is an error in Line 26, change to below code.
from cvpods.checkpoint.checkpoint import DetectionCheckpointer
then cd BorderDet/playground/detection/coco/borderdet/borderdet.res50.fpn.coco.800size.1x
and pods_train --num-gpus 8
from borderdet.
Permission denied: '/data'
turn to BorderDet/playground/detection/coco/borderdet/borderdet.res50.fpn.coco.800size.1x/config.py
Line 63 '/data/Outputs/model_logs/cvpods_playground',
change to 'data/Outputs/model_logs/cvpods_playground',
from borderdet.
Traceback (most recent call last):
File "/media/henu/新加卷1/rxh/cvpods-master/BorderDet/tools/train_net.py",
line 216, in
launch(
File "/media/henu/新加卷1/rxh/cvpods-master/cvpods/engine/launch.py", lin
e 64, in launch
main_func(*args)
File "/media/henu/新加卷1/rxh/cvpods-master/BorderDet/tools/train_net.py",
line 203, in main
stage_main(args, config, build_model)
File "/media/henu/新加卷1/rxh/cvpods-master/BorderDet/tools/train_net.py",
line 126, in stage_main
cfg, logger = default_setup(cfg, args)
Is it produced by my change ?
from borderdet.
Related Issues (20)
- example for instance segmentation. HOT 2
- AssertionError: Requires PyTorch >= 1.3 HOT 1
- How to trun on evaluation during the training. HOT 2
- Details of enhacing the single point feature with region features? HOT 2
- 一个不成熟的小建议 HOT 2
- > 1. They are the same.
- I have the same question. HOT 1
- I wonder how you implement border align? HOT 1
- How do you realize border feature extracting in Table 1? HOT 2
- Border Feature Extraction HOT 2
- code issue HOT 1
- Can not reproduce the results. HOT 2
- where is the implementation details of border_align_forward HOT 2
- How to solve the error "cuda runtime error (98) : invalid device function" when run the borderDet? HOT 4
- Error at inference
- HTTP Error HOT 5
- no kernel image is available for execution on the device: border_align_kernel.cu:202 HOT 3
- BorderDet can not run on RTX 3090 GPU? HOT 3
- 论文图2中的实验也是在coarse的分支基础上,再添加新的分支来实现的吗
- 多尺度训练
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 borderdet.