Traceback (most recent call last):


 "setup.py", line 405, in <module>

setup(


 "/public/software/Anaconda3/lib/python3.8/site-packages/setuptools/__init__.py", line 165, in setup

return distutils.core.setup(**attrs)


 "/public/software/Anaconda3/lib/python3.8/distutils/core.py", line 148, in setup

dist.run_commands()


 "/public/software/Anaconda3/lib/python3.8/distutils/dist.py", line 966, in run_commands

self.run_command(cmd)


 "/public/software/Anaconda3/lib/python3.8/distutils/dist.py", line 985, in run_command

cmd_obj.run()


 "/public/software/Anaconda3/lib/python3.8/distutils/command/build.py", line 135, in run

self.run_command(cmd_name)


 "/public/software/Anaconda3/lib/python3.8/distutils/cmd.py", line 313, in run_command

self.distribution.run_command(command)


 "/public/software/Anaconda3/lib/python3.8/distutils/dist.py", line 985, in run_command

cmd_obj.run()


 "/public/software/Anaconda3/lib/python3.8/site-packages/setuptools/command/build_ext.py", line 87, in run

_build_ext.run(self)


 "/public/software/Anaconda3/lib/python3.8/site-packages/Cython/Distutils/old_build_ext.py", line 186, in run

_build_ext.build_ext.run(self)


 "/public/software/Anaconda3/lib/python3.8/distutils/command/build_ext.py", line 340, in run

self.build_extensions()


 "/public/software/Anaconda3/lib/python3.8/site-packages/torch/utils/cpp_extension.py", line 649, in build_extensions

build_ext.build_extensions(self)


 "/public/software/Anaconda3/lib/python3.8/site-packages/Cython/Distutils/old_build_ext.py", line 195, in build_extensions

_build_ext.build_ext.build_extensions(self)


 "/public/software/Anaconda3/lib/python3.8/distutils/command/build_ext.py", line 449, in build_extensions

self._build_extensions_serial()


 "/public/software/Anaconda3/lib/python3.8/distutils/command/build_ext.py", line 474, in _build_extensions_serial

self.build_extension(ext)


 "/public/software/Anaconda3/lib/python3.8/site-packages/setuptools/command/build_ext.py", line 208, in build_extension

_build_ext.build_extension(self, ext)


 "/public/software/Anaconda3/lib/python3.8/distutils/command/build_ext.py", line 528, in build_extension

objects = self.compiler.compile(sources,


 "/public/software/Anaconda3/lib/python3.8/site-packages/torch/utils/cpp_extension.py", line 469, in unix_wrap_ninja_compile

_write_ninja_file_and_compile_objects(


 "/public/software/Anaconda3/lib/python3.8/site-packages/torch/utils/cpp_extension.py", line 1228, in _write_ninja_file_and_compile_objects

_run_ninja_build(


 "/public/software/Anaconda3/lib/python3.8/site-packages/torch/utils/cpp_extension.py", line 1529, in _run_ninja_build

raise RuntimeError(message)
RuntimeError: Error compiling objects for extension

Traceback (most recent call last):


 "demo.py", line 113, in <module>

out = net(img)


 "/home/csy/anaconda3/envs/pytorch0.4.1/lib/python3.5/site-packages/torch/nn/modules/module.py", line 477, in __call__

result = self.forward(*input, **kwargs)


 "/home/csy/M2Det/m2det.py", line 106, in forward

x = self.base[k](x)


 "/home/csy/anaconda3/envs/pytorch0.4.1/lib/python3.5/site-packages/torch/nn/modules/module.py", line 477, in __call__

result = self.forward(*input, **kwargs)


 "/home/csy/anaconda3/envs/pytorch0.4.1/lib/python3.5/site-packages/torch/nn/modules/conv.py", line 301, in forward

self.padding, self.dilation, self.groups)
RuntimeError: cuda runtime error (11) : invalid argument at /pytorch/aten/src/THC/THCGeneral.cpp:663
