Comments (6)
It seems a warning instead of an error. Can you run the training or testing code?
from aerialdetection.
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 7, in
Traceback (most recent call last):
File "./tools/train.py", line 7, in
from mmdet.datasets import get_dataset
File "/home/hs/hao/contextnet/AerialDetection-master/mmdet/datasets/init.py", line 1, in
from mmdet.datasets import get_dataset
File "/home/hs/hao/contextnet/AerialDetection-master/mmdet/datasets/init.py", line 1, in
from .custom import CustomDataset
File "/home/hs/hao/contextnet/AerialDetection-master/mmdet/datasets/custom.py", line 11, in
from .custom import CustomDataset
File "/home/hs/hao/contextnet/AerialDetection-master/mmdet/datasets/custom.py", line 11, in
from .extra_aug import ExtraAugmentation
File "/home/hs/hao/contextnet/AerialDetection-master/mmdet/datasets/extra_aug.py", line 5, in
from .extra_aug import ExtraAugmentation
File "/home/hs/hao/contextnet/AerialDetection-master/mmdet/datasets/extra_aug.py", line 5, in
from mmdet.core.evaluation.bbox_overlaps import bbox_overlaps
File "/home/hs/hao/contextnet/AerialDetection-master/mmdet/core/init.py", line 4, in
from mmdet.core.evaluation.bbox_overlaps import bbox_overlaps
File "/home/hs/hao/contextnet/AerialDetection-master/mmdet/core/init.py", line 4, in
from .loss import * # noqa: F401, F403
File "/home/hs/hao/contextnet/AerialDetection-master/mmdet/core/loss/init.py", line 1, in
from .loss import * # noqa: F401, F403
File "/home/hs/hao/contextnet/AerialDetection-master/mmdet/core/loss/init.py", line 1, in
from .losses import (weighted_nll_loss, weighted_cross_entropy,
File "/home/hs/hao/contextnet/AerialDetection-master/mmdet/core/loss/losses.py", line 7, in
from .losses import (weighted_nll_loss, weighted_cross_entropy,
File "/home/hs/hao/contextnet/AerialDetection-master/mmdet/core/loss/losses.py", line 7, in
from ...ops import sigmoid_focal_loss
File "/home/hs/hao/contextnet/AerialDetection-master/mmdet/ops/init.py", line 1, in
from ...ops import sigmoid_focal_loss
File "/home/hs/hao/contextnet/AerialDetection-master/mmdet/ops/init.py", line 1, in
from .dcn import (DeformConv, DeformConvPack, ModulatedDeformConv,
File "/home/hs/hao/contextnet/AerialDetection-master/mmdet/ops/dcn/init.py", line 1, in
from .dcn import (DeformConv, DeformConvPack, ModulatedDeformConv,
File "/home/hs/hao/contextnet/AerialDetection-master/mmdet/ops/dcn/init.py", line 1, in
from .functions.deform_conv import deform_conv, modulated_deform_conv
File "/home/hs/hao/contextnet/AerialDetection-master/mmdet/ops/dcn/functions/deform_conv.py", line 5, in
from .functions.deform_conv import deform_conv, modulated_deform_conv
File "/home/hs/hao/contextnet/AerialDetection-master/mmdet/ops/dcn/functions/deform_conv.py", line 5, in
from .. import deform_conv_cuda
ImportError: cannot import name 'deform_conv_cuda' from 'mmdet.ops.dcn' (/home/hs/hao/contextnet/AerialDetection-master/mmdet/ops/dcn/init.py)
from .. import deform_conv_cuda
ImportError: cannot import name 'deform_conv_cuda' from 'mmdet.ops.dcn' (/home/hs/hao/contextnet/AerialDetection-master/mmdet/ops/dcn/init.py)
Traceback (most recent call last):
File "/home/hs/anaconda3/lib/python3.7/runpy.py", line 193, in _run_module_as_main
"main", mod_spec)
File "/home/hs/anaconda3/lib/python3.7/runpy.py", line 85, in _run_code
exec(code, run_globals)
File "/home/hs/anaconda3/lib/python3.7/site-packages/torch/distributed/launch.py", line 246, in
main()
File "/home/hs/anaconda3/lib/python3.7/site-packages/torch/distributed/launch.py", line 242, in main
cmd=cmd)
subprocess.CalledProcessError: Command '['/home/hs/anaconda3/bin/python', '-u', './tools/train.py', '--local_rank=1', '/home/hs/hao/contextnet/AerialDetection-master/configs/DOTA/dota1_1024_train_val/retina_obb_r50_ctfpn2_2x.py', '--launcher', 'pytorch']' returned non-zero exit status 1.
from aerialdetection.
Can you pass the compile.sh in pytorch1.1?
from aerialdetection.
@dingjiansw101 Now it works, thanks
from aerialdetection.
@dingjiansw101 Now it works, thanks
How to solve this issue?
from aerialdetection.
@daibin88
I met the same problem.Have you solved it?
from aerialdetection.
Related Issues (20)
- cannot import name 'download_url_to_file' from 'torch.hub HOT 2
- epoch_12.pth is not a checkpoint file HOT 1
- The URL scheme of "modelzoo://" is deprecated, please use "torchvision "modelzoo://" is deprecated, please ' 2022-11-21 15:12:43,461 - WARNING - The model and loaded state dict do not match exactly
- ValueError: need at least one array to concatenate HOT 2
- Welcome update to OpenMMLab 2.0
- Where is the RPS RoI Align in this code? HOT 2
- stuck at 0% when excute python demo_large_image.py
- RuntimeError
- 按照INSTALL操作,编译不过,这是啥原因 HOT 3
- 标注文件的问题
- 旋转目标标注文件生成 HOT 1
- about the learning rate for single GPU HOT 2
- AerialDetection code using latest version of MMDetection HOT 2
- HBB检测效果怎么查看?
- 为什么将Task1_results_nms.zip的结果压缩包提交到服务器后,收不到检测结果? HOT 1
- how to see the loss? HOT 1
- dota1.0的测评网站进不去呀
- ImportError: cannot import name 'deform_conv_cuda' from 'mmdet.ops.dcn' (/content/drive/MyDrive/AerialDetection/mmdet/ops/dcn/__init__.py) HOT 1
- 如何使用dota数据集的测试集? HOT 1
- Faster-RCNN-R50-FPN 在TASK2 DOTAV1.0精度对不上 HOT 3
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 aerialdetection.