[ 50%] Building CXX object CMakeFiles/crnn.dir/ctc.cpp.o
/home/john/TextBoxes_plusplus/crnn/src/cpp/ctc.cpp: In instantiation of ‘int {anonymous}::forwardBackward(lua_State*) [with T = float; lua_State = lua_State]’:
/home/john/TextBoxes_plusplus/crnn/src/cpp/ctc.cpp:200:16: required from ‘const luaL_Reg {anonymous}::Registerer<float>::funct ions_ [3]’
/home/john/TextBoxes_plusplus/crnn/src/cpp/ctc.cpp:209:24: required from ‘static void {anonymous}::Registerer<T>::registerFunc tions(lua_State*) [with T = float; lua_State = lua_State]’
/home/john/TextBoxes_plusplus/crnn/src/cpp/ctc.cpp:216:24: required from here
/home/john/TextBoxes_plusplus/crnn/src/cpp/ctc.cpp:22:76: error: conversion from ‘thpp::TensorBase<float, thpp::Storage<float>, thpp::Tensor<float> >::Ptr {aka thpp::TensorPtr<thpp::Tensor<float> >}’ to non-scalar type ‘const thpp::Tensor<float>’ requested
const thpp::Tensor<T> input = fblualib::luaGetTensorChecked<T>(L, 1);
This error is referenced here as well. I believe you have modified the CRNN code so I don't think I can use the latest version of CRNN that resolves this. One way that someone got it to compile (see reference) was by downgrading fblualib and thpp. Is this the route you would take or do you know of a cleaner way?
Thanks in advance and appreciate you sharing your software.
Hi, I am running into a problem compiling TB++:
This error is referenced here as well. I believe you have modified the CRNN code so I don't think I can use the latest version of CRNN that resolves this. One way that someone got it to compile (see reference) was by downgrading fblualib and thpp. Is this the route you would take or do you know of a cleaner way?
Thanks in advance and appreciate you sharing your software.