As far as i understand, the problem lies with the model. Flutter is unable to load the model from the assets folder.

So please make sure,

1) The indentation (i.e the tab spaces) inside the pubspec.yaml file is correct

2) Assets folder has the correct model.tflite file, u could always easily retrain the model by just running the pythonscripts.ipynb file located in the repo and then use that model.

3) the appooption wasn't added to the 'android{}' block and instead added in some other block

Sign up to discover human stories that deepen your understanding of the world.

Free

Distraction-free reading. No ads.

Organize your knowledge with lists and highlights.

Tell your story. Find your audience.

Membership

Read member-only stories

Support writers you read most

Earn money for your writing

Listen to audio narrations

Read offline with the Medium app

Yashwardhan Deshmukh
Yashwardhan Deshmukh

Written by Yashwardhan Deshmukh

What does it mean to be conscious? Would neural networks ever be conscious? What is the true meaning of life?

Responses (1)

Write a response