pytorch-crfasrnn icon indicating copy to clipboard operation
pytorch-crfasrnn copied to clipboard

Compile error

Open d383424185 opened this issue 6 years ago • 19 comments

an error occured when i compiled the gpu version of permutohedral_filtering. the error is ''error: command '/usr/local/cuda-9.0/bin/nvcc' failed with exit status 1'' my cuda version is 9.0.176, pytorch version is 0.4.1.post2 and gcc version is 5.5 thanks for you help

d383424185 avatar Feb 28 '19 02:02 d383424185

Hello, I cann't reconstruct the error. I use cuda 9.0.176, python 3.6 python 0.4.1 and gcc 5.5.0. It compiles without errors. I add installation instructions to the readme. Does they solve the problem?

Fettpet avatar Feb 28 '19 13:02 Fettpet

Sorry, I still have this issue. I noticed that when I compile the gpu version, there are some error information like 'error:cannot convert ‘std::basic_string’ to ‘int’ in return return cast<T>(object);' and 'error: no matching function for call to ‘collect_arguments(const char* const&)’ return detail::collect_arguments(std::forward<Args>(args)...).call(' and so on. thanks for your reply

d383424185 avatar Mar 01 '19 01:03 d383424185

Can you copy the complete output? What python version do you use?

Fettpet avatar Mar 05 '19 14:03 Fettpet

I use python 3.6.5 and the complete output is running install running bdist_egg running egg_info writing Permutohedral.egg-info/PKG-INFO writing dependency_links to Permutohedral.egg-info/dependency_links.txt writing top-level names to Permutohedral.egg-info/top_level.txt reading manifest file 'Permutohedral.egg-info/SOURCES.txt' writing manifest file 'Permutohedral.egg-info/SOURCES.txt' installing library code to build/bdist.linux-x86_64/egg running install_lib running build_ext building 'Permutohedral_gpu' extension /usr/local/cuda-9.0/bin/nvcc -I/home/james/SBteam/anaconda3/envs/tensorflow/lib/python3.6/site-packages/torch/lib/include -I/home/james/SBteam/anaconda3/envs/tensorflow/lib/python3.6/site-packages/torch/lib/include/TH -I/home/james/SBteam/anaconda3/envs/tensorflow/lib/python3.6/site-packages/torch/lib/include/THC -I/usr/local/cuda-9.0/include -I/home/james/SBteam/anaconda3/envs/tensorflow/include/python3.6m -c source/gpu/LatticeFilter.cu -o build/temp.linux-x86_64-3.6/source/gpu/LatticeFilter.o -DTORCH_EXTENSION_NAME=Permutohedral_gpu -D_GLIBCXX_USE_CXX11_ABI=0 --compiler-options '-fPIC' -std=c++11 /home/james/SBteam/anaconda3/envs/tensorflow/lib/python3.6/site-packages/torch/lib/include/pybind11/cast.h(1695): warning: pointless comparison of unsigned integer with zero detected during: instantiation of "pybind11::tuple pybind11::make_tuple(Args &&...) [with policy=pybind11::return_value_policy::automatic_reference, Args=<>]" (1879): here instantiation of "pybind11::detail::simple_collector::simple_collector(Ts &&...) [with policy=pybind11::return_value_policy::automatic_reference, Ts=<>]" (2023): here instantiation of "pybind11::detail::simple_collector pybind11::detail::collect_arguments<policy,Args...,>(Args &&...) [with policy=pybind11::return_value_policy::automatic_reference, Args=<>, =void]" (2043): here instantiation of "pybind11::object pybind11::detail::object_api<Derived>::operator()(Args &&...) const [with Derived=pybind11::detail::accessorpybind11::detail::accessor_policies::str_attr, policy=pybind11::return_value_policy::automatic_reference, Args=<>]" /home/james/SBteam/anaconda3/envs/tensorflow/lib/python3.6/site-packages/torch/lib/include/pybind11/pybind11.h(200): here

