Skip to content

Installation is not successful #5

@Cathy-t

Description

@Cathy-t

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions