I have started using tensorflow model in JS and trying execute predefined models. I am loading @tensorflow-models/qna from “https://cdn.jsdelivr.net/npm/@tensorflow-models/qna” the script got loaded but when I am trying to do
qna.load() I am getting the following error. I would really appreciate some help.
FYI, I also could not install the npm package of @tensorflow-models/qna.
Stack: React frontend, node backend
TypeError: Cannot read properties of undefined (reading 'loadGraphModel') at t.<anonymous> (qna:17:6641) at qna:17:1528 at Object.next (qna:17:1633) at qna:17:571 at new Promise (<anonymous>) at r (qna:17:348) at t.load (qna:17:6525) at Object.<anonymous> (qna:17:9202) at qna:17:1528 at Object.next (qna:17:1633)