/home/james/SBteam/anaconda3/envs/tensorflow/lib/python3.6/site-packages/torch/lib/include/pybind11/pytypes.h:1154:206: error: expansion pattern ‘pybind11::detail::negation<std::is_same<pybind11::detail::bools<pybind11::detail::negation<std::is_base_of<pybind11::arg, Args> >::value ..., pybind11::detail::negation<std::is_same<pybind11::detail::kwargs_proxy, Args> >::value ..., true>, pybind11::detail::bools<true, pybind11::detail::negation<std::is_base_of<pybind11::arg, Args> >::value ..., pybind11::detail::negation<std::is_same<pybind11::detail::kwargs_proxy, Args> >::value ...> > >::value’ contains no argument packs /home/james/SBteam/anaconda3/envs/tensorflow/lib/python3.6/site-packages/torch/lib/include/pybind11/pytypes.h:1154:215: error: template argument 1 is invalid /home/james/SBteam/anaconda3/envs/tensorflow/lib/python3.6/site-packages/torch/lib/include/pybind11/pytypes.h:1154:392: error: expansion pattern ‘pybind11::detail::negation<std::is_same<pybind11::detail::bools<pybind11::detail::negation<std::is_base_of<pybind11::arg, Args> >::value ..., pybind11::detail::negation<std::is_same<pybind11::detail::kwargs_proxy, Args> >::value ..., true>, pybind11::detail::bools<true, pybind11::detail::negation<std::is_base_of<pybind11::arg, Args> >::value ..., pybind11::detail::negation<std::is_same<pybind11::detail::kwargs_proxy, Args> >::value ...> > >::value’ contains no argument packs /home/james/SBteam/anaconda3/envs/tensorflow/lib/python3.6/site-packages/torch/lib/include/pybind11/pytypes.h:1154:395: error: template argument 2 is invalid /home/james/SBteam/anaconda3/envs/tensorflow/lib/python3.6/site-packages/torch/lib/include/pybind11/pytypes.h:1154:397: error: template argument 1 is invalid /home/james/SBteam/anaconda3/envs/tensorflow/lib/python3.6/site-packages/torch/lib/include/pybind11/pytypes.h:1154:397: error: template argument 2 is invalid /home/james/SBteam/anaconda3/envs/tensorflow/lib/python3.6/site-packages/torch/lib/include/pybind11/pytypes.h:1154:412: error: template argument 1 is invalid /home/james/SBteam/anaconda3/envs/tensorflow/lib/python3.6/site-packages/torch/lib/include/pybind11/cast.h:765:149: error: expansion pattern ‘std::is_copy_constructible<_Tp>::value’ contains no argument packs /home/james/SBteam/anaconda3/envs/tensorflow/lib/python3.6/site-packages/torch/lib/include/pybind11/cast.h:765:240: error: expansion pattern ‘std::is_same<typename Container::value_type&, typename Container::reference>::value’ contains no argument packs /home/james/SBteam/anaconda3/envs/tensorflow/lib/python3.6/site-packages/torch/lib/include/pybind11/cast.h:765:249: error: template argument 1 is invalid /home/james/SBteam/anaconda3/envs/tensorflow/lib/python3.6/site-packages/torch/lib/include/pybind11/cast.h:765:249: error: template argument 2 is invalid /home/james/SBteam/anaconda3/envs/tensorflow/lib/python3.6/site-packages/torch/lib/include/pybind11/cast.h:765:312: error: expansion pattern ‘std::is_copy_constructible<_Tp>::value’ contains no argument packs /home/james/SBteam/anaconda3/envs/tensorflow/lib/python3.6/site-packages/torch/lib/include/pybind11/cast.h:765:403: error: expansion pattern ‘std::is_same<typename Container::value_type&, typename Container::reference>::value’ contains no argument packs /home/james/SBteam/anaconda3/envs/tensorflow/lib/python3.6/site-packages/torch/lib/include/pybind11/cast.h:765:406: error: template argument 2 is invalid /home/james/SBteam/anaconda3/envs/tensorflow/lib/python3.6/site-packages/torch/lib/include/pybind11/cast.h:765:406: error: template argument 3 is invalid /home/james/SBteam/anaconda3/envs/tensorflow/lib/python3.6/site-packages/torch/lib/include/pybind11/cast.h:765:408: error: template argument 1 is invalid /home/james/SBteam/anaconda3/envs/tensorflow/lib/python3.6/site-packages/torch/lib/include/pybind11/cast.h:765:408: error: template argument 2 is invalid /home/james/SBteam/anaconda3/envs/tensorflow/lib/python3.6/site-packages/torch/lib/include/pybind11/cast.h:765:423: error: template argument 1 is invalid /home/james/SBteam/anaconda3/envs/tensorflow/lib/python3.6/site-packages/torch/lib/include/pybind11/cast.h:765:425: error: template argument 2 is invalid /home/james/SBteam/anaconda3/envs/tensorflow/lib/python3.6/site-packages/torch/lib/include/pybind11/cast.h:927:126: error: expansion pattern ‘pybind11::detail::negation<std::is_same<CharT, char> >’ contains no argument packs /home/james/SBteam/anaconda3/envs/tensorflow/lib/python3.6/site-packages/torch/lib/include/pybind11/cast.h:927:170: error: expansion pattern ‘pybind11::detail::negation<std::is_same<CharT, char16_t> >’ contains no argument packs /home/james/SBteam/anaconda3/envs/tensorflow/lib/python3.6/site-packages/torch/lib/include/pybind11/cast.h:927:214: error: expansion pattern ‘pybind11::detail::negation<std::is_same<CharT, char32_t> >’ contains no argument packs /home/james/SBteam/anaconda3/envs/tensorflow/lib/python3.6/site-packages/torch/lib/include/pybind11/cast.h:927:257: error: expansion pattern ‘pybind11::detail::negation<std::is_same<CharT, wchar_t> >’ contains no argument packs /home/james/SBteam/anaconda3/envs/tensorflow/lib/python3.6/site-packages/torch/lib/include/pybind11/cast.h:927:260: error: template argument 1 is invalid /home/james/SBteam/anaconda3/envs/tensorflow/lib/python3.6/site-packages/torch/lib/include/pybind11/cast.h:927:260: error: template argument 2 is invalid /home/james/SBteam/anaconda3/envs/tensorflow/lib/python3.6/site-packages/torch/lib/include/pybind11/cast.h:927:260: error: template argument 3 is invalid /home/james/SBteam/anaconda3/envs/tensorflow/lib/python3.6/site-packages/torch/lib/include/pybind11/cast.h:927:260: error: template argument 4 is invalid /home/james/SBteam/anaconda3/envs/tensorflow/lib/python3.6/site-packages/torch/lib/include/pybind11/cast.h:927:262: error: template argument 1 is invalid /home/james/SBteam/anaconda3/envs/tensorflow/lib/python3.6/site-packages/torch/lib/include/pybind11/cast.h:1204:138: error: expansion pattern ‘pybind11::detail::negation<std::is_same<CharT, char> >’ contains no argument packs /home/james/SBteam/anaconda3/envs/tensorflow/lib/python3.6/site-packages/torch/lib/include/pybind11/cast.h:1204:186: error: expansion pattern ‘pybind11::detail::negation<std::is_same<CharT, char16_t> >’ contains no argument packs /home/james/SBteam/anaconda3/envs/tensorflow/lib/python3.6/site-packages/torch/lib/include/pybind11/cast.h:1204:234: error: expansion pattern ‘pybind11::detail::negation<std::is_same<CharT, char32_t> >’ contains no argument packs /home/james/SBteam/anaconda3/envs/tensorflow/lib/python3.6/site-packages/torch/lib/include/pybind11/cast.h:1204:281: error: expansion pattern ‘pybind11::detail::negation<std::is_same<CharT, wchar_t> >’ contains no argument packs /home/james/SBteam/anaconda3/envs/tensorflow/lib/python3.6/site-packages/torch/lib/include/pybind11/cast.h:1204:284: error: template argument 1 is invalid /home/james/SBteam/anaconda3/envs/tensorflow/lib/python3.6/site-packages/torch/lib/include/pybind11/cast.h:1204:284: error: template argument 2 is invalid /home/james/SBteam/anaconda3/envs/tensorflow/lib/python3.6/site-packages/torch/lib/include/pybind11/cast.h:1204:284: error: template argument 3 is invalid /home/james/SBteam/anaconda3/envs/tensorflow/lib/python3.6/site-packages/torch/lib/include/pybind11/cast.h:1204:284: error: template argument 4 is invalid /home/james/SBteam/anaconda3/envs/tensorflow/lib/python3.6/site-packages/torch/lib/include/pybind11/cast.h:1204:286: error: template argument 1 is invalid /home/james/SBteam/anaconda3/envs/tensorflow/lib/python3.6/site-packages/torch/lib/include/pybind11/cast.h:1204:301: error: template argument 1 is invalid /home/james/SBteam/anaconda3/envs/tensorflow/lib/python3.6/site-packages/torch/lib/include/pybind11/cast.h:1204:303: error: template argument 2 is invalid /home/james/SBteam/anaconda3/envs/tensorflow/lib/python3.6/site-packages/torch/lib/include/pybind11/cast.h:1215:121: error: expansion pattern ‘pybind11::detail::negation<std::is_same<CharT, char> >’ contains no argument packs /home/james/SBteam/anaconda3/envs/tensorflow/lib/python3.6/site-packages/torch/lib/include/pybind11/cast.h:1215:169: error: expansion pattern ‘pybind11::detail::negation<std::is_same<CharT, char16_t> >’ contains no argument packs /home/james/SBteam/anaconda3/envs/tensorflow/lib/python3.6/site-packages/torch/lib/include/pybind11/cast.h:1215:217: error: expansion pattern ‘pybind11::detail::negation<std::is_same<CharT, char32_t> >’ contains no argument packs /home/james/SBteam/anaconda3/envs/tensorflow/lib/python3.6/site-packages/torch/lib/include/pybind11/cast.h:1215:264: error: expansion pattern ‘pybind11::detail::negation<std::is_same<CharT, wchar_t> >’ contains no argument packs /home/james/SBteam/anaconda3/envs/tensorflow/lib/python3.6/site-packages/torch/lib/include/pybind11/cast.h:1215:267: error: template argument 1 is invalid /home/james/SBteam/anaconda3/envs/tensorflow/lib/python3.6/site-packages/torch/lib/include/pybind11/cast.h:1215:267: error: template argument 2 is invalid /home/james/SBteam/anaconda3/envs/tensorflow/lib/python3.6/site-packages/torch/lib/include/pybind11/cast.h:1215:267: error: template argument 3 is invalid /home/james/SBteam/anaconda3/envs/tensorflow/lib/python3.6/site-packages/torch/lib/include/pybind11/cast.h:1215:267: error: template argument 4 is invalid /home/james/SBteam/anaconda3/envs/tensorflow/lib/python3.6/site-packages/torch/lib/include/pybind11/cast.h:1215:269: error: template argument 1 is invalid /home/james/SBteam/anaconda3/envs/tensorflow/lib/python3.6/site-packages/torch/lib/include/pybind11/cast.h:1215:284: error: template argument 1 is invalid /home/james/SBteam/anaconda3/envs/tensorflow/lib/python3.6/site-packages/torch/lib/include/pybind11/cast.h:1215:286: error: template argument 2 is invalid /home/james/SBteam/anaconda3/envs/tensorflow/lib/python3.6/site-packages/torch/lib/include/pybind11/cast.h:1537:112: error: expansion pattern ‘std::is_void<_Tp>’ contains no argument packs /home/james/SBteam/anaconda3/envs/tensorflow/lib/python3.6/site-packages/torch/lib/include/pybind11/cast.h:1537:137: error: expansion pattern ‘std::is_pointer<_Tp>’ contains no argument packs /home/james/SBteam/anaconda3/envs/tensorflow/lib/python3.6/site-packages/torch/lib/include/pybind11/cast.h:1537:164: error: expansion pattern ‘std::is_reference<_Tp>’ contains no argument packs /home/james/SBteam/anaconda3/envs/tensorflow/lib/python3.6/site-packages/torch/lib/include/pybind11/cast.h:1537:187: error: expansion pattern ‘std::is_const<_Tp>’ contains no argument packs /home/james/SBteam/anaconda3/envs/tensorflow/lib/python3.6/site-packages/torch/lib/include/pybind11/cast.h:1537:190: error: template argument 1 is invalid /home/james/SBteam/anaconda3/envs/tensorflow/lib/python3.6/site-packages/torch/lib/include/pybind11/cast.h:1537:190: error: template argument 2 is invalid /home/james/SBteam/anaconda3/envs/tensorflow/lib/python3.6/site-packages/torch/lib/include/pybind11/cast.h:1537:190: error: template argument 3 is invalid /home/james/SBteam/anaconda3/envs/tensorflow/lib/python3.6/site-packages/torch/lib/include/pybind11/cast.h:1537:190: error: template argument 4 is invalid /home/james/SBteam/anaconda3/envs/tensorflow/lib/python3.6/site-packages/torch/lib/include/pybind11/cast.h:1537:192: error: template argument 1 is invalid /home/james/SBteam/anaconda3/envs/tensorflow/lib/python3.6/site-packages/torch/lib/include/pybind11/cast.h:1537:201: error: expected parameter pack before ‘...’ /home/james/SBteam/anaconda3/envs/tensorflow/lib/python3.6/site-packages/torch/lib/include/pybind11/cast.h:1537:251: error: expansion pattern ‘pybind11::detail::negation<pybind11::detail::is_copy_constructible<T1> >::value’ contains no argument packs /home/james/SBteam/anaconda3/envs/tensorflow/lib/python3.6/site-packages/torch/lib/include/pybind11/cast.h:1537:294: error: expansion pattern ‘std::is_move_constructible<_Tp>::value’ contains no argument packs /home/james/SBteam/anaconda3/envs/tensorflow/lib/python3.6/site-packages/torch/lib/include/pybind11/cast.h:1537:392: error: expansion pattern ‘std::is_same<decltype (declval<pybind11::detail::type_caster<typename pybind11::detail::intrinsic_type<T>::type, void> >().operator T&()), T&>::value’ contains no argument packs /home/james/SBteam/anaconda3/envs/tensorflow/lib/python3.6/site-packages/torch/lib/include/pybind11/cast.h:1537:401: error: template argument 1 is invalid /home/james/SBteam/anaconda3/envs/tensorflow/lib/python3.6/site-packages/torch/lib/include/pybind11/cast.h:1537:401: error: template argument 2 is invalid /home/james/SBteam/anaconda3/envs/tensorflow/lib/python3.6/site-packages/torch/lib/include/pybind11/cast.h:1537:401: error: template argument 3 is invalid /home/james/SBteam/anaconda3/envs/tensorflow/lib/python3.6/site-packages/torch/lib/include/pybind11/cast.h:1537:401: error: template argument 4 is invalid /home/james/SBteam/anaconda3/envs/tensorflow/lib/python3.6/site-packages/torch/lib/include/pybind11/cast.h:1537:453: error: expansion pattern ‘std::is_void<_Tp>’ contains no argument packs /home/james/SBteam/anaconda3/envs/tensorflow/lib/python3.6/site-packages/torch/lib/include/pybind11/cast.h:1537:478: error: expansion pattern ‘std::is_pointer<_Tp>’ contains no argument packs /home/james/SBteam/anaconda3/envs/tensorflow/lib/python3.6/site-packages/torch/lib/include/pybind11/cast.h:1537:505: error: expansion pattern ‘std::is_reference<_Tp>’ contains no argument packs /home/james/SBteam/anaconda3/envs/tensorflow/lib/python3.6/site-packages/torch/lib/include/pybind11/cast.h:1537:528: error: expansion pattern ‘std::is_const<_Tp>’ contains no argument packs /home/james/SBteam/anaconda3/envs/tensorflow/lib/python3.6/site-packages/torch/lib/include/pybind11/cast.h:1537:531: error: template argument 1 is invalid /home/james/SBteam/anaconda3/envs/tensorflow/lib/python3.6/site-packages/torch/lib/include/pybind11/cast.h:1537:531: error: template argument 2 is invalid /home/james/SBteam/anaconda3/envs/tensorflow/lib/python3.6/site-packages/torch/lib/include/pybind11/cast.h:1537:531: error: template argument 3 is invalid /home/james/SBteam/anaconda3/envs/tensorflow/lib/python3.6/site-packages/torch/lib/include/pybind11/cast.h:1537:531: error: template argument 4 is invalid /home/james/SBteam/anaconda3/envs/tensorflow/lib/python3.6/site-packages/torch/lib/include/pybind11/cast.h:1537:533: error: template argument 1 is invalid /home/james/SBteam/anaconda3/envs/tensorflow/lib/python3.6/site-packages/torch/lib/include/pybind11/cast.h:1537:542: error: expected parameter pack before ‘...’ /home/james/SBteam/anaconda3/envs/tensorflow/lib/python3.6/site-packages/torch/lib/include/pybind11/cast.h:1537:592: error: expansion pattern ‘pybind11::detail::negation<pybind11::detail::is_copy_constructible<T1> >::value’ contains no argument packs /home/james/SBteam/anaconda3/envs/tensorflow/lib/python3.6/site-packages/torch/lib/include/pybind11/cast.h:1537:635: error: expansion pattern ‘std::is_move_constructible<_Tp>::value’ contains no argument packs /home/james/SBteam/anaconda3/envs/tensorflow/lib/python3.6/site-packages/torch/lib/include/pybind11/cast.h:1537:733: error: expansion pattern ‘std::is_same<decltype (declval<pybind11::detail::type_caster<typename pybind11::detail::intrinsic_type<T>::type, void> >().operator T&()), T&>::value’ contains no argument packs /home/james/SBteam/anaconda3/envs/tensorflow/lib/python3.6/site-packages/torch/lib/include/pybind11/cast.h:1537:736: error: template argument 2 is invalid /home/james/SBteam/anaconda3/envs/tensorflow/lib/python3.6/site-packages/torch/lib/include/pybind11/cast.h:1537:736: error: template argument 3 is invalid /home/james/SBteam/anaconda3/envs/tensorflow/lib/python3.6/site-packages/torch/lib/include/pybind11/cast.h:1537:736: error: template argument 4 is invalid /home/james/SBteam/anaconda3/envs/tensorflow/lib/python3.6/site-packages/torch/lib/include/pybind11/cast.h:1537:736: error: template argument 5 is invalid /home/james/SBteam/anaconda3/envs/tensorflow/lib/python3.6/site-packages/torch/lib/include/pybind11/cast.h:1537:738: error: template argument 1 is invalid /home/james/SBteam/anaconda3/envs/tensorflow/lib/python3.6/site-packages/torch/lib/include/pybind11/cast.h:1537:738: error: template argument 2 is invalid /home/james/SBteam/anaconda3/envs/tensorflow/lib/python3.6/site-packages/torch/lib/include/pybind11/cast.h:1537:753: error: template argument 1 is invalid /home/james/SBteam/anaconda3/envs/tensorflow/lib/python3.6/site-packages/torch/lib/include/pybind11/cast.h:1537:755: error: template argument 2 is invalid /home/james/SBteam/anaconda3/envs/tensorflow/lib/python3.6/site-packages/torch/lib/include/pybind11/cast.h:1544:121: error: expansion pattern ‘std::is_void<_Tp>’ contains no argument packs /home/james/SBteam/anaconda3/envs/tensorflow/lib/python3.6/site-packages/torch/lib/include/pybind11/cast.h:1544:146: error: expansion pattern ‘std::is_pointer<_Tp>’ contains no argument packs /home/james/SBteam/anaconda3/envs/tensorflow/lib/python3.6/site-packages/torch/lib/include/pybind11/cast.h:1544:173: error: expansion pattern ‘std::is_reference<_Tp>’ contains no argument packs /home/james/SBteam/anaconda3/envs/tensorflow/lib/python3.6/site-packages/torch/lib/include/pybind11/cast.h:1544:196: error: expansion pattern ‘std::is_const<_Tp>’ contains no argument packs /home/james/SBteam/anaconda3/envs/tensorflow/lib/python3.6/site-packages/torch/lib/include/pybind11/cast.h:1544:199: error: template argument 1 is invalid /home/james/SBteam/anaconda3/envs/tensorflow/lib/python3.6/site-packages/torch/lib/include/pybind11/cast.h:1544:199: error: template argument 2 is invalid /home/james/SBteam/anaconda3/envs/tensorflow/lib/python3.6/site-packages/torch/lib/include/pybind11/cast.h:1544:199: error: template argument 3 is invalid /home/james/SBteam/anaconda3/envs/tensorflow/lib/python3.6/site-packages/torch/lib/include/pybind11/cast.h:1544:199: error: template argument 4 is invalid /home/james/SBteam/anaconda3/envs/tensorflow/lib/python3.6/site-packages/torch/lib/include/pybind11/cast.h:1544:201: error: template argument 1 is invalid /home/james/SBteam/anaconda3/envs/tensorflow/lib/python3.6/site-packages/torch/lib/include/pybind11/cast.h:1544:210: error: expected parameter pack before ‘...’ /home/james/SBteam/anaconda3/envs/tensorflow/lib/python3.6/site-packages/torch/lib/include/pybind11/cast.h:1544:250: error: expansion pattern ‘pybind11::detail::negation<pybind11::detail::move_always<T> >::value’ contains no argument packs /home/james/SBteam/anaconda3/envs/tensorflow/lib/python3.6/site-packages/torch/lib/include/pybind11/cast.h:1544:293: error: expansion pattern ‘std::is_move_constructible<_Tp>::value’ contains no argument packs /home/james/SBteam/anaconda3/envs/tensorflow/lib/python3.6/site-packages/torch/lib/include/pybind11/cast.h:1544:391: error: expansion pattern ‘std::is_same<decltype (declval<pybind11::detail::type_caster<typename pybind11::detail::intrinsic_type<T>::type, void> >().operator T&()), T&>::value’ contains no argument packs /home/james/SBteam/anaconda3/envs/tensorflow/lib/python3.6/site-packages/torch/lib/include/pybind11/cast.h:1544:400: error: template argument 1 is invalid /home/james/SBteam/anaconda3/envs/tensorflow/lib/python3.6/site-packages/torch/lib/include/pybind11/cast.h:1544:400: error: template argument 2 is invalid /home/james/SBteam/anaconda3/envs/tensorflow/lib/python3.6/site-packages/torch/lib/include/pybind11/cast.h:1544:400: error: template argument 3 is invalid /home/james/SBteam/anaconda3/envs/tensorflow/lib/python3.6/site-packages/torch/lib/include/pybind11/cast.h:1544:400: error: template argument 4 is invalid /home/james/SBteam/anaconda3/envs/tensorflow/lib/python3.6/site-packages/torch/lib/include/pybind11/cast.h:1544:452: error: expansion pattern ‘std::is_void<_Tp>’ contains no argument packs /home/james/SBteam/anaconda3/envs/tensorflow/lib/python3.6/site-packages/torch/lib/include/pybind11/cast.h:1544:477: error: expansion pattern ‘std::is_pointer<_Tp>’ contains no argument packs /home/james/SBteam/anaconda3/envs/tensorflow/lib/python3.6/site-packages/torch/lib/include/pybind11/cast.h:1544:504: error: expansion pattern ‘std::is_reference<_Tp>’ contains no argument packs /home/james/SBteam/anaconda3/envs/tensorflow/lib/python3.6/site-packages/torch/lib/include/pybind11/cast.h:1544:527: error: expansion pattern ‘std::is_const<_Tp>’ contains no argument packs /home/james/SBteam/anaconda3/envs/tensorflow/lib/python3.6/site-packages/torch/lib/include/pybind11/cast.h:1544:530: error: template argument 1 is invalid /home/james/SBteam/anaconda3/envs/tensorflow/lib/python3.6/site-packages/torch/lib/include/pybind11/cast.h:1544:530: error: template argument 2 is invalid /home/james/SBteam/anaconda3/envs/tensorflow/lib/python3.6/site-packages/torch/lib/include/pybind11/cast.h:1544:530: error: template argument 3 is invalid /home/james/SBteam/anaconda3/envs/tensorflow/lib/python3.6/site-packages/torch/lib/include/pybind11/cast.h:1544:530: error: template argument 4 is invalid /home/james/SBteam/anaconda3/envs/tensorflow/lib/python3.6/site-packages/torch/lib/include/pybind11/cast.h:1544:532: error: template argument 1 is invalid /home/james/SBteam/anaconda3/envs/tensorflow/lib/python3.6/site-packages/torch/lib/include/pybind11/cast.h:1544:541: error: expected parameter pack before ‘...’ /home/james/SBteam/anaconda3/envs/tensorflow/lib/python3.6/site-packages/torch/lib/include/pybind11/cast.h:1544:581: error: expansion pattern ‘pybind11::detail::negation<pybind11::detail::move_always<T> >::value’ contains no argument packs /home/james/SBteam/anaconda3/envs/tensorflow/lib/python3.6/site-packages/torch/lib/include/pybind11/cast.h:1544:624: error: expansion pattern ‘std::is_move_constructible<_Tp>::value’ contains no argument packs /home/james/SBteam/anaconda3/envs/tensorflow/lib/python3.6/site-packages/torch/lib/include/pybind11/cast.h:1544:722: error: expansion pattern ‘std::is_same<decltype (declval<pybind11::detail::type_caster<typename pybind11::detail::intrinsic_type<T>::type, void> >().operator T&()), T&>::value’ contains no argument packs /home/james/SBteam/anaconda3/envs/tensorflow/lib/python3.6/site-packages/torch/lib/include/pybind11/cast.h:1544:725: error: template argument 2 is invalid /home/james/SBteam/anaconda3/envs/tensorflow/lib/python3.6/site-packages/torch/lib/include/pybind11/cast.h:1544:725: error: template argument 3 is invalid /home/james/SBteam/anaconda3/envs/tensorflow/lib/python3.6/site-packages/torch/lib/include/pybind11/cast.h:1544:725: error: template argument 4 is invalid /home/james/SBteam/anaconda3/envs/tensorflow/lib/python3.6/site-packages/torch/lib/include/pybind11/cast.h:1544:725: error: template argument 5 is invalid /home/james/SBteam/anaconda3/envs/tensorflow/lib/python3.6/site-packages/torch/lib/include/pybind11/cast.h:1544:727: error: template argument 1 is invalid /home/james/SBteam/anaconda3/envs/tensorflow/lib/python3.6/site-packages/torch/lib/include/pybind11/cast.h:1544:727: error: template argument 2 is invalid /home/james/SBteam/anaconda3/envs/tensorflow/lib/python3.6/site-packages/torch/lib/include/pybind11/cast.h:1544:742: error: template argument 1 is invalid /home/james/SBteam/anaconda3/envs/tensorflow/lib/python3.6/site-packages/torch/lib/include/pybind11/cast.h:1544:744: error: template argument 2 is invalid /home/james/SBteam/anaconda3/envs/tensorflow/lib/python3.6/site-packages/torch/lib/include/pybind11/cast.h:1620:100: error: expansion pattern ‘pybind11::detail::move_always<T>’ contains no argument packs /home/james/SBteam/anaconda3/envs/tensorflow/lib/python3.6/site-packages/torch/lib/include/pybind11/cast.h:1620:138: error: expansion pattern ‘pybind11::detail::move_if_unreferenced<T>’ contains no argument packs /home/james/SBteam/anaconda3/envs/tensorflow/lib/python3.6/site-packages/torch/lib/include/pybind11/cast.h:1620:141: error: template argument 1 is invalid /home/james/SBteam/anaconda3/envs/tensorflow/lib/python3.6/site-packages/torch/lib/include/pybind11/cast.h:1620:141: error: template argument 2 is invalid /home/james/SBteam/anaconda3/envs/tensorflow/lib/python3.6/site-packages/torch/lib/include/pybind11/cast.h:1620:143: error: template argument 1 is invalid /home/james/SBteam/anaconda3/envs/tensorflow/lib/python3.6/site-packages/torch/lib/include/pybind11/cast.h:1620:155: error: template argument 1 is invalid /home/james/SBteam/anaconda3/envs/tensorflow/lib/python3.6/site-packages/torch/lib/include/pybind11/cast.h:1650:99: error: expansion pattern ‘pybind11::detail::move_always<T>’ contains no argument packs /home/james/SBteam/anaconda3/envs/tensorflow/lib/python3.6/site-packages/torch/lib/include/pybind11/cast.h:1650:137: error: expansion pattern ‘pybind11::detail::move_if_unreferenced<T>’ contains no argument packs /home/james/SBteam/anaconda3/envs/tensorflow/lib/python3.6/site-packages/torch/lib/include/pybind11/cast.h:1650:140: error: template argument 1 is invalid /home/james/SBteam/anaconda3/envs/tensorflow/lib/python3.6/site-packages/torch/lib/include/pybind11/cast.h:1650:140: error: template argument 2 is invalid /home/james/SBteam/anaconda3/envs/tensorflow/lib/python3.6/site-packages/torch/lib/include/pybind11/cast.h:1650:142: error: template argument 1 is invalid /home/james/SBteam/anaconda3/envs/tensorflow/lib/python3.6/site-packages/torch/lib/include/pybind11/cast.h:1650:154: error: template argument 1 is invalid /home/james/SBteam/anaconda3/envs/tensorflow/lib/python3.6/site-packages/torch/lib/include/pybind11/cast.h:2021:145: error: expansion pattern ‘pybind11::detail::negation<pybind11::detail::negation<std::is_same<pybind11::detail::bools<pybind11::detail::negation<std::is_base_of<pybind11::arg, Args> >::value ..., pybind11::detail::negation<std::is_same<pybind11::detail::args_proxy, Args> >::value ..., pybind11::detail::negation<std::is_same<pybind11::detail::kwargs_proxy, Args> >::value ..., true>, pybind11::detail::bools<true, pybind11::detail::negation<std::is_base_of<pybind11::arg, Args> >::value ..., pybind11::detail::negation<std::is_same<pybind11::detail::args_proxy, Args> >::value ..., pybind11::detail::negation<std::is_same<pybind11::detail::kwargs_proxy, Args> >::value ...> > > >::value’ contains no argument packs /home/james/SBteam/anaconda3/envs/tensorflow/lib/python3.6/site-packages/torch/lib/include/pybind11/cast.h:2021:154: error: template argument 1 is invalid /home/james/SBteam/anaconda3/envs/tensorflow/lib/python3.6/site-packages/torch/lib/include/pybind11/cast.h:2021:278: error: expansion pattern ‘pybind11::detail::negation<pybind11::detail::negation<std::is_same<pybind11::detail::bools<pybind11::detail::negation<std::is_base_of<pybind11::arg, Args> >::value ..., pybind11::detail::negation<std::is_same<pybind11::detail::args_proxy, Args> >::value ..., pybind11::detail::negation<std::is_same<pybind11::detail::kwargs_proxy, Args> >::value ..., true>, pybind11::detail::bools<true, pybind11::detail::negation<std::is_base_of<pybind11::arg, Args> >::value ..., pybind11::detail::negation<std::is_same<pybind11::detail::args_proxy, Args> >::value ..., pybind11::detail::negation<std::is_same<pybind11::detail::kwargs_proxy, Args> >::value ...> > > >::value’ contains no argument packs /home/james/SBteam/anaconda3/envs/tensorflow/lib/python3.6/site-packages/torch/lib/include/pybind11/cast.h:2021:281: error: template argument 2 is invalid /home/james/SBteam/anaconda3/envs/tensorflow/lib/python3.6/site-packages/torch/lib/include/pybind11/cast.h:2021:283: error: template argument 1 is invalid /home/james/SBteam/anaconda3/envs/tensorflow/lib/python3.6/site-packages/torch/lib/include/pybind11/cast.h:2021:283: error: template argument 2 is invalid /home/james/SBteam/anaconda3/envs/tensorflow/lib/python3.6/site-packages/torch/lib/include/pybind11/cast.h:2021:298: error: template argument 1 is invalid /home/james/SBteam/anaconda3/envs/tensorflow/lib/python3.6/site-packages/torch/lib/include/pybind11/cast.h:2028:146: error: expansion pattern ‘pybind11::detail::negation<pybind11::detail::negation<std::is_same<pybind11::detail::bools<pybind11::detail::negation<std::is_base_of<pybind11::arg, Args> >::value ..., pybind11::detail::negation<std::is_same<pybind11::detail::args_proxy, Args> >::value ..., pybind11::detail::negation<std::is_same<pybind11::detail::kwargs_proxy, Args> >::value ..., true>, pybind11::detail::bools<true, pybind11::detail::negation<std::is_base_of<pybind11::arg, Args> >::value ..., pybind11::detail::negation<std::is_same<pybind11::detail::args_proxy, Args> >::value ..., pybind11::detail::negation<std::is_same<pybind11::detail::kwargs_proxy, Args> >::value ...> > > >::value’ contains no argument packs /home/james/SBteam/anaconda3/envs/tensorflow/lib/python3.6/site-packages/torch/lib/include/pybind11/cast.h:2028:155: error: template argument 1 is invalid /home/james/SBteam/anaconda3/envs/tensorflow/lib/python3.6/site-packages/torch/lib/include/pybind11/cast.h:2028:279: error: expansion pattern ‘pybind11::detail::negation<pybind11::detail::negation<std::is_same<pybind11::detail::bools<pybind11::detail::negation<std::is_base_of<pybind11::arg, Args> >::value ..., pybind11::detail::negation<std::is_same<pybind11::detail::args_proxy, Args> >::value ..., pybind11::detail::negation<std::is_same<pybind11::detail::kwargs_proxy, Args> >::value ..., true>, pybind11::detail::bools<true, pybind11::detail::negation<std::is_base_of<pybind11::arg, Args> >::value ..., pybind11::detail::negation<std::is_same<pybind11::detail::args_proxy, Args> >::value ..., pybind11::detail::negation<std::is_same<pybind11::detail::kwargs_proxy, Args> >::value ...> > > >::value’ contains no argument packs /home/james/SBteam/anaconda3/envs/tensorflow/lib/python3.6/site-packages/torch/lib/include/pybind11/cast.h:2028:282: error: template argument 2 is invalid /home/james/SBteam/anaconda3/envs/tensorflow/lib/python3.6/site-packages/torch/lib/include/pybind11/cast.h:2028:284: error: template argument 1 is invalid /home/james/SBteam/anaconda3/envs/tensorflow/lib/python3.6/site-packages/torch/lib/include/pybind11/cast.h:2028:284: error: template argument 2 is invalid /home/james/SBteam/anaconda3/envs/tensorflow/lib/python3.6/site-packages/torch/lib/include/pybind11/cast.h:2028:299: error: template argument 1 is invalid /home/james/SBteam/anaconda3/envs/tensorflow/lib/python3.6/site-packages/torch/lib/include/pybind11/pybind11.h:64:113: error: expansion pattern ‘std::is_function<typename std::remove_reference<_From>::type>’ contains no argument packs /home/james/SBteam/anaconda3/envs/tensorflow/lib/python3.6/site-packages/torch/lib/include/pybind11/pybind11.h:64:171: error: expansion pattern ‘std::is_pointer<typename std::remove_reference< >::type>’ contains no argument packs /home/james/SBteam/anaconda3/envs/tensorflow/lib/python3.6/site-packages/torch/lib/include/pybind11/pybind11.h:64:236: error: expansion pattern ‘std::is_member_pointer<typename std::remove_reference< >::type>’ contains no argument packs /home/james/SBteam/anaconda3/envs/tensorflow/lib/python3.6/site-packages/torch/lib/include/pybind11/pybind11.h:64:239: error: template argument 1 is invalid /home/james/SBteam/anaconda3/envs/tensorflow/lib/python3.6/site-packages/torch/lib/include/pybind11/pybind11.h:64:239: error: template argument 2 is invalid /home/james/SBteam/anaconda3/envs/tensorflow/lib/python3.6/site-packages/torch/lib/include/pybind11/pybind11.h:64:239: error: template argument 3 is invalid /home/james/SBteam/anaconda3/envs/tensorflow/lib/python3.6/site-packages/torch/lib/include/pybind11/pybind11.h:64:241: error: template argument 1 is invalid /home/james/SBteam/anaconda3/envs/tensorflow/lib/python3.6/site-packages/torch/lib/include/pybind11/pybind11.h:64:256: error: template argument 1 is invalid /home/james/SBteam/anaconda3/envs/tensorflow/lib/python3.6/site-packages/torch/lib/include/pybind11/pybind11.h: In function ‘void pybind11::detail::keep_alive_impl(pybind11::handle, pybind11::handle)’: /home/james/SBteam/anaconda3/envs/tensorflow/lib/python3.6/site-packages/torch/lib/include/pybind11/pybind11.h:1488:54: error: no matching function for call to ‘pybind11::cpp_function::cpp_function(pybind11::detail::keep_alive_impl(pybind11::handle, pybind11::handle)::<lambda(pybind11::handle)>)’ [patient](handle weakref) { patient.dec_ref(); weakref.dec_ref(); } ^ /home/james/SBteam/anaconda3/envs/tensorflow/lib/python3.6/site-packages/torch/lib/include/pybind11/pybind11.h:79:1: note: candidate: template<class Return, class Class, class ... Arg, class ... Extra> pybind11::cpp_function::cpp_function(Return (Class::)(Arg ...) const, const Extra& ...) cpp_function(Return (Class::f)(Arg...) const, const Extra&... extra) { ^ /home/james/SBteam/anaconda3/envs/tensorflow/lib/python3.6/site-packages/torch/lib/include/pybind11/pybind11.h:79:1: note: template argument deduction/substitution failed: /home/james/SBteam/anaconda3/envs/tensorflow/lib/python3.6/site-packages/torch/lib/include/pybind11/pybind11.h:1488:54: note: mismatched types ‘Return (Class::)(Arg ...) const’ and ‘pybind11::detail::keep_alive_impl(pybind11::handle, pybind11::handle)::<lambda(pybind11::handle)>’ [patient](handle weakref) { patient.dec_ref(); weakref.dec_ref(); } ^ /home/james/SBteam/anaconda3/envs/tensorflow/lib/python3.6/site-packages/torch/lib/include/pybind11/pybind11.h:72:1: note: candidate: template<class Return, class Class, class ... Arg, class ... Extra> pybind11::cpp_function::cpp_function(Return (Class::)(Arg ...), const Extra& ...) cpp_function(Return (Class::f)(Arg...), const Extra&... extra) { ^ /home/james/SBteam/anaconda3/envs/tensorflow/lib/python3.6/site-packages/torch/lib/include/pybind11/pybind11.h:72:1: note: template argument deduction/substitution failed: /home/james/SBteam/anaconda3/envs/tensorflow/lib/python3.6/site-packages/torch/lib/include/pybind11/pybind11.h:1488:54: note: mismatched types ‘Return (Class::)(Arg ...)’ and ‘pybind11::detail::keep_alive_impl(pybind11::handle, pybind11::handle)::<lambda(pybind11::handle)>’ [patient](handle weakref) { patient.dec_ref(); weakref.dec_ref(); } ^ /home/james/SBteam/anaconda3/envs/tensorflow/lib/python3.6/site-packages/torch/lib/include/pybind11/pybind11.h:65:1: note: candidate: template<class Func, class ... Extra, class> pybind11::cpp_function::cpp_function(Func&&, const Extra& ...) cpp_function(Func &&f, const Extra&... extra) { ^ /home/james/SBteam/anaconda3/envs/tensorflow/lib/python3.6/site-packages/torch/lib/include/pybind11/pybind11.h:65:1: note: template argument deduction/substitution failed: /home/james/SBteam/anaconda3/envs/tensorflow/lib/python3.6/site-packages/torch/lib/include/pybind11/pybind11.h:58:1: note: candidate: template<class Return, class ... Args, class ... Extra> pybind11::cpp_function::cpp_function(Return ()(Args ...), const Extra& ...) cpp_function(Return (f)(Args...), const Extra&... extra) { ^ /home/james/SBteam/anaconda3/envs/tensorflow/lib/python3.6/site-packages/torch/lib/include/pybind11/pybind11.h:58:1: note: template argument deduction/substitution failed: /home/james/SBteam/anaconda3/envs/tensorflow/lib/python3.6/site-packages/torch/lib/include/pybind11/pybind11.h:1488:54: note: mismatched types ‘Return ()(Args ...)’ and ‘pybind11::detail::keep_alive_impl(pybind11::handle, pybind11::handle)::<lambda(pybind11::handle)>’ [patient](handle weakref) { patient.dec_ref(); weakref.dec_ref(); } ^ /home/james/SBteam/anaconda3/envs/tensorflow/lib/python3.6/site-packages/torch/lib/include/pybind11/pybind11.h:54:1: note: candidate: pybind11::cpp_function::cpp_function(std::nullptr_t) cpp_function(std::nullptr_t) { } ^ /home/james/SBteam/anaconda3/envs/tensorflow/lib/python3.6/site-packages/torch/lib/include/pybind11/pybind11.h:54:1: note: no known conversion for argument 1 from ‘pybind11::detail::keep_alive_impl(pybind11::handle, pybind11::handle)::<lambda(pybind11::handle)>’ to ‘std::nullptr_t’ /home/james/SBteam/anaconda3/envs/tensorflow/lib/python3.6/site-packages/torch/lib/include/pybind11/pybind11.h:53:9: note: candidate: pybind11::cpp_function::cpp_function() cpp_function() { } ^ /home/james/SBteam/anaconda3/envs/tensorflow/lib/python3.6/site-packages/torch/lib/include/pybind11/pybind11.h:53:9: note: candidate expects 0 arguments, 1 provided /home/james/SBteam/anaconda3/envs/tensorflow/lib/python3.6/site-packages/torch/lib/include/pybind11/pybind11.h:51:7: note: candidate: pybind11::cpp_function::cpp_function(const pybind11::cpp_function&) class cpp_function : public function { ^ /home/james/SBteam/anaconda3/envs/tensorflow/lib/python3.6/site-packages/torch/lib/include/pybind11/pybind11.h:51:7: note: no known conversion for argument 1 from ‘pybind11::detail::keep_alive_impl(pybind11::handle, pybind11::handle)::<lambda(pybind11::handle)>’ to ‘const pybind11::cpp_function&’ /home/james/SBteam/anaconda3/envs/tensorflow/lib/python3.6/site-packages/torch/lib/include/pybind11/pybind11.h:51:7: note: candidate: pybind11::cpp_function::cpp_function(pybind11::cpp_function&&) /home/james/SBteam/anaconda3/envs/tensorflow/lib/python3.6/site-packages/torch/lib/include/pybind11/pybind11.h:51:7: note: no known conversion for argument 1 from ‘pybind11::detail::keep_alive_impl(pybind11::handle, pybind11::handle)::<lambda(pybind11::handle)>’ to ‘pybind11::cpp_function&&’ /home/james/SBteam/anaconda3/envs/tensorflow/lib/python3.6/site-packages/torch/lib/include/pybind11/pybind11.h: In function ‘std::pair<std::__detail::_Node_iterator<std::pair<_typeobject const, std::vectorpybind11::detail::type_info* >, false, false>, bool> pybind11::detail::all_type_info_get_cache(PyTypeObject*)’: /home/james/SBteam/anaconda3/envs/tensorflow/lib/python3.6/site-packages/torch/lib/include/pybind11/pybind11.h:1524:3: error: no matching function for call to ‘pybind11::cpp_function::cpp_function(pybind11::detail::all_type_info_get_cache(PyTypeObject*)::<lambda(pybind11::handle)>)’ })).release(); ^ /home/james/SBteam/anaconda3/envs/tensorflow/lib/python3.6/site-packages/torch/lib/include/pybind11/pybind11.h:79:1: note: candidate: template<class Return, class Class, class ... Arg, class ... Extra> pybind11::cpp_function::cpp_function(Return (Class::)(Arg ...) const, const Extra& ...) cpp_function(Return (Class::f)(Arg...) const, const Extra&... extra) { ^ /home/james/SBteam/anaconda3/envs/tensorflow/lib/python3.6/site-packages/torch/lib/include/pybind11/pybind11.h:79:1: note: template argument deduction/substitution failed: /home/james/SBteam/anaconda3/envs/tensorflow/lib/python3.6/site-packages/torch/lib/include/pybind11/pybind11.h:1524:3: note: mismatched types ‘Return (Class::)(Arg ...) const’ and ‘pybind11::detail::all_type_info_get_cache(PyTypeObject)::<lambda(pybind11::handle)>’ })).release(); ^ /home/james/SBteam/anaconda3/envs/tensorflow/lib/python3.6/site-packages/torch/lib/include/pybind11/pybind11.h:72:1: note: candidate: template<class Return, class Class, class ... Arg, class ... Extra> pybind11::cpp_function::cpp_function(Return (Class::)(Arg ...), const Extra& ...) cpp_function(Return (Class::f)(Arg...), const Extra&... extra) { ^ /home/james/SBteam/anaconda3/envs/tensorflow/lib/python3.6/site-packages/torch/lib/include/pybind11/pybind11.h:72:1: note: template argument deduction/substitution failed: /home/james/SBteam/anaconda3/envs/tensorflow/lib/python3.6/site-packages/torch/lib/include/pybind11/pybind11.h:1524:3: note: mismatched types ‘Return (Class::)(Arg ...)’ and ‘pybind11::detail::all_type_info_get_cache(PyTypeObject)::<lambda(pybind11::handle)>’ })).release(); ^ /home/james/SBteam/anaconda3/envs/tensorflow/lib/python3.6/site-packages/torch/lib/include/pybind11/pybind11.h:65:1: note: candidate: template<class Func, class ... Extra, class> pybind11::cpp_function::cpp_function(Func&&, const Extra& ...) cpp_function(Func &&f, const Extra&... extra) { ^ /home/james/SBteam/anaconda3/envs/tensorflow/lib/python3.6/site-packages/torch/lib/include/pybind11/pybind11.h:65:1: note: template argument deduction/substitution failed: /home/james/SBteam/anaconda3/envs/tensorflow/lib/python3.6/site-packages/torch/lib/include/pybind11/pybind11.h:58:1: note: candidate: template<class Return, class ... Args, class ... Extra> pybind11::cpp_function::cpp_function(Return ()(Args ...), const Extra& ...) cpp_function(Return (f)(Args...), const Extra&... extra) { ^ /home/james/SBteam/anaconda3/envs/tensorflow/lib/python3.6/site-packages/torch/lib/include/pybind11/pybind11.h:58:1: note: template argument deduction/substitution failed: /home/james/SBteam/anaconda3/envs/tensorflow/lib/python3.6/site-packages/torch/lib/include/pybind11/pybind11.h:1524:3: note: mismatched types ‘Return ()(Args ...)’ and ‘pybind11::detail::all_type_info_get_cache(PyTypeObject)::<lambda(pybind11::handle)>’ })).release(); ^ /home/james/SBteam/anaconda3/envs/tensorflow/lib/python3.6/site-packages/torch/lib/include/pybind11/pybind11.h:54:1: note: candidate: pybind11::cpp_function::cpp_function(std::nullptr_t) cpp_function(std::nullptr_t) { } ^ /home/james/SBteam/anaconda3/envs/tensorflow/lib/python3.6/site-packages/torch/lib/include/pybind11/pybind11.h:54:1: note: no known conversion for argument 1 from ‘pybind11::detail::all_type_info_get_cache(PyTypeObject*)::<lambda(pybind11::handle)>’ to ‘std::nullptr_t’ /home/james/SBteam/anaconda3/envs/tensorflow/lib/python3.6/site-packages/torch/lib/include/pybind11/pybind11.h:53:9: note: candidate: pybind11::cpp_function::cpp_function() cpp_function() { } ^ /home/james/SBteam/anaconda3/envs/tensorflow/lib/python3.6/site-packages/torch/lib/include/pybind11/pybind11.h:53:9: note: candidate expects 0 arguments, 1 provided /home/james/SBteam/anaconda3/envs/tensorflow/lib/python3.6/site-packages/torch/lib/include/pybind11/pybind11.h:51:7: note: candidate: pybind11::cpp_function::cpp_function(const pybind11::cpp_function&) class cpp_function : public function { ^ /home/james/SBteam/anaconda3/envs/tensorflow/lib/python3.6/site-packages/torch/lib/include/pybind11/pybind11.h:51:7: note: no known conversion for argument 1 from ‘pybind11::detail::all_type_info_get_cache(PyTypeObject*)::<lambda(pybind11::handle)>’ to ‘const pybind11::cpp_function&’ /home/james/SBteam/anaconda3/envs/tensorflow/lib/python3.6/site-packages/torch/lib/include/pybind11/pybind11.h:51:7: note: candidate: pybind11::cpp_function::cpp_function(pybind11::cpp_function&&) /home/james/SBteam/anaconda3/envs/tensorflow/lib/python3.6/site-packages/torch/lib/include/pybind11/pybind11.h:51:7: note: no known conversion for argument 1 from ‘pybind11::detail::all_type_info_get_cache(PyTypeObject*)::<lambda(pybind11::handle)>’ to ‘pybind11::cpp_function&&’ source/gpu/LatticeFilter.cu: In function ‘at::Tensor LatticeFilter_calculate_gpu(const at::Tensor&, const at::Tensor&, bool, float, float, float, bool)’: source/gpu/LatticeFilter.cu:189:93: warning: ‘at::Tensor at::zeros(const at::Type&, at::IntList)’ is deprecated [-Wdeprecated-declarations] sitions = at::zeros(input_tensor.type(),{batch_size * num_super_pixels * pd} ); ^ /home/james/SBteam/anaconda3/envs/tensorflow/lib/python3.6/site-packages/torch/lib/include/ATen/Functions.h:4374:22: note: declared here static inline Tensor zeros(const Type & dtype, IntList size) { ^ /home/james/SBteam/anaconda3/envs/tensorflow/lib/python3.6/site-packages/torch/lib/include/pybind11/cast.h: In instantiation of ‘T pybind11::object::cast() && [with T = std::basic_string]’: /home/james/SBteam/anaconda3/envs/tensorflow/lib/python3.6/site-packages/torch/lib/include/pybind11/detail/class.h:537:138: required from here /home/james/SBteam/anaconda3/envs/tensorflow/lib/python3.6/site-packages/torch/lib/include/pybind11/cast.h:1655:68: error: could not convert ‘pybind11::cast<std::basic_string >((* & std::movepybind11::object&(((pybind11::object)this))))’ from ‘int’ to ‘std::basic_string’ template <typename T> T object::cast() && { return pybind11::cast<T>(std::move( ^ /home/james/SBteam/anaconda3/envs/tensorflow/lib/python3.6/site-packages/torch/lib/include/pybind11/cast.h: In instantiation of ‘pybind11::object pybind11::detail::object_api<Derived>::operator()(Args&& ...) const [with pybind11::return_value_policy policy = (pybind11::return_value_policy)1u; Args = {}; Derived = pybind11::detail::accessorpybind11::detail::accessor_policies::str_attr]’: /home/james/SBteam/anaconda3/envs/tensorflow/lib/python3.6/site-packages/torch/lib/include/pybind11/pybind11.h:200:52: required from here /home/james/SBteam/anaconda3/envs/tensorflow/lib/python3.6/site-packages/torch/lib/include/pybind11/cast.h:2043:44: error: no matching function for call to ‘collect_arguments()’ return detail::collect_arguments(std::forward<Args>(args)...).call( ^ /home/james/SBteam/anaconda3/envs/tensorflow/lib/python3.6/site-packages/torch/lib/include/pybind11/cast.h:2022:1: note: candidate: template<pybind11::return_value_policy policy, class ... Args, class> pybind11::detail::simple_collector pybind11::detail::collect_arguments(Args&& ...) simple_collector collect_arguments(Args &&...args) { ^ /home/james/SBteam/anaconda3/envs/tensorflow/lib/python3.6/site-packages/torch/lib/include/pybind11/cast.h:2022:1: note: template argument deduction/substitution failed: /home/james/SBteam/anaconda3/envs/tensorflow/lib/python3.6/site-packages/torch/lib/include/pybind11/cast.h:2029:1: note: candidate: template<pybind11::return_value_policy policy, class ... Args, class> pybind11::detail::unpacking_collector pybind11::detail::collect_arguments(Args&& ...) unpacking_collector collect_arguments(Args &&...args) { ^ /home/james/SBteam/anaconda3/envs/tensorflow/lib/python3.6/site-packages/torch/lib/include/pybind11/cast.h:2029:1: note: template argument deduction/substitution failed: /home/james/SBteam/anaconda3/envs/tensorflow/lib/python3.6/site-packages/torch/lib/include/pybind11/cast.h: In instantiation of ‘pybind11::object pybind11::detail::object_api<Derived>::operator()(Args&& ...) const [with pybind11::return_value_policy policy = (pybind11::return_value_policy)1u; Args = {pybind11::handle, pybind11::handle, pybind11::none, pybind11::str}; Derived = pybind11::handle]’: /home/james/SBteam/anaconda3/envs/tensorflow/lib/python3.6/site-packages/torch/lib/include/pybind11/pybind11.h:964:158: required from here /home/james/SBteam/anaconda3/envs/tensorflow/lib/python3.6/site-packages/torch/lib/include/pybind11/cast.h:2043:44: error: no matching function for call to ‘collect_arguments(pybind11::handle, pybind11::handle, pybind11::none, pybind11::str)’ return detail::collect_arguments(std::forward<Args>(args)...).call( ^ /home/james/SBteam/anaconda3/envs/tensorflow/lib/python3.6/site-packages/torch/lib/include/pybind11/cast.h:2022:1: note: candidate: template<pybind11::return_value_policy policy, class ... Args, class> pybind11::detail::simple_collector pybind11::detail::collect_arguments(Args&& ...) simple_collector collect_arguments(Args &&...args) { ^ /home/james/SBteam/anaconda3/envs/tensorflow/lib/python3.6/site-packages/torch/lib/include/pybind11/cast.h:2022:1: note: template argument deduction/substitution failed: /home/james/SBteam/anaconda3/envs/tensorflow/lib/python3.6/site-packages/torch/lib/include/pybind11/cast.h:2029:1: note: candidate: template<pybind11::return_value_policy policy, class ... Args, class> pybind11::detail::unpacking_collector pybind11::detail::collect_arguments(Args&& ...) unpacking_collector collect_arguments(Args &&...args) { ^ /home/james/SBteam/anaconda3/envs/tensorflow/lib/python3.6/site-packages/torch/lib/include/pybind11/cast.h:2029:1: note: template argument deduction/substitution failed: /home/james/SBteam/anaconda3/envs/tensorflow/lib/python3.6/site-packages/torch/lib/include/pybind11/cast.h: In instantiation of ‘pybind11::object pybind11::detail::object_api<Derived>::operator()(Args&& ...) const [with pybind11::return_value_policy policy = (pybind11::return_value_policy)1u; Args = {pybind11::tuple&}; Derived = pybind11::detail::accessorpybind11::detail::accessor_policies::str_attr]’: /home/james/SBteam/anaconda3/envs/tensorflow/lib/python3.6/site-packages/torch/lib/include/pybind11/pybind11.h:1698:39: required from here /home/james/SBteam/anaconda3/envs/tensorflow/lib/python3.6/site-packages/torch/lib/include/pybind11/cast.h:2043:44: error: no matching function for call to ‘collect_arguments(pybind11::tuple&)’ return detail::collect_arguments(std::forward<Args>(args)...).call( ^ /home/james/SBteam/anaconda3/envs/tensorflow/lib/python3.6/site-packages/torch/lib/include/pybind11/cast.h:2022:1: note: candidate: template<pybind11::return_value_policy policy, class ... Args, class> pybind11::detail::simple_collector pybind11::detail::collect_arguments(Args&& ...) simple_collector collect_arguments(Args &&...args) { ^ /home/james/SBteam/anaconda3/envs/tensorflow/lib/python3.6/site-packages/torch/lib/include/pybind11/cast.h:2022:1: note: template argument deduction/substitution failed: /home/james/SBteam/anaconda3/envs/tensorflow/lib/python3.6/site-packages/torch/lib/include/pybind11/cast.h:2029:1: note: candidate: template<pybind11::return_value_policy policy, class ... Args, class> pybind11::detail::unpacking_collector pybind11::detail::collect_arguments(Args&& ...) unpacking_collector collect_arguments(Args &&...args) { ^ /home/james/SBteam/anaconda3/envs/tensorflow/lib/python3.6/site-packages/torch/lib/include/pybind11/cast.h:2029:1: note: template argument deduction/substitution failed: /home/james/SBteam/anaconda3/envs/tensorflow/lib/python3.6/site-packages/torch/lib/include/pybind11/cast.h: In instantiation of ‘pybind11::object pybind11::detail::object_api<Derived>::operator()(Args&& ...) const [with pybind11::return_value_policy policy = (pybind11::return_value_policy)1u; Args = {pybind11::object&}; Derived = pybind11::detail::accessorpybind11::detail::accessor_policies::str_attr]’: /home/james/SBteam/anaconda3/envs/tensorflow/lib/python3.6/site-packages/torch/lib/include/pybind11/pybind11.h:1716:11: required from here /home/james/SBteam/anaconda3/envs/tensorflow/lib/python3.6/site-packages/torch/lib/include/pybind11/cast.h:2043:44: error: no matching function for call to ‘collect_arguments(pybind11::object&)’ return detail::collect_arguments(std::forward<Args>(args)...).call( ^ /home/james/SBteam/anaconda3/envs/tensorflow/lib/python3.6/site-packages/torch/lib/include/pybind11/cast.h:2022:1: note: candidate: template<pybind11::return_value_policy policy, class ... Args, class> pybind11::detail::simple_collector pybind11::detail::collect_arguments(Args&& ...) simple_collector collect_arguments(Args &&...args) { ^ /home/james/SBteam/anaconda3/envs/tensorflow/lib/python3.6/site-packages/torch/lib/include/pybind11/cast.h:2022:1: note: template argument deduction/substitution failed: /home/james/SBteam/anaconda3/envs/tensorflow/lib/python3.6/site-packages/torch/lib/include/pybind11/cast.h:2029:1: note: candidate: template<pybind11::return_value_policy policy, class ... Args, class> pybind11::detail::unpacking_collector pybind11::detail::collect_arguments(Args&& ...) unpacking_collector collect_arguments(Args &&...args) { ^ /home/james/SBteam/anaconda3/envs/tensorflow/lib/python3.6/site-packages/torch/lib/include/pybind11/cast.h:2029:1: note: template argument deduction/substitution failed: /home/james/SBteam/anaconda3/envs/tensorflow/lib/python3.6/site-packages/torch/lib/include/pybind11/cast.h: In instantiation of ‘pybind11::object pybind11::detail::object_api<Derived>::operator()(Args&& ...) const [with pybind11::return_value_policy policy = (pybind11::return_value_policy)1u; Args = {pybind11::object}; Derived = pybind11::detail::accessorpybind11::detail::accessor_policies::str_attr]’: /home/james/SBteam/anaconda3/envs/tensorflow/lib/python3.6/site-packages/torch/lib/include/pybind11/pybind11.h:1717:64: required from here /home/james/SBteam/anaconda3/envs/tensorflow/lib/python3.6/site-packages/torch/lib/include/pybind11/cast.h:2043:44: error: no matching function for call to ‘collect_arguments(pybind11::object)’ return detail::collect_arguments(std::forward<Args>(args)...).call( ^ /home/james/SBteam/anaconda3/envs/tensorflow/lib/python3.6/site-packages/torch/lib/include/pybind11/cast.h:2022:1: note: candidate: template<pybind11::return_value_policy policy, class ... Args, class> pybind11::detail::simple_collector pybind11::detail::collect_arguments(Args&& ...) simple_collector collect_arguments(Args &&...args) { ^ /home/james/SBteam/anaconda3/envs/tensorflow/lib/python3.6/site-packages/torch/lib/include/pybind11/cast.h:2022:1: note: template argument deduction/substitution failed: /home/james/SBteam/anaconda3/envs/tensorflow/lib/python3.6/site-packages/torch/lib/include/pybind11/cast.h:2029:1: note: candidate: template<pybind11::return_value_policy policy, class ... Args, class> pybind11::detail::unpacking_collector pybind11::detail::collect_arguments(Args&& ...) unpacking_collector collect_arguments(Args &&...args) { ^ /home/james/SBteam/anaconda3/envs/tensorflow/lib/python3.6/site-packages/torch/lib/include/pybind11/cast.h:2029:1: note: template argument deduction/substitution failed: /home/james/SBteam/anaconda3/envs/tensorflow/lib/python3.6/site-packages/torch/lib/include/pybind11/cast.h: In instantiation of ‘pybind11::object pybind11::detail::object_api<Derived>::operator()(Args&& ...) const [with pybind11::return_value_policy policy = (pybind11::return_value_policy)1u; Args = {const char* const&}; Derived = pybind11::detail::accessorpybind11::detail::accessor_policies::str_attr]’: /home/james/SBteam/anaconda3/envs/tensorflow/lib/python3.6/site-packages/torch/lib/include/pybind11/pytypes.h:1322:35: required from ‘bool pybind11::detail::object_api<Derived>::contains(T&&) const [with T = const char* const&; Derived = pybind11::handle]’ /home/james/SBteam/anaconda3/envs/tensorflow/lib/python3.6/site-packages/torch/lib/include/pybind11/detail/internals.h:143:25: required from here /home/james/SBteam/anaconda3/envs/tensorflow/lib/python3.6/site-packages/torch/lib/include/pybind11/cast.h:2043:44: error: no matching function for call to ‘collect_arguments(const char* const&)’ return detail::collect_arguments(std::forward<Args>(args)...).call( ^ /home/james/SBteam/anaconda3/envs/tensorflow/lib/python3.6/site-packages/torch/lib/include/pybind11/cast.h:2022:1: note: candidate: template<pybind11::return_value_policy policy, class ... Args, class> pybind11::detail::simple_collector pybind11::detail::collect_arguments(Args&& ...) simple_collector collect_arguments(Args &&...args) { ^ /home/james/SBteam/anaconda3/envs/tensorflow/lib/python3.6/site-packages/torch/lib/include/pybind11/cast.h:2022:1: note: template argument deduction/substitution failed: /home/james/SBteam/anaconda3/envs/tensorflow/lib/python3.6/site-packages/torch/lib/include/pybind11/cast.h:2029:1: note: candidate: template<pybind11::return_value_policy policy, class ... Args, class> pybind11::detail::unpacking_collector pybind11::detail::collect_arguments(Args&& ...) unpacking_collector collect_arguments(Args &&...args) { ^ /home/james/SBteam/anaconda3/envs/tensorflow/lib/python3.6/site-packages/torch/lib/include/pybind11/cast.h:2029:1: note: template argument deduction/substitution failed: /home/james/SBteam/anaconda3/envs/tensorflow/lib/python3.6/site-packages/torch/lib/include/pybind11/cast.h: In instantiation of ‘int pybind11::cast(pybind11::object&&) [with T = std::basic_string]’: /home/james/SBteam/anaconda3/envs/tensorflow/lib/python3.6/site-packages/torch/lib/include/pybind11/cast.h:1655:68: required from ‘T pybind11::object::cast() && [with T = std::basic_string]’ /home/james/SBteam/anaconda3/envs/tensorflow/lib/python3.6/site-packages/torch/lib/include/pybind11/detail/class.h:537:138: required from here /home/james/SBteam/anaconda3/envs/tensorflow/lib/python3.6/site-packages/torch/lib/include/pybind11/cast.h:1651:24: error: cannot convert ‘std::basic_string’ to ‘int’ in return return cast<T>(object); ^ /home/james/SBteam/anaconda3/envs/tensorflow/lib/python3.6/site-packages/torch/lib/include/pybind11/cast.h: In instantiation of ‘pybind11::object pybind11::detail::object_api<Derived>::operator()(Args&& ...) const [with pybind11::return_value_policy policy = (pybind11::return_value_policy)1u; Args = {pybind11::handle&, pybind11::handle&}; Derived = pybind11::detail::accessorpybind11::detail::accessor_policies::str_attr]’: /home/james/SBteam/anaconda3/envs/tensorflow/lib/python3.6/site-packages/torch/lib/include/pybind11/pytypes.h:881:28: required from ‘pybind11::str pybind11::str::format(Args&& ...) const [with Args = {pybind11::handle&, pybind11::handle&}]’ /home/james/SBteam/anaconda3/envs/tensorflow/lib/python3.6/site-packages/torch/lib/include/pybind11/pybind11.h:749:72: required from here /home/james/SBteam/anaconda3/envs/tensorflow/lib/python3.6/site-packages/torch/lib/include/pybind11/cast.h:2043:44: error: no matching function for call to ‘collect_arguments(pybind11::handle&, pybind11::handle&)’ return detail::collect_arguments(std::forward<Args>(args)...).call( ^ /home/james/SBteam/anaconda3/envs/tensorflow/lib/python3.6/site-packages/torch/lib/include/pybind11/cast.h:2022:1: note: candidate: template<pybind11::return_value_policy policy, class ... Args, class> pybind11::detail::simple_collector pybind11::detail::collect_arguments(Args&& ...) simple_collector collect_arguments(Args &&...args) { ^ /home/james/SBteam/anaconda3/envs/tensorflow/lib/python3.6/site-packages/torch/lib/include/pybind11/cast.h:2022:1: note: template argument deduction/substitution failed: /home/james/SBteam/anaconda3/envs/tensorflow/lib/python3.6/site-packages/torch/lib/include/pybind11/cast.h:2029:1: note: candidate: template<pybind11::return_value_policy policy, class ... Args, class> pybind11::detail::unpacking_collector pybind11::detail::collect_arguments(Args&& ...) unpacking_collector collect_arguments(Args &&...args) { ^ /home/james/SBteam/anaconda3/envs/tensorflow/lib/python3.6/site-packages/torch/lib/include/pybind11/cast.h:2029:1: note: template argument deduction/substitution failed: error: command '/usr/local/cuda-9.0/bin/nvcc' failed with exit status 1

d383424185 avatar Mar 06 '19 00:03 d383424185

I think the error is found. There was a deprecated function call. The commit c9b6f8363b5ed6d7637407aaec4836d1dded587b change the call. The headers are adjust such that the pytorch version 1.0.1 can be used. I think you need to update pytorch.

Fettpet avatar Mar 07 '19 13:03 Fettpet

My pytorch version is 1.0.1, but I still have the same error How did you solve the problem?

LINA-lln avatar Mar 21 '19 08:03 LINA-lln

My pytorch version is 1.0.1, but I still have the same error How did you solve the problem?

Sorry, I forgot to report. I still have this issue,too.

d383424185 avatar Mar 22 '19 00:03 d383424185

Can you add a new Error message? Maybe there is a new error.

Fettpet avatar Mar 30 '19 15:03 Fettpet

Can you add a new Error message? Maybe there is a new error. here is the new error

running install running bdist_egg running egg_info writing Permutohedral.egg-info/PKG-INFO writing dependency_links to Permutohedral.egg-info/dependency_links.txt writing top-level names to Permutohedral.egg-info/top_level.txt reading manifest file 'Permutohedral.egg-info/SOURCES.txt' writing manifest file 'Permutohedral.egg-info/SOURCES.txt' installing library code to build/bdist.linux-x86_64/egg running install_lib running build_ext /home/james/SBteam/anaconda3/envs/pytorch/lib/python3.7/site-packages/torch/utils/cpp_extension.py:182: UserWarning: Error checking compiler version for g++: a bytes-like object is required, not 'str' warnings.warn('Error checking compiler version for {}: {}'.format(compiler, error)) building 'Permutohedral' extension gcc -pthread -B /home/james/SBteam/anaconda3/envs/pytorch/compiler_compat -Wl,--sysroot=/ -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -I/home/james/SBteam/anaconda3/envs/pytorch/lib/python3.7/site-packages/torch/lib/include -I/home/james/SBteam/anaconda3/envs/pytorch/lib/python3.7/site-packages/torch/lib/include/torch/csrc/api/include -I/home/james/SBteam/anaconda3/envs/pytorch/lib/python3.7/site-packages/torch/lib/include/TH -I/home/james/SBteam/anaconda3/envs/pytorch/lib/python3.7/site-packages/torch/lib/include/THC -I/home/james/SBteam/anaconda3/envs/pytorch/include/python3.7m -c source/cpu/LatticeFilterKernel.cpp -o build/temp.linux-x86_64-3.7/source/cpu/LatticeFilterKernel.o -DTORCH_API_INCLUDE_EXTENSION_H -DTORCH_EXTENSION_NAME=Permutohedral -D_GLIBCXX_USE_CXX11_ABI=0 -std=c++11 cc1plus: warning: command line option ‘-Wstrict-prototypes’ is valid for C/ObjC but not for C++ In file included from source/cpu/LatticeFilterKernel.cpp:25:0: /home/james/SBteam/anaconda3/envs/pytorch/lib/python3.7/site-packages/torch/lib/include/torch/csrc/api/include/torch/torch.h:7:2: warning: #warning "Including torch/torch.h for C++ extensions is deprecated. Please include torch/extension.h" [-Wcpp] #warning
^~~~~~~ source/cpu/LatticeFilterKernel.cpp: In function ‘at::Tensor LatticeFilter_calculate(const at::Tensor&, const at::Tensor&, bool, float, float, float, bool)’: source/cpu/LatticeFilterKernel.cpp:77:59: error: could not convert ‘(& input_tensor)->at::Tensor::type()’ from ‘at::Type’ to ‘at::IntList {aka at::ArrayRef}’ at::Tensor positions = at::zeros(input_tensor.type(), {batch_size * num_super_pixels * pd} ); ~~~~~~~~~~~~~~~~~^~ error: command 'gcc' failed with exit status 1

d383424185 avatar Apr 01 '19 03:04 d383424185

Did you pull the current source? This error was patched in commit c9b6f8363b5ed6d7637407aaec4836d1dded587b.

Fettpet avatar Apr 02 '19 00:04 Fettpet

Did you pull the current source? This error was patched in commit c9b6f83.

I upgrade my pytorch version to 1.0.1.post2 and compiled your latest version files, but still have the same error that I reported 28 days ago.

d383424185 avatar Apr 03 '19 01:04 d383424185

@Fettpet So, the compile error can't be solved? Or maybe you can post your version of pytorch 、cuda and cudnn,that maybe useful to test.Thanks!

kangmengmeng avatar Apr 03 '19 13:04 kangmengmeng

Did you pull the current source? This error was patched in commit c9b6f83.

I upgrade my pytorch version to 1.0.1.post2 and compiled your latest version files, but still have the same error that I reported 28 days ago.

The error message you send three days ago, shows errors in code segments, which are not there in the current version c9b6f8363b5ed6d7637407aaec4836d1dded587b. For example these one

source/cpu/LatticeFilterKernel.cpp:77:59: error: could not convert ‘(& input_tensor)->at::Tensor::type()’ from ‘at::Type’ to ‘at::IntList {aka at::ArrayRef}’ at::Tensor positions = at::zeros(input_tensor.type(), {batch_size * num_super_pixels * pd} );

This one is part of the old version, not of the current version. The current version is at::Tensor positions = at::zeros({batch_size * num_super_pixels * pd}, input_tensor.type() );

Maybe there are old versions in the cache. Have you removed the cache?

Fettpet avatar Apr 04 '19 09:04 Fettpet

I compiled the current version, and error is not 3 days ago's(https://github.com/Fettpet/pytorch-crfasrnn/issues/1#issuecomment-478424189). The error is same with this (https://github.com/Fettpet/pytorch-crfasrnn/issues/1#issuecomment-469921315)

d383424185 avatar Apr 04 '19 09:04 d383424185

@Fettpet So, the compile error can't be solved? Or maybe you can post your version of pytorch 、cuda and cudnn,that maybe useful to test.Thanks!

I have tested it with

  • pythorch version is 1.0.1.post2,
  • cuda 8.0.44 and gcc 4.9.3 or Cuda 9.0.176 and gcc 5.5.0
  • cudnn 7402 (torch.backends.cudnn.version())

Fettpet avatar Apr 04 '19 09:04 Fettpet

I compiled the current version, and error is not 3 days ago's(#1 (comment)). The error is same with this (#1 (comment))

The error log three days ago isn't the current one?

Fettpet avatar Apr 04 '19 09:04 Fettpet

My pytorch version is 1.0.1, but I still have the same error How did you solve the problem?

Can you add the complete error log?

Fettpet avatar Apr 04 '19 09:04 Fettpet

I compiled the current version, and error is not 3 days ago's(#1 (comment)). The error is same with this (#1 (comment))

The error log three days ago isn't the current one?

Yes. This log three days ago is because I compiled the older one. Current error is also this one

d383424185 avatar Apr 04 '19 11:04 d383424185

I failed to compile too. my cuda version is 9.0.176, python3.6, pytorch version is 1.0.1.post2 and gcc version is 5.5 thanks for you help the output: fasrnn-master/Permutohedral_Filtering$ python setup.py install running install running bdist_egg running egg_info creating Permutohedral.egg-info writing Permutohedral.egg-info/PKG-INFO writing dependency_links to Permutohedral.egg-info/dependency_links.txt writing top-level names to Permutohedral.egg-info/top_level.txt writing manifest file 'Permutohedral.egg-info/SOURCES.txt' reading manifest file 'Permutohedral.egg-info/SOURCES.txt' writing manifest file 'Permutohedral.egg-info/SOURCES.txt' installing library code to build/bdist.linux-x86_64/egg running install_lib running build_ext building 'Permutohedral' extension creating build creating build/temp.linux-x86_64-3.6 creating build/temp.linux-x86_64-3.6/source creating build/temp.linux-x86_64-3.6/source/cpu x86_64-linux-gnu-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -I/home/dyl/Desktop/zly_project/pytorch-crfasrnn-master/lib/python3.6/site-packages/torch/lib/include -I/home/dyl/Desktop/zly_project/pytorch-crfasrnn-master/lib/python3.6/site-packages/torch/lib/include/torch/csrc/api/include -I/home/dyl/Desktop/zly_project/pytorch-crfasrnn-master/lib/python3.6/site-packages/torch/lib/include/TH -I/home/dyl/Desktop/zly_project/pytorch-crfasrnn-master/lib/python3.6/site-packages/torch/lib/include/THC -I/usr/include/python3.6m -I/home/dyl/Desktop/zly_project/pytorch-crfasrnn-master/include/python3.6m -c source/cpu/LatticeFilterKernel.cpp -o build/temp.linux-x86_64-3.6/source/cpu/LatticeFilterKernel.o -DTORCH_API_INCLUDE_EXTENSION_H -DTORCH_EXTENSION_NAME=Permutohedral -D_GLIBCXX_USE_CXX11_ABI=0 -std=c++11 creating build/lib.linux-x86_64-3.6 x86_64-linux-gnu-g++ -pthread -shared -Wl,-O1 -Wl,-Bsymbolic-functions -Wl,-Bsymbolic-functions -Wl,-z,relro -Wl,-Bsymbolic-functions -Wl,-z,relro -g -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 build/temp.linux-x86_64-3.6/source/cpu/LatticeFilterKernel.o -o build/lib.linux-x86_64-3.6/Permutohedral.cpython-36m-x86_64-linux-gnu.so building 'Permutohedral_gpu' extension creating build/temp.linux-x86_64-3.6/source/gpu /usr/local/cuda/bin/nvcc -I/home/dyl/Desktop/zly_project/pytorch-crfasrnn-master/lib/python3.6/site-packages/torch/lib/include -I/home/dyl/Desktop/zly_project/pytorch-crfasrnn-master/lib/python3.6/site-packages/torch/lib/include/torch/csrc/api/include -I/home/dyl/Desktop/zly_project/pytorch-crfasrnn-master/lib/python3.6/site-packages/torch/lib/include/TH -I/home/dyl/Desktop/zly_project/pytorch-crfasrnn-master/lib/python3.6/site-packages/torch/lib/include/THC -I/usr/local/cuda/include -I/usr/include/python3.6m -I/home/dyl/Desktop/zly_project/pytorch-crfasrnn-master/include/python3.6m -c source/gpu/LatticeFilter.cu -o build/temp.linux-x86_64-3.6/source/gpu/LatticeFilter.o -D__CUDA_NO_HALF_OPERATORS__ -D__CUDA_NO_HALF_CONVERSIONS__ -D__CUDA_NO_HALF2_OPERATORS__ --compiler-options '-fPIC' -DTORCH_API_INCLUDE_EXTENSION_H -DTORCH_EXTENSION_NAME=Permutohedral_gpu -D_GLIBCXX_USE_CXX11_ABI=0 -std=c++11 /home/dyl/Desktop/zly_project/pytorch-crfasrnn-master/lib/python3.6/site-packages/torch/lib/include/ATen/core/jit_type.h(907): warning: statement is unreachable

/home/dyl/Desktop/zly_project/pytorch-crfasrnn-master/lib/python3.6/site-packages/torch/lib/include/pybind11/pytypes.h:1165:206: error: expansion pattern ‘pybind11::detail::negation<std::is_same<pybind11::detail::bools<pybind11::detail::negation<std::is_base_of<pybind11::arg, Args> >::value ..., pybind11::detail::negation<std::is_same<pybind11::detail::kwargs_proxy, Args> >::value ..., true>, pybind11::detail::bools<true, pybind11::detail::negation<std::is_base_of<pybind11::arg, Args> >::value ..., pybind11::detail::negation<std::is_same<pybind11::detail::kwargs_proxy, Args> >::value ...> > >::value’ contains no argument packs /home/dyl/Desktop/zly_project/pytorch-crfasrnn-master/lib/python3.6/site-packages/torch/lib/include/pybind11/pytypes.h:1165:215: error: template argument 1 is invalid /home/dyl/Desktop/zly_project/pytorch-crfasrnn-master/lib/python3.6/site-packages/torch/lib/include/pybind11/pytypes.h:1165:392: error: expansion pattern ‘pybind11::detail::negation<std::is_same<pybind11::detail::bools<pybind11::detail::negation<std::is_base_of<pybind11::arg, Args> >::value ..., pybind11::detail::negation<std::is_same<pybind11::detail::kwargs_proxy, Args> >::value ..., true>, pybind11::detail::bools<true, pybind11::detail::negation<std::is_base_of<pybind11::arg, Args> >::value ..., pybind11::detail::negation<std::is_same<pybind11::detail::kwargs_proxy, Args> >::value ...> > >::value’ contains no argument packs /home/dyl/Desktop/zly_project/pytorch-crfasrnn-master/lib/python3.6/site-packages/torch/lib/include/pybind11/pytypes.h:1165:395: error: template argument 2 is invalid /home/dyl/Desktop/zly_project/pytorch-crfasrnn-master/lib/python3.6/site-packages/torch/lib/include/pybind11/pytypes.h:1165:397: error: template argument 1 is invalid /home/dyl/Desktop/zly_project/pytorch-crfasrnn-master/lib/python3.6/site-packages/torch/lib/include/pybind11/pytypes.h:1165:397: error: template argument 2 is invalid /home/dyl/Desktop/zly_project/pytorch-crfasrnn-master/lib/python3.6/site-packages/torch/lib/include/pybind11/pytypes.h:1165:412: error: template argument 1 is invalid /home/dyl/Desktop/zly_project/pytorch-crfasrnn-master/lib/python3.6/site-packages/torch/lib/include/pybind11/cast.h:766:149: error: expansion pattern ‘std::is_copy_constructible<_Tp>::value’ contains no argument packs /home/dyl/Desktop/zly_project/pytorch-crfasrnn-master/lib/python3.6/site-packages/torch/lib/include/pybind11/cast.h:766:240: error: expansion pattern ‘std::is_same<typename Container::value_type&, typename Container::reference>::value’ contains no argument packs /home/dyl/Desktop/zly_project/pytorch-crfasrnn-master/lib/python3.6/site-packages/torch/lib/include/pybind11/cast.h:766:249: error: template argument 1 is invalid /home/dyl/Desktop/zly_project/pytorch-crfasrnn-master/lib/python3.6/site-packages/torch/lib/include/pybind11/cast.h:766:249: error: template argument 2 is invalid /home/dyl/Desktop/zly_project/pytorch-crfasrnn-master/lib/python3.6/site-packages/torch/lib/include/pybind11/cast.h:766:312: error: expansion pattern ‘std::is_copy_constructible<_Tp>::value’ contains no argument packs /home/dyl/Desktop/zly_project/pytorch-crfasrnn-master/lib/python3.6/site-packages/torch/lib/include/pybind11/cast.h:766:403: error: expansion pattern ‘std::is_same<typename Container::value_type&, typename Container::reference>::value’ contains no argument packs /home/dyl/Desktop/zly_project/pytorch-crfasrnn-master/lib/python3.6/site-packages/torch/lib/include/pybind11/cast.h:766:406: error: template argument 2 is invalid /home/dyl/Desktop/zly_project/pytorch-crfasrnn-master/lib/python3.6/site-packages/torch/lib/include/pybind11/cast.h:766:406: error: template argument 3 is invalid /home/dyl/Desktop/zly_project/pytorch-crfasrnn-master/lib/python3.6/site-packages/torch/lib/include/pybind11/cast.h:766:408: error: template argument 1 is invalid /home/dyl/Desktop/zly_project/pytorch-crfasrnn-master/lib/python3.6/site-packages/torch/lib/include/pybind11/cast.h:766:408: error: template argument 2 is invalid /home/dyl/Desktop/zly_project/pytorch-crfasrnn-master/lib/python3.6/site-packages/torch/lib/include/pybind11/cast.h:766:423: error: template argument 1 is invalid /home/dyl/Desktop/zly_project/pytorch-crfasrnn-master/lib/python3.6/site-packages/torch/lib/include/pybind11/cast.h:766:425: error: template argument 2 is invalid /home/dyl/Desktop/zly_project/pytorch-crfasrnn-master/lib/python3.6/site-packages/torch/lib/include/pybind11/cast.h:960:126: error: expansion pattern ‘pybind11::detail::negation<std::is_same<CharT, char> >’ contains no argument packs /home/dyl/Desktop/zly_project/pytorch-crfasrnn-master/lib/python3.6/site-packages/torch/lib/include/pybind11/cast.h:960:170: error: expansion pattern ‘pybind11::detail::negation<std::is_same<CharT, char16_t> >’ contains no argument packs /home/dyl/Desktop/zly_project/pytorch-crfasrnn-master/lib/python3.6/site-packages/torch/lib/include/pybind11/cast.h:960:214: error: expansion pattern ‘pybind11::detail::negation<std::is_same<CharT, char32_t> >’ contains no argument packs /home/dyl/Desktop/zly_project/pytorch-crfasrnn-master/lib/python3.6/site-packages/torch/lib/include/pybind11/cast.h:960:257: error: expansion pattern ‘pybind11::detail::negation<std::is_same<CharT, wchar_t> >’ contains no argument packs /home/dyl/Desktop/zly_project/pytorch-crfasrnn-master/lib/python3.6/site-packages/torch/lib/include/pybind11/cast.h:960:260: error: template argument 1 is invalid /home/dyl/Desktop/zly_project/pytorch-crfasrnn-master/lib/python3.6/site-packages/torch/lib/include/pybind11/cast.h:960:260: error: template argument 2 is invalid /home/dyl/Desktop/zly_project/pytorch-crfasrnn-master/lib/python3.6/site-packages/torch/lib/include/pybind11/cast.h:960:260: error: template argument 3 is invalid /home/dyl/Desktop/zly_project/pytorch-crfasrnn-master/lib/python3.6/site-packages/torch/lib/include/pybind11/cast.h:960:260: error: template argument 4 is invalid /home/dyl/Desktop/zly_project/pytorch-crfasrnn-master/lib/python3.6/site-packages/torch/lib/include/pybind11/cast.h:960:262: error: template argument 1 is invalid /home/dyl/Desktop/zly_project/pytorch-crfasrnn-master/lib/python3.6/site-packages/torch/lib/include/pybind11/cast.h:1250:138: error: expansion pattern ‘pybind11::detail::negation<std::is_same<CharT, char> >’ contains no argument packs /home/dyl/Desktop/zly_project/pytorch-crfasrnn-master/lib/python3.6/site-packages/torch/lib/include/pybind11/cast.h:1250:186: error: expansion pattern ‘pybind11::detail::negation<std::is_same<CharT, char16_t> >’ contains no argument packs /home/dyl/Desktop/zly_project/pytorch-crfasrnn-master/lib/python3.6/site-packages/torch/lib/include/pybind11/cast.h:1250:234: error: expansion pattern ‘pybind11::detail::negation<std::is_same<CharT, char32_t> >’ contains no argument packs /home/dyl/Desktop/zly_project/pytorch-crfasrnn-master/lib/python3.6/site-packages/torch/lib/include/pybind11/cast.h:1250:281: error: expansion pattern ‘pybind11::detail::negation<std::is_same<CharT, wchar_t> >’ contains no argument packs /home/dyl/Desktop/zly_project/pytorch-crfasrnn-master/lib/python3.6/site-packages/torch/lib/include/pybind11/cast.h:1250:284: error: template argument 1 is invalid /home/dyl/Desktop/zly_project/pytorch-crfasrnn-master/lib/python3.6/site-packages/torch/lib/include/pybind11/cast.h:1250:284: error: template argument 2 is invalid /home/dyl/Desktop/zly_project/pytorch-crfasrnn-master/lib/python3.6/site-packages/torch/lib/include/pybind11/cast.h:1250:284: error: template argument 3 is invalid /home/dyl/Desktop/zly_project/pytorch-crfasrnn-master/lib/python3.6/site-packages/torch/lib/include/pybind11/cast.h:1250:284: error: template argument 4 is invalid /home/dyl/Desktop/zly_project/pytorch-crfasrnn-master/lib/python3.6/site-packages/torch/lib/include/pybind11/cast.h:1250:286: error: template argument 1 is invalid /home/dyl/Desktop/zly_project/pytorch-crfasrnn-master/lib/python3.6/site-packages/torch/lib/include/pybind11/cast.h:1250:301: error: template argument 1 is invalid /home/dyl/Desktop/zly_project/pytorch-crfasrnn-master/lib/python3.6/site-packages/torch/lib/include/pybind11/cast.h:1250:303: error: template argument 2 is invalid /home/dyl/Desktop/zly_project/pytorch-crfasrnn-master/lib/python3.6/site-packages/torch/lib/include/pybind11/cast.h:1261:121: error: expansion pattern ‘pybind11::detail::negation<std::is_same<CharT, char> >’ contains no argument packs /home/dyl/Desktop/zly_project/pytorch-crfasrnn-master/lib/python3.6/site-packages/torch/lib/include/pybind11/cast.h:1261:169: error: expansion pattern ‘pybind11::detail::negation<std::is_same<CharT, char16_t> >’ contains no argument packs /home/dyl/Desktop/zly_project/pytorch-crfasrnn-master/lib/python3.6/site-packages/torch/lib/include/pybind11/cast.h:1261:217: error: expansion pattern ‘pybind11::detail::negation<std::is_same<CharT, char32_t> >’ contains no argument packs /home/dyl/Desktop/zly_project/pytorch-crfasrnn-master/lib/python3.6/site-packages/torch/lib/include/pybind11/cast.h:1261:264: error: expansion pattern ‘pybind11::detail::negation<std::is_same<CharT, wchar_t> >’ contains no argument packs /home/dyl/Desktop/zly_project/pytorch-crfasrnn-master/lib/python3.6/site-packages/torch/lib/include/pybind11/cast.h:1261:267: error: template argument 1 is invalid /home/dyl/Desktop/zly_project/pytorch-crfasrnn-master/lib/python3.6/site-packages/torch/lib/include/pybind11/cast.h:1261:267: error: template argument 2 is invalid /home/dyl/Desktop/zly_project/pytorch-crfasrnn-master/lib/python3.6/site-packages/torch/lib/include/pybind11/cast.h:1261:267: error: template argument 3 is invalid /home/dyl/Desktop/zly_project/pytorch-crfasrnn-master/lib/python3.6/site-packages/torch/lib/include/pybind11/cast.h:1261:267: error: template argument 4 is invalid /home/dyl/Desktop/zly_project/pytorch-crfasrnn-master/lib/python3.6/site-packages/torch/lib/include/pybind11/cast.h:1261:269: error: template argument 1 is invalid /home/dyl/Desktop/zly_project/pytorch-crfasrnn-master/lib/python3.6/site-packages/torch/lib/include/pybind11/cast.h:1261:284: error: template argument 1 is invalid /home/dyl/Desktop/zly_project/pytorch-crfasrnn-master/lib/python3.6/site-packages/torch/lib/include/pybind11/cast.h:1261:286: error: template argument 2 is invalid /home/dyl/Desktop/zly_project/pytorch-crfasrnn-master/lib/python3.6/site-packages/torch/lib/include/pybind11/cast.h:1583:112: error: expansion pattern ‘std::is_void<_Tp>’ contains no argument packs /home/dyl/Desktop/zly_project/pytorch-crfasrnn-master/lib/python3.6/site-packages/torch/lib/include/pybind11/cast.h:1583:137: error: expansion pattern ‘std::is_pointer<_Tp>’ contains no argument packs /home/dyl/Desktop/zly_project/pytorch-crfasrnn-master/lib/python3.6/site-packages/torch/lib/include/pybind11/cast.h:1583:164: error: expansion pattern ‘std::is_reference<_Tp>’ contains no argument packs /home/dyl/Desktop/zly_project/pytorch-crfasrnn-master/lib/python3.6/site-packages/torch/lib/include/pybind11/cast.h:1583:187: error: expansion pattern ‘std::is_const<_Tp>’ contains no argument packs /home/dyl/Desktop/zly_project/pytorch-crfasrnn-master/lib/python3.6/site-packages/torch/lib/include/pybind11/cast.h:1583:190: error: template argument 1 is invalid /home/dyl/Desktop/zly_project/pytorch-crfasrnn-master/lib/python3.6/site-packages/torch/lib/include/pybind11/cast.h:1583:190: error: template argument 2 is invalid /home/dyl/Desktop/zly_project/pytorch-crfasrnn-master/lib/python3.6/site-packages/torch/lib/include/pybind11/cast.h:1583:190: error: template argument 3 is invalid /home/dyl/Desktop/zly_project/pytorch-crfasrnn-master/lib/python3.6/site-packages/torch/lib/include/pybind11/cast.h:1583:190: error: template argument 4 is invalid /home/dyl/Desktop/zly_project/pytorch-crfasrnn-master/lib/python3.6/site-packages/torch/lib/include/pybind11/cast.h:1583:192: error: template argument 1 is invalid /home/dyl/Desktop/zly_project/pytorch-crfasrnn-master/lib/python3.6/site-packages/torch/lib/include/pybind11/cast.h:1583:201: error: expected parameter pack before ‘...’ /home/dyl/Desktop/zly_project/pytorch-crfasrnn-master/lib/python3.6/site-packages/torch/lib/include/pybind11/cast.h:1583:251: error: expansion pattern ‘pybind11::detail::negation<pybind11::detail::is_copy_constructible<T1> >::value’ contains no argument packs /home/dyl/Desktop/zly_project/pytorch-crfasrnn-master/lib/python3.6/site-packages/torch/lib/include/pybind11/cast.h:1583:294: error: expansion pattern ‘std::is_move_constructible<_Tp>::value’ contains no argument packs /home/dyl/Desktop/zly_project/pytorch-crfasrnn-master/lib/python3.6/site-packages/torch/lib/include/pybind11/cast.h:1583:392: error: expansion pattern ‘std::is_same<decltype (declval<pybind11::detail::type_caster<typename pybind11::detail::intrinsic_type<T>::type, void> >().operator T&()), T&>::value’ contains no argument packs /home/dyl/Desktop/zly_project/pytorch-crfasrnn-master/lib/python3.6/site-packages/torch/lib/include/pybind11/cast.h:1583:401: error: template argument 1 is invalid /home/dyl/Desktop/zly_project/pytorch-crfasrnn-master/lib/python3.6/site-packages/torch/lib/include/pybind11/cast.h:1583:401: error: template argument 2 is invalid /home/dyl/Desktop/zly_project/pytorch-crfasrnn-master/lib/python3.6/site-packages/torch/lib/include/pybind11/cast.h:1583:401: error: template argument 3 is invalid /home/dyl/Desktop/zly_project/pytorch-crfasrnn-master/lib/python3.6/site-packages/torch/lib/include/pybind11/cast.h:1583:401: error: template argument 4 is invalid /home/dyl/Desktop/zly_project/pytorch-crfasrnn-master/lib/python3.6/site-packages/torch/lib/include/pybind11/cast.h:1583:453: error: expansion pattern ‘std::is_void<_Tp>’ contains no argument packs /home/dyl/Desktop/zly_project/pytorch-crfasrnn-master/lib/python3.6/site-packages/torch/lib/include/pybind11/cast.h:1583:478: error: expansion pattern ‘std::is_pointer<_Tp>’ contains no argument packs /home/dyl/Desktop/zly_project/pytorch-crfasrnn-master/lib/python3.6/site-packages/torch/lib/include/pybind11/cast.h:1583:505: error: expansion pattern ‘std::is_reference<_Tp>’ contains no argument packs /home/dyl/Desktop/zly_project/pytorch-crfasrnn-master/lib/python3.6/site-packages/torch/lib/include/pybind11/cast.h:1583:528: error: expansion pattern ‘std::is_const<_Tp>’ contains no argument packs /home/dyl/Desktop/zly_project/pytorch-crfasrnn-master/lib/python3.6/site-packages/torch/lib/include/pybind11/cast.h:1583:531: error: template argument 1 is invalid /home/dyl/Desktop/zly_project/pytorch-crfasrnn-master/lib/python3.6/site-packages/torch/lib/include/pybind11/cast.h:1583:531: error: template argument 2 is invalid /home/dyl/Desktop/zly_project/pytorch-crfasrnn-master/lib/python3.6/site-packages/torch/lib/include/pybind11/cast.h:1583:531: error: template argument 3 is invalid /home/dyl/Desktop/zly_project/pytorch-crfasrnn-master/lib/python3.6/site-packages/torch/lib/include/pybind11/cast.h:1583:531: error: template argument 4 is invalid /home/dyl/Desktop/zly_project/pytorch-crfasrnn-master/lib/python3.6/site-packages/torch/lib/include/pybind11/cast.h:1583:533: error: template argument 1 is invalid /home/dyl/Desktop/zly_project/pytorch-crfasrnn-master/lib/python3.6/site-packages/torch/lib/include/pybind11/cast.h:1583:542: error: expected parameter pack before ‘...’ /home/dyl/Desktop/zly_project/pytorch-crfasrnn-master/lib/python3.6/site-packages/torch/lib/include/pybind11/cast.h:1583:592: error: expansion pattern ‘pybind11::detail::negation<pybind11::detail::is_copy_constructible<T1> >::value’ contains no argument packs /home/dyl/Desktop/zly_project/pytorch-crfasrnn-master/lib/python3.6/site-packages/torch/lib/include/pybind11/cast.h:1583:635: error: expansion pattern ‘std::is_move_constructible<_Tp>::value’ contains no argument packs /home/dyl/Desktop/zly_project/pytorch-crfasrnn-master/lib/python3.6/site-packages/torch/lib/include/pybind11/cast.h:1583:733: error: expansion pattern ‘std::is_same<decltype (declval<pybind11::detail::type_caster<typename pybind11::detail::intrinsic_type<T>::type, void> >().operator T&()), T&>::value’ contains no argument packs /home/dyl/Desktop/zly_project/pytorch-crfasrnn-master/lib/python3.6/site-packages/torch/lib/include/pybind11/cast.h:1583:736: error: template argument 2 is invalid /home/dyl/Desktop/zly_project/pytorch-crfasrnn-master/lib/python3.6/site-packages/torch/lib/include/pybind11/cast.h:1583:736: error: template argument 3 is invalid /home/dyl/Desktop/zly_project/pytorch-crfasrnn-master/lib/python3.6/site-packages/torch/lib/include/pybind11/cast.h:1583:736: error: template argument 4 is invalid /home/dyl/Desktop/zly_project/pytorch-crfasrnn-master/lib/python3.6/site-packages/torch/lib/include/pybind11/cast.h:1583:736: error: template argument 5 is invalid /home/dyl/Desktop/zly_project/pytorch-crfasrnn-master/lib/python3.6/site-packages/torch/lib/include/pybind11/cast.h:1583:738: error: template argument 1 is invalid /home/dyl/Desktop/zly_project/pytorch-crfasrnn-master/lib/python3.6/site-packages/torch/lib/include/pybind11/cast.h:1583:738: error: template argument 2 is invalid /home/dyl/Desktop/zly_project/pytorch-crfasrnn-master/lib/python3.6/site-packages/torch/lib/include/pybind11/cast.h:1583:753: error: template argument 1 is invalid /home/dyl/Desktop/zly_project/pytorch-crfasrnn-master/lib/python3.6/site-packages/torch/lib/include/pybind11/cast.h:1583:755: error: template argument 2 is invalid /home/dyl/Desktop/zly_project/pytorch-crfasrnn-master/lib/python3.6/site-packages/torch/lib/include/pybind11/cast.h:1590:121: error: expansion pattern ‘std::is_void<_Tp>’ contains no argument packs /home/dyl/Desktop/zly_project/pytorch-crfasrnn-master/lib/python3.6/site-packages/torch/lib/include/pybind11/cast.h:1590:146: error: expansion pattern ‘std::is_pointer<_Tp>’ contains no argument packs /home/dyl/Desktop/zly_project/pytorch-crfasrnn-master/lib/python3.6/site-packages/torch/lib/include/pybind11/cast.h:1590:173: error: expansion pattern ‘std::is_reference<_Tp>’ contains no argument packs /home/dyl/Desktop/zly_project/pytorch-crfasrnn-master/lib/python3.6/site-packages/torch/lib/include/pybind11/cast.h:1590:196: error: expansion pattern ‘std::is_const<_Tp>’ contains no argument packs /home/dyl/Desktop/zly_project/pytorch-crfasrnn-master/lib/python3.6/site-packages/torch/lib/include/pybind11/cast.h:1590:199: error: template argument 1 is invalid /home/dyl/Desktop/zly_project/pytorch-crfasrnn-master/lib/python3.6/site-packages/torch/lib/include/pybind11/cast.h:1590:199: error: template argument 2 is invalid /home/dyl/Desktop/zly_project/pytorch-crfasrnn-master/lib/python3.6/site-packages/torch/lib/include/pybind11/cast.h:1590:199: error: template argument 3 is invalid /home/dyl/Desktop/zly_project/pytorch-crfasrnn-master/lib/python3.6/site-packages/torch/lib/include/pybind11/cast.h:1590:199: error: template argument 4 is invalid /home/dyl/Desktop/zly_project/pytorch-crfasrnn-master/lib/python3.6/site-packages/torch/lib/include/pybind11/cast.h:1590:201: error: template argument 1 is invalid /home/dyl/Desktop/zly_project/pytorch-crfasrnn-master/lib/python3.6/site-packages/torch/lib/include/pybind11/cast.h:1590:210: error: expected parameter pack before ‘...’ /home/dyl/Desktop/zly_project/pytorch-crfasrnn-master/lib/python3.6/site-packages/torch/lib/include/pybind11/cast.h:1590:250: error: expansion pattern ‘pybind11::detail::negation<pybind11::detail::move_always<T> >::value’ contains no argument packs /home/dyl/Desktop/zly_project/pytorch-crfasrnn-master/lib/python3.6/site-packages/torch/lib/include/pybind11/cast.h:1590:293: error: expansion pattern ‘std::is_move_constructible<_Tp>::value’ contains no argument packs /home/dyl/Desktop/zly_project/pytorch-crfasrnn-master/lib/python3.6/site-packages/torch/lib/include/pybind11/cast.h:1590:391: error: expansion pattern ‘std::is_same<decltype (declval<pybind11::detail::type_caster<typename pybind11::detail::intrinsic_type<T>::type, void> >().operator T&()), T&>::value’ contains no argument packs /home/dyl/Desktop/zly_project/pytorch-crfasrnn-master/lib/python3.6/site-packages/torch/lib/include/pybind11/cast.h:1590:400: error: template argument 1 is invalid /home/dyl/Desktop/zly_project/pytorch-crfasrnn-master/lib/python3.6/site-packages/torch/lib/include/pybind11/cast.h:1590:400: error: template argument 2 is invalid /home/dyl/Desktop/zly_project/pytorch-crfasrnn-master/lib/python3.6/site-packages/torch/lib/include/pybind11/cast.h:1590:400: error: template argument 3 is invalid /home/dyl/Desktop/zly_project/pytorch-crfasrnn-master/lib/python3.6/site-packages/torch/lib/include/pybind11/cast.h:1590:400: error: template argument 4 is invalid /home/dyl/Desktop/zly_project/pytorch-crfasrnn-master/lib/python3.6/site-packages/torch/lib/include/pybind11/cast.h:1590:452: error: expansion pattern ‘std::is_void<_Tp>’ contains no argument packs /home/dyl/Desktop/zly_project/pytorch-crfasrnn-master/lib/python3.6/site-packages/torch/lib/include/pybind11/cast.h:1590:477: error: expansion pattern ‘std::is_pointer<_Tp>’ contains no argument packs /home/dyl/Desktop/zly_project/pytorch-crfasrnn-master/lib/python3.6/site-packages/torch/lib/include/pybind11/cast.h:1590:504: error: expansion pattern ‘std::is_reference<_Tp>’ contains no argument packs /home/dyl/Desktop/zly_project/pytorch-crfasrnn-master/lib/python3.6/site-packages/torch/lib/include/pybind11/cast.h:1590:527: error: expansion pattern ‘std::is_const<_Tp>’ contains no argument packs /home/dyl/Desktop/zly_project/pytorch-crfasrnn-master/lib/python3.6/site-packages/torch/lib/include/pybind11/cast.h:1590:530: error: template argument 1 is invalid /home/dyl/Desktop/zly_project/pytorch-crfasrnn-master/lib/python3.6/site-packages/torch/lib/include/pybind11/cast.h:1590:530: error: template argument 2 is invalid /home/dyl/Desktop/zly_project/pytorch-crfasrnn-master/lib/python3.6/site-packages/torch/lib/include/pybind11/cast.h:1590:530: error: template argument 3 is invalid /home/dyl/Desktop/zly_project/pytorch-crfasrnn-master/lib/python3.6/site-packages/torch/lib/include/pybind11/cast.h:1590:530: error: template argument 4 is invalid /home/dyl/Desktop/zly_project/pytorch-crfasrnn-master/lib/python3.6/site-packages/torch/lib/include/pybind11/cast.h:1590:532: error: template argument 1 is invalid /home/dyl/Desktop/zly_project/pytorch-crfasrnn-master/lib/python3.6/site-packages/torch/lib/include/pybind11/cast.h:1590:541: error: expected parameter pack before ‘...’ /home/dyl/Desktop/zly_project/pytorch-crfasrnn-master/lib/python3.6/site-packages/torch/lib/include/pybind11/cast.h:1590:581: error: expansion pattern ‘pybind11::detail::negation<pybind11::detail::move_always<T> >::value’ contains no argument packs /home/dyl/Desktop/zly_project/pytorch-crfasrnn-master/lib/python3.6/site-packages/torch/lib/include/pybind11/cast.h:1590:624: error: expansion pattern ‘std::is_move_constructible<_Tp>::value’ contains no argument packs /home/dyl/Desktop/zly_project/pytorch-crfasrnn-master/lib/python3.6/site-packages/torch/lib/include/pybind11/cast.h:1590:722: error: expansion pattern ‘std::is_same<decltype (declval<pybind11::detail::type_caster<typename pybind11::detail::intrinsic_type<T>::type, void> >().operator T&()), T&>::value’ contains no argument packs /home/dyl/Desktop/zly_project/pytorch-crfasrnn-master/lib/python3.6/site-packages/torch/lib/include/pybind11/cast.h:1590:725: error: template argument 2 is invalid /home/dyl/Desktop/zly_project/pytorch-crfasrnn-master/lib/python3.6/site-packages/torch/lib/include/pybind11/cast.h:1590:725: error: template argument 3 is invalid /home/dyl/Desktop/zly_project/pytorch-crfasrnn-master/lib/python3.6/site-packages/torch/lib/include/pybind11/cast.h:1590:725: error: template argument 4 is invalid /home/dyl/Desktop/zly_project/pytorch-crfasrnn-master/lib/python3.6/site-packages/torch/lib/include/pybind11/cast.h:1590:725: error: template argument 5 is invalid /home/dyl/Desktop/zly_project/pytorch-crfasrnn-master/lib/python3.6/site-packages/torch/lib/include/pybind11/cast.h:1590:727: error: template argument 1 is invalid /home/dyl/Desktop/zly_project/pytorch-crfasrnn-master/lib/python3.6/site-packages/torch/lib/include/pybind11/cast.h:1590:727: error: template argument 2 is invalid /home/dyl/Desktop/zly_project/pytorch-crfasrnn-master/lib/python3.6/site-packages/torch/lib/include/pybind11/cast.h:1590:742: error: template argument 1 is invalid /home/dyl/Desktop/zly_project/pytorch-crfasrnn-master/lib/python3.6/site-packages/torch/lib/include/pybind11/cast.h:1590:744: error: template argument 2 is invalid /home/dyl/Desktop/zly_project/pytorch-crfasrnn-master/lib/python3.6/site-packages/torch/lib/include/pybind11/cast.h:1670:100: error: expansion pattern ‘pybind11::detail::move_always<T>’ contains no argument packs /home/dyl/Desktop/zly_project/pytorch-crfasrnn-master/lib/python3.6/site-packages/torch/lib/include/pybind11/cast.h:1670:138: error: expansion pattern ‘pybind11::detail::move_if_unreferenced<T>’ contains no argument packs /home/dyl/Desktop/zly_project/pytorch-crfasrnn-master/lib/python3.6/site-packages/torch/lib/include/pybind11/cast.h:1670:141: error: template argument 1 is invalid /home/dyl/Desktop/zly_project/pytorch-crfasrnn-master/lib/python3.6/site-packages/torch/lib/include/pybind11/cast.h:1670:141: error: template argument 2 is invalid /home/dyl/Desktop/zly_project/pytorch-crfasrnn-master/lib/python3.6/site-packages/torch/lib/include/pybind11/cast.h:1670:143: error: template argument 1 is invalid /home/dyl/Desktop/zly_project/pytorch-crfasrnn-master/lib/python3.6/site-packages/torch/lib/include/pybind11/cast.h:1670:155: error: template argument 1 is invalid /home/dyl/Desktop/zly_project/pytorch-crfasrnn-master/lib/python3.6/site-packages/torch/lib/include/pybind11/cast.h:1700:99: error: expansion pattern ‘pybind11::detail::move_always<T>’ contains no argument packs /home/dyl/Desktop/zly_project/pytorch-crfasrnn-master/lib/python3.6/site-packages/torch/lib/include/pybind11/cast.h:1700:137: error: expansion pattern ‘pybind11::detail::move_if_unreferenced<T>’ contains no argument packs /home/dyl/Desktop/zly_project/pytorch-crfasrnn-master/lib/python3.6/site-packages/torch/lib/include/pybind11/cast.h:1700:140: error: template argument 1 is invalid /home/dyl/Desktop/zly_project/pytorch-crfasrnn-master/lib/python3.6/site-packages/torch/lib/include/pybind11/cast.h:1700:140: error: template argument 2 is invalid /home/dyl/Desktop/zly_project/pytorch-crfasrnn-master/lib/python3.6/site-packages/torch/lib/include/pybind11/cast.h:1700:142: error: template argument 1 is invalid /home/dyl/Desktop/zly_project/pytorch-crfasrnn-master/lib/python3.6/site-packages/torch/lib/include/pybind11/cast.h:1700:154: error: template argument 1 is invalid /home/dyl/Desktop/zly_project/pytorch-crfasrnn-master/lib/python3.6/site-packages/torch/lib/include/pybind11/cast.h:2074:145: error: expansion pattern ‘pybind11::detail::negation<pybind11::detail::negation<std::is_same<pybind11::detail::bools<pybind11::detail::negation<std::is_base_of<pybind11::arg, Args> >::value ..., pybind11::detail::negation<std::is_same<pybind11::detail::args_proxy, Args> >::value ..., pybind11::detail::negation<std::is_same<pybind11::detail::kwargs_proxy, Args> >::value ..., true>, pybind11::detail::bools<true, pybind11::detail::negation<std::is_base_of<pybind11::arg, Args> >::value ..., pybind11::detail::negation<std::is_same<pybind11::detail::args_proxy, Args> >::value ..., pybind11::detail::negation<std::is_same<pybind11::detail::kwargs_proxy, Args> >::value ...> > > >::value’ contains no argument packs /home/dyl/Desktop/zly_project/pytorch-crfasrnn-master/lib/python3.6/site-packages/torch/lib/include/pybind11/cast.h:2074:154: error: template argument 1 is invalid /home/dyl/Desktop/zly_project/pytorch-crfasrnn-master/lib/python3.6/site-packages/torch/lib/include/pybind11/cast.h:2074:278: error: expansion pattern ‘pybind11::detail::negation<pybind11::detail::negation<std::is_same<pybind11::detail::bools<pybind11::detail::negation<std::is_base_of<pybind11::arg, Args> >::value ..., pybind11::detail::negation<std::is_same<pybind11::detail::args_proxy, Args> >::value ..., pybind11::detail::negation<std::is_same<pybind11::detail::kwargs_proxy, Args> >::value ..., true>, pybind11::detail::bools<true, pybind11::detail::negation<std::is_base_of<pybind11::arg, Args> >::value ..., pybind11::detail::negation<std::is_same<pybind11::detail::args_proxy, Args> >::value ..., pybind11::detail::negation<std::is_same<pybind11::detail::kwargs_proxy, Args> >::value ...> > > >::value’ contains no argument packs /home/dyl/Desktop/zly_project/pytorch-crfasrnn-master/lib/python3.6/site-packages/torch/lib/include/pybind11/cast.h:2074:281: error: template argument 2 is invalid /home/dyl/Desktop/zly_project/pytorch-crfasrnn-master/lib/python3.6/site-packages/torch/lib/include/pybind11/cast.h:2074:283: error: template argument 1 is invalid /home/dyl/Desktop/zly_project/pytorch-crfasrnn-master/lib/python3.6/site-packages/torch/lib/include/pybind11/cast.h:2074:283: error: template argument 2 is invalid /home/dyl/Desktop/zly_project/pytorch-crfasrnn-master/lib/python3.6/site-packages/torch/lib/include/pybind11/cast.h:2074:298: error: template argument 1 is invalid /home/dyl/Desktop/zly_project/pytorch-crfasrnn-master/lib/python3.6/site-packages/torch/lib/include/pybind11/cast.h:2081:146: error: expansion pattern ‘pybind11::detail::negation<pybind11::detail::negation<std::is_same<pybind11::detail::bools<pybind11::detail::negation<std::is_base_of<pybind11::arg, Args> >::value ..., pybind11::detail::negation<std::is_same<pybind11::detail::args_proxy, Args> >::value ..., pybind11::detail::negation<std::is_same<pybind11::detail::kwargs_proxy, Args> >::value ..., true>, pybind11::detail::bools<true, pybind11::detail::negation<std::is_base_of<pybind11::arg, Args> >::value ..., pybind11::detail::negation<std::is_same<pybind11::detail::args_proxy, Args> >::value ..., pybind11::detail::negation<std::is_same<pybind11::detail::kwargs_proxy, Args> >::value ...> > > >::value’ contains no argument packs /home/dyl/Desktop/zly_project/pytorch-crfasrnn-master/lib/python3.6/site-packages/torch/lib/include/pybind11/cast.h:2081:155: error: template argument 1 is invalid /home/dyl/Desktop/zly_project/pytorch-crfasrnn-master/lib/python3.6/site-packages/torch/lib/include/pybind11/cast.h:2081:279: error: expansion pattern ‘pybind11::detail::negation<pybind11::detail::negation<std::is_same<pybind11::detail::bools<pybind11::detail::negation<std::is_base_of<pybind11::arg, Args> >::value ..., pybind11::detail::negation<std::is_same<pybind11::detail::args_proxy, Args> >::value ..., pybind11::detail::negation<std::is_same<pybind11::detail::kwargs_proxy, Args> >::value ..., true>, pybind11::detail::bools<true, pybind11::detail::negation<std::is_base_of<pybind11::arg, Args> >::value ..., pybind11::detail::negation<std::is_same<pybind11::detail::args_proxy, Args> >::value ..., pybind11::detail::negation<std::is_same<pybind11::detail::kwargs_proxy, Args> >::value ...> > > >::value’ contains no argument packs /home/dyl/Desktop/zly_project/pytorch-crfasrnn-master/lib/python3.6/site-packages/torch/lib/include/pybind11/cast.h:2081:282: error: template argument 2 is invalid /home/dyl/Desktop/zly_project/pytorch-crfasrnn-master/lib/python3.6/site-packages/torch/lib/include/pybind11/cast.h:2081:284: error: template argument 1 is invalid /home/dyl/Desktop/zly_project/pytorch-crfasrnn-master/lib/python3.6/site-packages/torch/lib/include/pybind11/cast.h:2081:284: error: template argument 2 is invalid /home/dyl/Desktop/zly_project/pytorch-crfasrnn-master/lib/python3.6/site-packages/torch/lib/include/pybind11/cast.h:2081:299: error: template argument 1 is invalid /home/dyl/Desktop/zly_project/pytorch-crfasrnn-master/lib/python3.6/site-packages/torch/lib/include/pybind11/pybind11.h:64:113: error: expansion pattern ‘std::is_function<typename std::remove_reference<_From>::type>’ contains no argument packs /home/dyl/Desktop/zly_project/pytorch-crfasrnn-master/lib/python3.6/site-packages/torch/lib/include/pybind11/pybind11.h:64:171: error: expansion pattern ‘std::is_pointer<typename std::remove_reference< >::type>’ contains no argument packs /home/dyl/Desktop/zly_project/pytorch-crfasrnn-master/lib/python3.6/site-packages/torch/lib/include/pybind11/pybind11.h:64:236: error: expansion pattern ‘std::is_member_pointer<typename std::remove_reference< >::type>’ contains no argument packs /home/dyl/Desktop/zly_project/pytorch-crfasrnn-master/lib/python3.6/site-packages/torch/lib/include/pybind11/pybind11.h:64:239: error: template argument 1 is invalid /home/dyl/Desktop/zly_project/pytorch-crfasrnn-master/lib/python3.6/site-packages/torch/lib/include/pybind11/pybind11.h:64:239: error: template argument 2 is invalid /home/dyl/Desktop/zly_project/pytorch-crfasrnn-master/lib/python3.6/site-packages/torch/lib/include/pybind11/pybind11.h:64:239: error: template argument 3 is invalid /home/dyl/Desktop/zly_project/pytorch-crfasrnn-master/lib/python3.6/site-packages/torch/lib/include/pybind11/pybind11.h:64:241: error: template argument 1 is invalid /home/dyl/Desktop/zly_project/pytorch-crfasrnn-master/lib/python3.6/site-packages/torch/lib/include/pybind11/pybind11.h:64:256: error: template argument 1 is invalid /home/dyl/Desktop/zly_project/pytorch-crfasrnn-master/lib/python3.6/site-packages/torch/lib/include/pybind11/pybind11.h: In function ‘void pybind11::detail::keep_alive_impl(pybind11::handle, pybind11::handle)’: /home/dyl/Desktop/zly_project/pytorch-crfasrnn-master/lib/python3.6/site-packages/torch/lib/include/pybind11/pybind11.h:1499:54: error: no matching function for call to ‘pybind11::cpp_function::cpp_function(pybind11::detail::keep_alive_impl(pybind11::handle, pybind11::handle)::<lambda(pybind11::handle)>)’ [patient](handle weakref) { patient.dec_ref(); weakref.dec_ref(); }); ^ /home/dyl/Desktop/zly_project/pytorch-crfasrnn-master/lib/python3.6/site-packages/torch/lib/include/pybind11/pybind11.h:79:1: note: candidate: template<class Return, class Class, class ... Arg, class ... Extra> pybind11::cpp_function::cpp_function(Return (Class::)(Arg ...) const, const Extra& ...) cpp_function(Return (Class::f)(Arg...) const, const Extra&... extra) { ^ /home/dyl/Desktop/zly_project/pytorch-crfasrnn-master/lib/python3.6/site-packages/torch/lib/include/pybind11/pybind11.h:79:1: note: template argument deduction/substitution failed: /home/dyl/Desktop/zly_project/pytorch-crfasrnn-master/lib/python3.6/site-packages/torch/lib/include/pybind11/pybind11.h:1499:54: note: mismatched types ‘Return (Class::)(Arg ...) const’ and ‘pybind11::detail::keep_alive_impl(pybind11::handle, pybind11::handle)::<lambda(pybind11::handle)>’ [patient](handle weakref) { patient.dec_ref(); weakref.dec_ref(); }); ^ /home/dyl/Desktop/zly_project/pytorch-crfasrnn-master/lib/python3.6/site-packages/torch/lib/include/pybind11/pybind11.h:72:1: note: candidate: template<class Return, class Class, class ... Arg, class ... Extra> pybind11::cpp_function::cpp_function(Return (Class::)(Arg ...), const Extra& ...) cpp_function(Return (Class::f)(Arg...), const Extra&... extra) { ^ /home/dyl/Desktop/zly_project/pytorch-crfasrnn-master/lib/python3.6/site-packages/torch/lib/include/pybind11/pybind11.h:72:1: note: template argument deduction/substitution failed: /home/dyl/Desktop/zly_project/pytorch-crfasrnn-master/lib/python3.6/site-packages/torch/lib/include/pybind11/pybind11.h:1499:54: note: mismatched types ‘Return (Class::)(Arg ...)’ and ‘pybind11::detail::keep_alive_impl(pybind11::handle, pybind11::handle)::<lambda(pybind11::handle)>’ [patient](handle weakref) { patient.dec_ref(); weakref.dec_ref(); }); ^ /home/dyl/Desktop/zly_project/pytorch-crfasrnn-master/lib/python3.6/site-packages/torch/lib/include/pybind11/pybind11.h:65:1: note: candidate: template<class Func, class ... Extra, class> pybind11::cpp_function::cpp_function(Func&&, const Extra& ...) cpp_function(Func &&f, const Extra&... extra) { ^ /home/dyl/Desktop/zly_project/pytorch-crfasrnn-master/lib/python3.6/site-packages/torch/lib/include/pybind11/pybind11.h:65:1: note: template argument deduction/substitution failed: /home/dyl/Desktop/zly_project/pytorch-crfasrnn-master/lib/python3.6/site-packages/torch/lib/include/pybind11/pybind11.h:58:1: note: candidate: template<class Return, class ... Args, class ... Extra> pybind11::cpp_function::cpp_function(Return ()(Args ...), const Extra& ...) cpp_function(Return (f)(Args...), const Extra&... extra) { ^ /home/dyl/Desktop/zly_project/pytorch-crfasrnn-master/lib/python3.6/site-packages/torch/lib/include/pybind11/pybind11.h:58:1: note: template argument deduction/substitution failed: /home/dyl/Desktop/zly_project/pytorch-crfasrnn-master/lib/python3.6/site-packages/torch/lib/include/pybind11/pybind11.h:1499:54: note: mismatched types ‘Return ()(Args ...)’ and ‘pybind11::detail::keep_alive_impl(pybind11::handle, pybind11::handle)::<lambda(pybind11::handle)>’ [patient](handle weakref) { patient.dec_ref(); weakref.dec_ref(); }); ^ /home/dyl/Desktop/zly_project/pytorch-crfasrnn-master/lib/python3.6/site-packages/torch/lib/include/pybind11/pybind11.h:54:1: note: candidate: pybind11::cpp_function::cpp_function(std::nullptr_t) cpp_function(std::nullptr_t) { } ^ /home/dyl/Desktop/zly_project/pytorch-crfasrnn-master/lib/python3.6/site-packages/torch/lib/include/pybind11/pybind11.h:54:1: note: no known conversion for argument 1 from ‘pybind11::detail::keep_alive_impl(pybind11::handle, pybind11::handle)::<lambda(pybind11::handle)>’ to ‘std::nullptr_t’ /home/dyl/Desktop/zly_project/pytorch-crfasrnn-master/lib/python3.6/site-packages/torch/lib/include/pybind11/pybind11.h:53:9: note: candidate: pybind11::cpp_function::cpp_function() cpp_function() { } ^ /home/dyl/Desktop/zly_project/pytorch-crfasrnn-master/lib/python3.6/site-packages/torch/lib/include/pybind11/pybind11.h:53:9: note: candidate expects 0 arguments, 1 provided /home/dyl/Desktop/zly_project/pytorch-crfasrnn-master/lib/python3.6/site-packages/torch/lib/include/pybind11/pybind11.h:51:7: note: candidate: pybind11::cpp_function::cpp_function(const pybind11::cpp_function&) class cpp_function : public function { ^ /home/dyl/Desktop/zly_project/pytorch-crfasrnn-master/lib/python3.6/site-packages/torch/lib/include/pybind11/pybind11.h:51:7: note: no known conversion for argument 1 from ‘pybind11::detail::keep_alive_impl(pybind11::handle, pybind11::handle)::<lambda(pybind11::handle)>’ to ‘const pybind11::cpp_function&’ /home/dyl/Desktop/zly_project/pytorch-crfasrnn-master/lib/python3.6/site-packages/torch/lib/include/pybind11/pybind11.h:51:7: note: candidate: pybind11::cpp_function::cpp_function(pybind11::cpp_function&&) /home/dyl/Desktop/zly_project/pytorch-crfasrnn-master/lib/python3.6/site-packages/torch/lib/include/pybind11/pybind11.h:51:7: note: no known conversion for argument 1 from ‘pybind11::detail::keep_alive_impl(pybind11::handle, pybind11::handle)::<lambda(pybind11::handle)>’ to ‘pybind11::cpp_function&&’ /home/dyl/Desktop/zly_project/pytorch-crfasrnn-master/lib/python3.6/site-packages/torch/lib/include/pybind11/pybind11.h: In function ‘std::pair<std::__detail::_Node_iterator<std::pair<_typeobject const, std::vectorpybind11::detail::type_info* >, false, false>, bool> pybind11::detail::all_type_info_get_cache(PyTypeObject*)’: /home/dyl/Desktop/zly_project/pytorch-crfasrnn-master/lib/python3.6/site-packages/torch/lib/include/pybind11/pybind11.h:1535:3: error: no matching function for call to ‘pybind11::cpp_function::cpp_function(pybind11::detail::all_type_info_get_cache(PyTypeObject*)::<lambda(pybind11::handle)>)’ })).release(); ^ /home/dyl/Desktop/zly_project/pytorch-crfasrnn-master/lib/python3.6/site-packages/torch/lib/include/pybind11/pybind11.h:79:1: note: candidate: template<class Return, class Class, class ... Arg, class ... Extra> pybind11::cpp_function::cpp_function(Return (Class::)(Arg ...) const, const Extra& ...) cpp_function(Return (Class::f)(Arg...) const, const Extra&... extra) { ^ /home/dyl/Desktop/zly_project/pytorch-crfasrnn-master/lib/python3.6/site-packages/torch/lib/include/pybind11/pybind11.h:79:1: note: template argument deduction/substitution failed: /home/dyl/Desktop/zly_project/pytorch-crfasrnn-master/lib/python3.6/site-packages/torch/lib/include/pybind11/pybind11.h:1535:3: note: mismatched types ‘Return (Class::)(Arg ...) const’ and ‘pybind11::detail::all_type_info_get_cache(PyTypeObject)::<lambda(pybind11::handle)>’ })).release(); ^ /home/dyl/Desktop/zly_project/pytorch-crfasrnn-master/lib/python3.6/site-packages/torch/lib/include/pybind11/pybind11.h:72:1: note: candidate: template<class Return, class Class, class ... Arg, class ... Extra> pybind11::cpp_function::cpp_function(Return (Class::)(Arg ...), const Extra& ...) cpp_function(Return (Class::f)(Arg...), const Extra&... extra) { ^ /home/dyl/Desktop/zly_project/pytorch-crfasrnn-master/lib/python3.6/site-packages/torch/lib/include/pybind11/pybind11.h:72:1: note: template argument deduction/substitution failed: /home/dyl/Desktop/zly_project/pytorch-crfasrnn-master/lib/python3.6/site-packages/torch/lib/include/pybind11/pybind11.h:1535:3: note: mismatched types ‘Return (Class::)(Arg ...)’ and ‘pybind11::detail::all_type_info_get_cache(PyTypeObject)::<lambda(pybind11::handle)>’ })).release(); ^ /home/dyl/Desktop/zly_project/pytorch-crfasrnn-master/lib/python3.6/site-packages/torch/lib/include/pybind11/pybind11.h:65:1: note: candidate: template<class Func, class ... Extra, class> pybind11::cpp_function::cpp_function(Func&&, const Extra& ...) cpp_function(Func &&f, const Extra&... extra) { ^ /home/dyl/Desktop/zly_project/pytorch-crfasrnn-master/lib/python3.6/site-packages/torch/lib/include/pybind11/pybind11.h:65:1: note: template argument deduction/substitution failed: /home/dyl/Desktop/zly_project/pytorch-crfasrnn-master/lib/python3.6/site-packages/torch/lib/include/pybind11/pybind11.h:58:1: note: candidate: template<class Return, class ... Args, class ... Extra> pybind11::cpp_function::cpp_function(Return ()(Args ...), const Extra& ...) cpp_function(Return (f)(Args...), const Extra&... extra) { ^ /home/dyl/Desktop/zly_project/pytorch-crfasrnn-master/lib/python3.6/site-packages/torch/lib/include/pybind11/pybind11.h:58:1: note: template argument deduction/substitution failed: /home/dyl/Desktop/zly_project/pytorch-crfasrnn-master/lib/python3.6/site-packages/torch/lib/include/pybind11/pybind11.h:1535:3: note: mismatched types ‘Return ()(Args ...)’ and ‘pybind11::detail::all_type_info_get_cache(PyTypeObject)::<lambda(pybind11::handle)>’ })).release(); ^ /home/dyl/Desktop/zly_project/pytorch-crfasrnn-master/lib/python3.6/site-packages/torch/lib/include/pybind11/pybind11.h:54:1: note: candidate: pybind11::cpp_function::cpp_function(std::nullptr_t) cpp_function(std::nullptr_t) { } ^ /home/dyl/Desktop/zly_project/pytorch-crfasrnn-master/lib/python3.6/site-packages/torch/lib/include/pybind11/pybind11.h:54:1: note: no known conversion for argument 1 from ‘pybind11::detail::all_type_info_get_cache(PyTypeObject*)::<lambda(pybind11::handle)>’ to ‘std::nullptr_t’ /home/dyl/Desktop/zly_project/pytorch-crfasrnn-master/lib/python3.6/site-packages/torch/lib/include/pybind11/pybind11.h:53:9: note: candidate: pybind11::cpp_function::cpp_function() cpp_function() { } ^ /home/dyl/Desktop/zly_project/pytorch-crfasrnn-master/lib/python3.6/site-packages/torch/lib/include/pybind11/pybind11.h:53:9: note: candidate expects 0 arguments, 1 provided /home/dyl/Desktop/zly_project/pytorch-crfasrnn-master/lib/python3.6/site-packages/torch/lib/include/pybind11/pybind11.h:51:7: note: candidate: pybind11::cpp_function::cpp_function(const pybind11::cpp_function&) class cpp_function : public function { ^ /home/dyl/Desktop/zly_project/pytorch-crfasrnn-master/lib/python3.6/site-packages/torch/lib/include/pybind11/pybind11.h:51:7: note: no known conversion for argument 1 from ‘pybind11::detail::all_type_info_get_cache(PyTypeObject*)::<lambda(pybind11::handle)>’ to ‘const pybind11::cpp_function&’ /home/dyl/Desktop/zly_project/pytorch-crfasrnn-master/lib/python3.6/site-packages/torch/lib/include/pybind11/pybind11.h:51:7: note: candidate: pybind11::cpp_function::cpp_function(pybind11::cpp_function&&) /home/dyl/Desktop/zly_project/pytorch-crfasrnn-master/lib/python3.6/site-packages/torch/lib/include/pybind11/pybind11.h:51:7: note: no known conversion for argument 1 from ‘pybind11::detail::all_type_info_get_cache(PyTypeObject*)::<lambda(pybind11::handle)>’ to ‘pybind11::cpp_function&&’ /home/dyl/Desktop/zly_project/pytorch-crfasrnn-master/lib/python3.6/site-packages/torch/lib/include/pybind11/cast.h: In instantiation of ‘T pybind11::object::cast() && [with T = std::basic_string]’: /home/dyl/Desktop/zly_project/pytorch-crfasrnn-master/lib/python3.6/site-packages/torch/lib/include/pybind11/detail/class.h:537:138: required from here /home/dyl/Desktop/zly_project/pytorch-crfasrnn-master/lib/python3.6/site-packages/torch/lib/include/pybind11/cast.h:1705:68: error: could not convert ‘pybind11::cast<std::basic_string >((* & std::movepybind11::object&(((pybind11::object)this))))’ from ‘int’ to ‘std::basic_string’ template <typename T> T object::cast() && { return pybind11::cast<T>(std::move(this) ^ /home/dyl/Desktop/zly_project/pytorch-crfasrnn-master/lib/python3.6/site-packages/torch/lib/include/pybind11/cast.h: In instantiation of ‘pybind11::object pybind11::detail::object_api<Derived>::operator()(Args&& ...) const [with pybind11::return_value_policy policy = (pybind11::return_value_policy)1u; Args = {}; Derived = pybind11::detail::accessorpybind11::detail::accessor_policies::str_attr]’: /home/dyl/Desktop/zly_project/pytorch-crfasrnn-master/lib/python3.6/site-packages/torch/lib/include/pybind11/pybind11.h:200:52: required from here /home/dyl/Desktop/zly_project/pytorch-crfasrnn-master/lib/python3.6/site-packages/torch/lib/include/pybind11/cast.h:2096:44: error: no matching function for call to ‘collect_arguments()’ return detail::collect_arguments(std::forward<Args>(args)...).call(derive ^ /home/dyl/Desktop/zly_project/pytorch-crfasrnn-master/lib/python3.6/site-packages/torch/lib/include/pybind11/cast.h:2075:1: note: candidate: template<pybind11::return_value_policy policy, class ... Args, class> pybind11::detail::simple_collector pybind11::detail::collect_arguments(Args&& ...) simple_collector collect_arguments(Args &&...args) { ^ /home/dyl/Desktop/zly_project/pytorch-crfasrnn-master/lib/python3.6/site-packages/torch/lib/include/pybind11/cast.h:2075:1: note: template argument deduction/substitution failed: /home/dyl/Desktop/zly_project/pytorch-crfasrnn-master/lib/python3.6/site-packages/torch/lib/include/pybind11/cast.h:2082:1: note: candidate: template<pybind11::return_value_policy policy, class ... Args, class> pybind11::detail::unpacking_collector pybind11::detail::collect_arguments(Args&& ...) unpacking_collector collect_arguments(Args &&...args) { ^ /home/dyl/Desktop/zly_project/pytorch-crfasrnn-master/lib/python3.6/site-packages/torch/lib/include/pybind11/cast.h:2082:1: note: template argument deduction/substitution failed: /home/dyl/Desktop/zly_project/pytorch-crfasrnn-master/lib/python3.6/site-packages/torch/lib/include/pybind11/cast.h: In instantiation of ‘pybind11::object pybind11::detail::object_api<Derived>::operator()(Args&& ...) const [with pybind11::return_value_policy policy = (pybind11::return_value_policy)1u; Args = {pybind11::handle, pybind11::handle, pybind11::none, pybind11::str}; Derived = pybind11::handle]’: /home/dyl/Desktop/zly_project/pytorch-crfasrnn-master/lib/python3.6/site-packages/torch/lib/include/pybind11/pybind11.h:964:158: required from here /home/dyl/Desktop/zly_project/pytorch-crfasrnn-master/lib/python3.6/site-packages/torch/lib/include/pybind11/cast.h:2096:44: error: no matching function for call to ‘collect_arguments(pybind11::handle, pybind11::handle, pybind11::none, pybind11::str)’ return detail::collect_arguments(std::forward<Args>(args)...).call(derive ^ /home/dyl/Desktop/zly_project/pytorch-crfasrnn-master/lib/python3.6/site-packages/torch/lib/include/pybind11/cast.h:2075:1: note: candidate: template<pybind11::return_value_policy policy, class ... Args, class> pybind11::detail::simple_collector pybind11::detail::collect_arguments(Args&& ...) simple_collector collect_arguments(Args &&...args) { ^ /home/dyl/Desktop/zly_project/pytorch-crfasrnn-master/lib/python3.6/site-packages/torch/lib/include/pybind11/cast.h:2075:1: note: template argument deduction/substitution failed: /home/dyl/Desktop/zly_project/pytorch-crfasrnn-master/lib/python3.6/site-packages/torch/lib/include/pybind11/cast.h:2082:1: note: candidate: template<pybind11::return_value_policy policy, class ... Args, class> pybind11::detail::unpacking_collector pybind11::detail::collect_arguments(Args&& ...) unpacking_collector collect_arguments(Args &&...args) { ^ /home/dyl/Desktop/zly_project/pytorch-crfasrnn-master/lib/python3.6/site-packages/torch/lib/include/pybind11/cast.h:2082:1: note: template argument deduction/substitution failed: /home/dyl/Desktop/zly_project/pytorch-crfasrnn-master/lib/python3.6/site-packages/torch/lib/include/pybind11/cast.h: In instantiation of ‘pybind11::object pybind11::detail::object_api<Derived>::operator()(Args&& ...) const [with pybind11::return_value_policy policy = (pybind11::return_value_policy)1u; Args = {pybind11::tuple&}; Derived = pybind11::detail::accessorpybind11::detail::accessor_policies::str_attr]’: /home/dyl/Desktop/zly_project/pytorch-crfasrnn-master/lib/python3.6/site-packages/torch/lib/include/pybind11/pybind11.h:1720:39: required from here /home/dyl/Desktop/zly_project/pytorch-crfasrnn-master/lib/python3.6/site-packages/torch/lib/include/pybind11/cast.h:2096:44: error: no matching function for call to ‘collect_arguments(pybind11::tuple&)’ return detail::collect_arguments(std::forward<Args>(args)...).call(derive ^ /home/dyl/Desktop/zly_project/pytorch-crfasrnn-master/lib/python3.6/site-packages/torch/lib/include/pybind11/cast.h:2075:1: note: candidate: template<pybind11::return_value_policy policy, class ... Args, class> pybind11::detail::simple_collector pybind11::detail::collect_arguments(Args&& ...) simple_collector collect_arguments(Args &&...args) { ^ /home/dyl/Desktop/zly_project/pytorch-crfasrnn-master/lib/python3.6/site-packages/torch/lib/include/pybind11/cast.h:2075:1: note: template argument deduction/substitution failed: /home/dyl/Desktop/zly_project/pytorch-crfasrnn-master/lib/python3.6/site-packages/torch/lib/include/pybind11/cast.h:2082:1: note: candidate: template<pybind11::return_value_policy policy, class ... Args, class> pybind11::detail::unpacking_collector pybind11::detail::collect_arguments(Args&& ...) unpacking_collector collect_arguments(Args &&...args) { ^ /home/dyl/Desktop/zly_project/pytorch-crfasrnn-master/lib/python3.6/site-packages/torch/lib/include/pybind11/cast.h:2082:1: note: template argument deduction/substitution failed: /home/dyl/Desktop/zly_project/pytorch-crfasrnn-master/lib/python3.6/site-packages/torch/lib/include/pybind11/cast.h: In instantiation of ‘pybind11::object pybind11::detail::object_api<Derived>::operator()(Args&& ...) const [with pybind11::return_value_policy policy = (pybind11::return_value_policy)1u; Args = {pybind11::object&}; Derived = pybind11::detail::accessorpybind11::detail::accessor_policies::str_attr]’: /home/dyl/Desktop/zly_project/pytorch-crfasrnn-master/lib/python3.6/site-packages/torch/lib/include/pybind11/pybind11.h:1738:11: required from here /home/dyl/Desktop/zly_project/pytorch-crfasrnn-master/lib/python3.6/site-packages/torch/lib/include/pybind11/cast.h:2096:44: error: no matching function for call to ‘collect_arguments(pybind11::object&)’ return detail::collect_arguments(std::forward<Args>(args)...).call(derive ^ /home/dyl/Desktop/zly_project/pytorch-crfasrnn-master/lib/python3.6/site-packages/torch/lib/include/pybind11/cast.h:2075:1: note: candidate: template<pybind11::return_value_policy policy, class ... Args, class> pybind11::detail::simple_collector pybind11::detail::collect_arguments(Args&& ...) simple_collector collect_arguments(Args &&...args) { ^ /home/dyl/Desktop/zly_project/pytorch-crfasrnn-master/lib/python3.6/site-packages/torch/lib/include/pybind11/cast.h:2075:1: note: template argument deduction/substitution failed: /home/dyl/Desktop/zly_project/pytorch-crfasrnn-master/lib/python3.6/site-packages/torch/lib/include/pybind11/cast.h:2082:1: note: candidate: template<pybind11::return_value_policy policy, class ... Args, class> pybind11::detail::unpacking_collector pybind11::detail::collect_arguments(Args&& ...) unpacking_collector collect_arguments(Args &&...args) { ^ /home/dyl/Desktop/zly_project/pytorch-crfasrnn-master/lib/python3.6/site-packages/torch/lib/include/pybind11/cast.h:2082:1: note: template argument deduction/substitution failed: /home/dyl/Desktop/zly_project/pytorch-crfasrnn-master/lib/python3.6/site-packages/torch/lib/include/pybind11/cast.h: In instantiation of ‘pybind11::object pybind11::detail::object_api<Derived>::operator()(Args&& ...) const [with pybind11::return_value_policy policy = (pybind11::return_value_policy)1u; Args = {pybind11::object}; Derived = pybind11::detail::accessorpybind11::detail::accessor_policies::str_attr]’: /home/dyl/Desktop/zly_project/pytorch-crfasrnn-master/lib/python3.6/site-packages/torch/lib/include/pybind11/pybind11.h:1739:64: required from here /home/dyl/Desktop/zly_project/pytorch-crfasrnn-master/lib/python3.6/site-packages/torch/lib/include/pybind11/cast.h:2096:44: error: no matching function for call to ‘collect_arguments(pybind11::object)’ return detail::collect_arguments(std::forward<Args>(args)...).call(derive ^ /home/dyl/Desktop/zly_project/pytorch-crfasrnn-master/lib/python3.6/site-packages/torch/lib/include/pybind11/cast.h:2075:1: note: candidate: template<pybind11::return_value_policy policy, class ... Args, class> pybind11::detail::simple_collector pybind11::detail::collect_arguments(Args&& ...) simple_collector collect_arguments(Args &&...args) { ^ /home/dyl/Desktop/zly_project/pytorch-crfasrnn-master/lib/python3.6/site-packages/torch/lib/include/pybind11/cast.h:2075:1: note: template argument deduction/substitution failed: /home/dyl/Desktop/zly_project/pytorch-crfasrnn-master/lib/python3.6/site-packages/torch/lib/include/pybind11/cast.h:2082:1: note: candidate: template<pybind11::return_value_policy policy, class ... Args, class> pybind11::detail::unpacking_collector pybind11::detail::collect_arguments(Args&& ...) unpacking_collector collect_arguments(Args &&...args) { ^ /home/dyl/Desktop/zly_project/pytorch-crfasrnn-master/lib/python3.6/site-packages/torch/lib/include/pybind11/cast.h:2082:1: note: template argument deduction/substitution failed: /home/dyl/Desktop/zly_project/pytorch-crfasrnn-master/lib/python3.6/site-packages/torch/lib/include/pybind11/cast.h: In instantiation of ‘pybind11::object pybind11::detail::object_api<Derived>::operator()(Args&& ...) const [with pybind11::return_value_policy policy = (pybind11::return_value_policy)1u; Args = {const char const&}; Derived = pybind11::detail::accessorpybind11::detail::accessor_policies::str_attr]’: /home/dyl/Desktop/zly_project/pytorch-crfasrnn-master/lib/python3.6/site-packages/torch/lib/include/pybind11/pytypes.h:1333:35: required from ‘bool pybind11::detail::object_api<Derived>::contains(T&&) const [with T = const char* const&; Derived = pybind11::handle]’ /home/dyl/Desktop/zly_project/pytorch-crfasrnn-master/lib/python3.6/site-packages/torch/lib/include/pybind11/detail/internals.h:170:25: required from here /home/dyl/Desktop/zly_project/pytorch-crfasrnn-master/lib/python3.6/site-packages/torch/lib/include/pybind11/cast.h:2096:44: error: no matching function for call to ‘collect_arguments(const char* const&)’ return detail::collect_arguments(std::forward<Args>(args)...).call(derive ^ /home/dyl/Desktop/zly_project/pytorch-crfasrnn-master/lib/python3.6/site-packages/torch/lib/include/pybind11/cast.h:2075:1: note: candidate: template<pybind11::return_value_policy policy, class ... Args, class> pybind11::detail::simple_collector pybind11::detail::collect_arguments(Args&& ...) simple_collector collect_arguments(Args &&...args) { ^ /home/dyl/Desktop/zly_project/pytorch-crfasrnn-master/lib/python3.6/site-packages/torch/lib/include/pybind11/cast.h:2075:1: note: template argument deduction/substitution failed: /home/dyl/Desktop/zly_project/pytorch-crfasrnn-master/lib/python3.6/site-packages/torch/lib/include/pybind11/cast.h:2082:1: note: candidate: template<pybind11::return_value_policy policy, class ... Args, class> pybind11::detail::unpacking_collector pybind11::detail::collect_arguments(Args&& ...) unpacking_collector collect_arguments(Args &&...args) { ^ /home/dyl/Desktop/zly_project/pytorch-crfasrnn-master/lib/python3.6/site-packages/torch/lib/include/pybind11/cast.h:2082:1: note: template argument deduction/substitution failed: /home/dyl/Desktop/zly_project/pytorch-crfasrnn-master/lib/python3.6/site-packages/torch/lib/include/pybind11/cast.h: In instantiation of ‘int pybind11::cast(pybind11::object&&) [with T = std::basic_string]’: /home/dyl/Desktop/zly_project/pytorch-crfasrnn-master/lib/python3.6/site-packages/torch/lib/include/pybind11/cast.h:1705:68: required from ‘T pybind11::object::cast() && [with T = std::basic_string]’ /home/dyl/Desktop/zly_project/pytorch-crfasrnn-master/lib/python3.6/site-packages/torch/lib/include/pybind11/detail/class.h:537:138: required from here /home/dyl/Desktop/zly_project/pytorch-crfasrnn-master/lib/python3.6/site-packages/torch/lib/include/pybind11/cast.h:1701:24: error: cannot convert ‘std::basic_string’ to ‘int’ in return return cast<T>(object); ^ /home/dyl/Desktop/zly_project/pytorch-crfasrnn-master/lib/python3.6/site-packages/torch/lib/include/pybind11/cast.h: In instantiation of ‘pybind11::object pybind11::detail::object_api<Derived>::operator()(Args&& ...) const [with pybind11::return_value_policy policy = (pybind11::return_value_policy)1u; Args = {pybind11::handle&, pybind11::handle&}; Derived = pybind11::detail::accessorpybind11::detail::accessor_policies::str_attr]’: /home/dyl/Desktop/zly_project/pytorch-crfasrnn-master/lib/python3.6/site-packages/torch/lib/include/pybind11/pytypes.h:884:28: required from ‘pybind11::str pybind11::str::format(Args&& ...) const [with Args = {pybind11::handle&, pybind11::handle&}]’ /home/dyl/Desktop/zly_project/pytorch-crfasrnn-master/lib/python3.6/site-packages/torch/lib/include/pybind11/pybind11.h:749:72: required from here /home/dyl/Desktop/zly_project/pytorch-crfasrnn-master/lib/python3.6/site-packages/torch/lib/include/pybind11/cast.h:2096:44: error: no matching function for call to ‘collect_arguments(pybind11::handle&, pybind11::handle&)’ return detail::collect_arguments(std::forward<Args>(args)...).call(derive ^ /home/dyl/Desktop/zly_project/pytorch-crfasrnn-master/lib/python3.6/site-packages/torch/lib/include/pybind11/cast.h:2075:1: note: candidate: template<pybind11::return_value_policy policy, class ... Args, class> pybind11::detail::simple_collector pybind11::detail::collect_arguments(Args&& ...) simple_collector collect_arguments(Args &&...args) { ^ /home/dyl/Desktop/zly_project/pytorch-crfasrnn-master/lib/python3.6/site-packages/torch/lib/include/pybind11/cast.h:2075:1: note: template argument deduction/substitution failed: /home/dyl/Desktop/zly_project/pytorch-crfasrnn-master/lib/python3.6/site-packages/torch/lib/include/pybind11/cast.h:2082:1: note: candidate: template<pybind11::return_value_policy policy, class ... Args, class> pybind11::detail::unpacking_collector pybind11::detail::collect_arguments(Args&& ...) unpacking_collector collect_arguments(Args &&...args) { ^ /home/dyl/Desktop/zly_project/pytorch-crfasrnn-master/lib/python3.6/site-packages/torch/lib/include/pybind11/cast.h:2082:1: note: template argument deduction/substitution failed: error: command '/usr/local/cuda/bin/nvcc' failed with exit status 1

1868236 avatar Jun 26 '19 07:06 1868236