【发布时间】:2020-12-19 04:56:04
【问题描述】:
我有 Lambda 函数试图从 TensorflowJS 运行 PoseNet。程序正确执行,直到到达
const net = await posenet.load({
architecture: 'MobileNetV1',
inputResolution: { width: 183, height: 275 },
scale: 0.8,
})
在这一行之后,我有一个函数detect(net, image),它在内部获取输入图像并执行const pose = await net.estimateSinglePose(image),它应该只返回一个包含模型结果的 JSON 对象。但是,程序跳过了这个detect() 函数并成功完成了Lambda 执行。这是为什么呢?
【问题讨论】:
标签: tensorflow aws-lambda