Traceback (most recent call last):


 "./crnn_main.py", line 228, in <module>

val(crnn, test_dataset, criterion)


 "./crnn_main.py", line 176, in val

preds = preds.squeeze(2)


 "/usr/local/lib/python2.7/dist-packages/torch/autograd/variable.py", line 750, in squeeze

return Squeeze.apply(self, dim)


 "/usr/local/lib/python2.7/dist-packages/torch/autograd/_functions/tensor.py", line 378, in forward

result = input.squeeze(dim)
RuntimeError: dimension out of range (expected to be in range of [-2, 1], but got 2)

Traceback (most recent call last):


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


 "/psd/tmp/pip-install-b5q3l0tg/numpy/setup.py", line 394, in <module>

setup_package()


 "/psd/tmp/pip-install-b5q3l0tg/numpy/setup.py", line 386, in setup_package

setup(**metadata)


 "/psd/tmp/pip-install-b5q3l0tg/numpy/numpy/distutils/core.py", line 169, in setup

return old_setup(**new_attr)


 "/psd/biosoft/anaconda/envs/Python-3.7/lib/python3.7/site-packages/setuptools/__init__.py", line 145, in setup

return distutils.core.setup(**attrs)


 "/psd/biosoft/anaconda/envs/Python-3.7/lib/python3.7/distutils/core.py", line 148, in setup

dist.run_commands()


 "/psd/biosoft/anaconda/envs/Python-3.7/lib/python3.7/distutils/dist.py", line 966, in run_commands

self.run_command(cmd)


 "/psd/biosoft/anaconda/envs/Python-3.7/lib/python3.7/distutils/dist.py", line 985, in run_command

cmd_obj.run()


 "/psd/tmp/pip-install-b5q3l0tg/numpy/numpy/distutils/command/install.py", line 62, in run

r = self.setuptools_run()


 "/psd/tmp/pip-install-b5q3l0tg/numpy/numpy/distutils/command/install.py", line 36, in setuptools_run

return distutils_install.run(self)


 "/psd/biosoft/anaconda/envs/Python-3.7/lib/python3.7/distutils/command/install.py", line 545, in run

self.run_command('build')


 "/psd/biosoft/anaconda/envs/Python-3.7/lib/python3.7/distutils/cmd.py", line 313, in run_command

self.distribution.run_command(command)


 "/psd/biosoft/anaconda/envs/Python-3.7/lib/python3.7/distutils/dist.py", line 985, in run_command

cmd_obj.run()


 "/psd/tmp/pip-install-b5q3l0tg/numpy/numpy/distutils/command/build.py", line 47, in run

old_build.run(self)


 "/psd/biosoft/anaconda/envs/Python-3.7/lib/python3.7/distutils/command/build.py", line 135, in run

self.run_command(cmd_name)


 "/psd/biosoft/anaconda/envs/Python-3.7/lib/python3.7/distutils/cmd.py", line 313, in run_command

self.distribution.run_command(command)


 "/psd/biosoft/anaconda/envs/Python-3.7/lib/python3.7/distutils/dist.py", line 985, in run_command

cmd_obj.run()


 "/psd/tmp/pip-install-b5q3l0tg/numpy/numpy/distutils/command/build_src.py", line 148, in run

self.build_sources()


 "/psd/tmp/pip-install-b5q3l0tg/numpy/numpy/distutils/command/build_src.py", line 159, in build_sources

self.build_library_sources(*libname_info)


 "/psd/tmp/pip-install-b5q3l0tg/numpy/numpy/distutils/command/build_src.py", line 294, in build_library_sources

sources = self.generate_sources(sources, (lib_name, build_info))


 "/psd/tmp/pip-install-b5q3l0tg/numpy/numpy/distutils/command/build_src.py", line 377, in generate_sources

source = func(extension, build_dir)


 "numpy/core/setup.py", line 675, in get_mathlib_info

raise RuntimeError("Broken toolchain: cannot link a simple C program")

RuntimeError: Broken toolchain: cannot link a simple C program
