Traceback (most recent call last):


 "evalpyt2.py", line 87, in <module>

model.load_state_dict(saved_state_dict)


 "/usr/local/lib/python2.7/dist-packages/torch/nn/modules/module.py", line 335, in load_state_dict

own_state[name].copy_(param)
RuntimeError: sizes do not match at /b/wheel/pytorch-src/torch/lib/THC/THCTensorCopy.cu:31


Traceback (most recent call last):


 "<string>", line 1, in <module>


 "/home/zy/mmcv/setup.py", line 319, in <module>

zip_safe=False)


 "/home/zy/anaconda3/envs/open-mmlab/lib/python3.7/site-packages/setuptools/__init__.py", line 153, in setup

return distutils.core.setup(**attrs)


 "/home/zy/anaconda3/envs/open-mmlab/lib/python3.7/distutils/core.py", line 148, in setup

dist.run_commands()


 "/home/zy/anaconda3/envs/open-mmlab/lib/python3.7/distutils/dist.py", line 966, in run_commands

self.run_command(cmd)


 "/home/zy/anaconda3/envs/open-mmlab/lib/python3.7/distutils/dist.py", line 985, in run_command

cmd_obj.run()


 "/home/zy/anaconda3/envs/open-mmlab/lib/python3.7/site-packages/setuptools/command/develop.py", line 34, in run

self.install_for_development()


 "/home/zy/anaconda3/envs/open-mmlab/lib/python3.7/site-packages/setuptools/command/develop.py", line 136, in install_for_development

self.run_command('build_ext')


 "/home/zy/anaconda3/envs/open-mmlab/lib/python3.7/distutils/cmd.py", line 313, in run_command

self.distribution.run_command(command)


 "/home/zy/anaconda3/envs/open-mmlab/lib/python3.7/distutils/dist.py", line 985, in run_command

cmd_obj.run()


 "/home/zy/anaconda3/envs/open-mmlab/lib/python3.7/site-packages/setuptools/command/build_ext.py", line 79, in run

_build_ext.run(self)


 "/home/zy/anaconda3/envs/open-mmlab/lib/python3.7/site-packages/Cython/Distutils/old_build_ext.py", line 186, in run

_build_ext.build_ext.run(self)


 "/home/zy/anaconda3/envs/open-mmlab/lib/python3.7/distutils/command/build_ext.py", line 340, in run

self.build_extensions()


 "/home/zy/anaconda3/envs/open-mmlab/lib/python3.7/site-packages/torch/utils/cpp_extension.py", line 649, in build_extensions

build_ext.build_extensions(self)


 "/home/zy/anaconda3/envs/open-mmlab/lib/python3.7/site-packages/Cython/Distutils/old_build_ext.py", line 195, in build_extensions

_build_ext.build_ext.build_extensions(self)


 "/home/zy/anaconda3/envs/open-mmlab/lib/python3.7/distutils/command/build_ext.py", line 449, in build_extensions

self._build_extensions_serial()


 "/home/zy/anaconda3/envs/open-mmlab/lib/python3.7/distutils/command/build_ext.py", line 474, in _build_extensions_serial

self.build_extension(ext)


 "/home/zy/anaconda3/envs/open-mmlab/lib/python3.7/site-packages/setuptools/command/build_ext.py", line 196, in build_extension

_build_ext.build_extension(self, ext)


 "/home/zy/anaconda3/envs/open-mmlab/lib/python3.7/distutils/command/build_ext.py", line 534, in build_extension

depends=ext.depends)


 "/home/zy/anaconda3/envs/open-mmlab/lib/python3.7/site-packages/torch/utils/cpp_extension.py", line 478, in unix_wrap_ninja_compile

with_cuda=with_cuda)


 "/home/zy/anaconda3/envs/open-mmlab/lib/python3.7/site-packages/torch/utils/cpp_extension.py", line 1233, in _write_ninja_file_and_compile_objects

error_prefix='Error compiling objects for extension')


 "/home/zy/anaconda3/envs/open-mmlab/lib/python3.7/site-packages/torch/utils/cpp_extension.py", line 1529, in _run_ninja_build

raise RuntimeError(message)

RuntimeError: Error compiling objects for extension
