OpenRoberta / openroberta-lab

The programming environment »Open Roberta Lab« by Fraunhofer IAIS enables children and adolescents to program robots. A variety of different programming blocks are provided to program motors and sensors of the robot. Open Roberta Lab uses an approach of graphical programming so that beginners can seamlessly start coding. As a cloud-based application, the platform can be used without prior installation of specific software but runs in any popular browser, independent of operating system and device.
Apache License 2.0
122 stars 118 forks source link

Edison and nn extensions are incompatible #1662

Closed bjost2s closed 1 week ago

bjost2s commented 2 months ago

The nn extention "nn" (Neural Networks) only works under very few constellations for edision. From the available activation functions "linear,relu,tanh,sigmoid,bool" only "linear" is supported in EdPy (the Python of Edison), all others are producing compiler errors. The activation functions for Edison should be limited to "linear" or NN shouldn't be available

"linear" is only working when all values of the weights are of type integer, otherwise a compiler error is immediately returned. For the users it is quite hard to read and understand compiler errors, so there must be either a check serverside or NN shouldn't be available at all.