Coder Social home page Coder Social logo

Comments (3)

zeta0707 avatar zeta0707 commented on August 14, 2024

HI sisco0,

Your resolution didn't work for me.
From:
return Exp
To:
return model

68/68 [==============================] - 0s 935us/step - loss: 0.0151 - accuracy: 0.9991 - val_loss: 0.5223 - val_accuracy: 0.9000
Traceback (most recent call last):
  File "digits_model.py", line 52, in <module>
    model, x_test, y_test = get_model()
TypeError: cannot unpack non-iterable Sequential object

But I don't see any problem with this change.
From:
return Exp
To:
return model, x_test, y_test

Epoch 50/50
68/68 [==============================] - 0s 952us/step - loss: 0.0163 - accuracy: 0.9991 - val_loss: 0.5426 - val_accuracy: 0.9000
ACCURACY 0.9554317548746518

Actually I got hit from example on below site.
https://eloquentarduino.github.io/2020/11/tinyml-on-arduino-and-stm32-cnn-convolutional-neural-network-example/

Thanks!

from eloquenttinyml.

zeta0707 avatar zeta0707 commented on August 14, 2024

Close since issue is fixed.

return model, x_test, y_test

from eloquenttinyml.

whubaichuan avatar whubaichuan commented on August 14, 2024

@zeta0707 Hi, thanks for your solution. By the way, have you ever tried to train the digits_model.py by yourself and test it on board using the .ion project? It seems a problem like here.

from eloquenttinyml.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.