Error during installation:
src/loadwordemb.cpp:157:24: error: converting to ‘VocabAndTensor {aka std::tuple<pybind11::dict, at::Tensor>}’ from initializer list would use explicit constructor ‘constexpr std::tuple<_T1, _T2>::tuple(_U1&&, _U2&&) [with _U1 = pybind11::dict&; _U2 = at::Tensor&; = void; _T1 = pybind11::dict; _T2 = at::Tensor]’
return {vocab, dest};
This problem has been bothering me for a long time. Is it a compatibility issue with the Pytorch version? Or other questions, thank you.
Error during installation:
src/loadwordemb.cpp:157:24: error: converting to ‘VocabAndTensor {aka std::tuple<pybind11::dict, at::Tensor>}’ from initializer list would use explicit constructor ‘constexpr std::tuple<_T1, _T2>::tuple(_U1&&, _U2&&) [with _U1 = pybind11::dict&; _U2 = at::Tensor&; = void; _T1 = pybind11::dict; _T2 = at::Tensor]’
return {vocab, dest};
This problem has been bothering me for a long time. Is it a compatibility issue with the Pytorch version? Or other questions, thank you.