logo

应该将trained.tflite存到哪个指定位置呢?

2024-12-21 11:37
E
wo1s
5a21033d-d410-49ef-a596-669383295931.png
net = None
labels = None
min_confidence = 0.5

try:
    # load the model, alloc the model file on the heap if we have at least 64K free after loading
    net = tf.load("trained.tflite", load_to_fb=uos.stat('trained.tflite')[6] > (gc.mem_free() - (64*1024)))
except Exception as e:
    raise Exception('Failed to load "trained.tflite", did you copy the .tflite and labels.txt file onto the mass-storage device? (' + str(e) + ')')
2024-12-27 20:57
I
网红小智智 星瞳科技

存在OpenMV的U盘里面。