Git Product home page Git Product logo

Comments (6)

dingjiansw101 avatar dingjiansw101 commented on July 17, 2024

It seems a warning instead of an error. Can you run the training or testing code?

from aerialdetection.

237014845 avatar 237014845 commented on July 17, 2024

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.

dingjiansw101 avatar dingjiansw101 commented on July 17, 2024

Can you pass the compile.sh in pytorch1.1?

from aerialdetection.

237014845 avatar 237014845 commented on July 17, 2024

@dingjiansw101 Now it works, thanks

from aerialdetection.

daibin88 avatar daibin88 commented on July 17, 2024

@dingjiansw101 Now it works, thanks

How to solve this issue?

from aerialdetection.

seacloud-0420 avatar seacloud-0420 commented on July 17, 2024

@daibin88
I met the same problem.Have you solved it?

from aerialdetection.

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.