cnn error -

General discussion about topics related to OpenMV.
Gryph66
Posts: 1
Joined: Wed Aug 08, 2018 9:35 am

cnn error -

Postby Gryph66 » Thu Aug 09, 2018 12:35 pm

Hi,

Just beginning to play with a couple M7s. Updated the firmware (3.0) and using the latest IDE (2.0).

When running the cnn_1.py example (not changed at all) I get the attribute error below; not sure what I am doing wrong. Why would there be no classify_object() on the img variable?

img = sensor.snapshot().lens_corr(1.6) # Take a picture and return the image.
out = img.classify_object()

Traceback (most recent call last):
File "<stdin>", line 19, in <module>
AttributeError: 'Image' object has no attribute 'classify_object'
MicroPython v1.9.4-4510-g23e8457de on 2018-06-29; OPENMV3 with STM32F765
Type "help()" for more information.


Thanks,
Shawn
oelalfey
Posts: 3
Joined: Mon Aug 06, 2018 12:27 pm

Re: cnn error -

Postby oelalfey » Thu Aug 09, 2018 4:06 pm

Hi,
The API has changed, please check Examples->25-Machine-Learning and the related docs:
http://docs.openmv.io/library/omv.nn.ht ... al-network

Return to “General Topics”

Who is online

Users browsing this forum: No registered users and 3 guests