Skip to Content
author's profile photo Former Member
Former Member

Leonardo ML API not returning result

Dear Experts,

I am following tutorial by Abdel Dadouche on using ML APIs for image similarity scoring.

https://www.sap.com/developer/tutorials/ml-fs-sapui5-img-similarityscoring.html

I have followed each step as it was mentioned in the tutorial. But after uploading 2 images the similarity scoring button does not return any value. When I do an F12 on the UI5 screen I get below error in the console. However JSZip is declared as global in the controller.

Uncaught ReferenceError: JSZip is not defined
at f.onPressScoreSimilarity (demo.controller.js?eval:25)
at f.a.fireEvent (EventProvider-dbg.js:229)
at f.a.fireEvent (Element-dbg.js:427)
at f.firePress (ManagedObjectMetadata-dbg.js:428)
at f.B.ontap (eval at evalModuleStr (jquery.sap.global-dbg.js:3406), <anonymous>:805:179)
at f.a._handleEvent (Element-dbg.js:162)
at constructor.U._handleEvent (UIArea-dbg.js:786)
at HTMLBodyElement.dispatch (jquery-dbg.js:4737)
at g (jquery-mobile-custom-dbg.js:1972)
at HTMLBodyElement.q (jquery-mobile-custom-dbg.js:2063)

Please help.

Regards

Amitabh

swjuq.png (32.4 kB)
Add a comment
10|10000 characters needed characters exceeded

Related questions

1 Answer

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.