teachablemachine-community
teachablemachine-community copied to clipboard
[BUG]: TMProcessingSketch.zip / TM_Connector.pde / move some code in settings()
Describe the bug The TMProcessingSketch.zip file downloaded from the "Teacheable Machine" interface (Image/tensorflowlite micro.) run only with with Processing 3.5.4 and got an error : code should be updated as shown by processing.
To Reproduce Steps to reproduce the behavior:
- Go to 'teacheable machine interface'
- Select tiny model (for tensorflow lite)
- Download the file, install the librairies needed (p5 & websocks)
- See error
Relevant Links Link to code to reproduce bug
Expected behavior Zip file should contains the updates as shown in processing log
public void settings() {
size(448, 224);
}
IllegalStateException: size() cannot be used here, see https://processing.org/reference/size_.html
Screenshots

Error :
