AttributeError: 'tf_model" object has no attribute 'detect'
5
5qrg
@5qrg
0
声望
7
楼层
372
资料浏览
0
粉丝
0
关注
5qrg 发布的帖子
-
AttributeError: 'tf_model" object has no attribute 'detect'
-
舵机打脚,一直跳转到pca9685如图,请问是哪里不对吗?
a = obj.output()
#print(max(a))
b=a.index(max(a))
print(b)print(clock.fps(), "fps") b=a.index(max(a)) i2c = I2C(sda=Pin('P5'), scl=Pin('P4')) servo = Servos(i2c, address=0x40, freq=50, min_us=650, max_us=2800, degrees=180) if b==1: servo.position(0, 0) time.sleep_ms(500) servo.position(0, 180) time.sleep_ms(500)