美文网首页
DeepLens相关资料整理

DeepLens相关资料整理

作者: 李嘉怡_fe6e | 来源:发表于2018-08-17 09:17 被阅读0次

DeepLens becomes an amazing playground to test how some of the emerging technologies such as IoT, edge computing, machine learning, and server-less computing come together to address powerful scenarios.

Configuration:

AWS IoT System

The following diagram illustrates how AWS DeepLens works.

1. When turned on, the AWS DeepLens captures a video stream.

2. AWS DeepLens produces two output streams:

      Device stream – the video stream is passed through with no processing.

      Project stream – the results of the model's processing video frames.

3. The Inference Lambda function receives unprocessed video frames.

4. The Inference Lambda function passes the unprocessed frames to the project's deep learning model where they are processed.

5. The Inference Lambda function receives the processed frames back from the model and then passes the processed frames on in the project stream.

Device Registration遇到的问题:

连接wifi后deeplens.config页面无法解析,可以用arp -a找到DeepLens的IP进入Setup页面

导入Customized Model

由于之前训练好的Fire Detection模型用的是ResNet,而DeepLens暂时不支持这种网络,目前尝试绕开AWS的GreenGrass+Lambda模式,直接接入视频流Device/Live Stream,运行python程序,导出到Project Stream。

实验结果:暂不可行

1.已训练好的模型使用的tensorflow版本为1.9.0,如果DeepLens不用同样版本,frozen_inference_graph无法导入,会报No op named NonMaxSuppressionV3错误

2. 而DeepLens使用pip安装tensorflow1.9.0版本,“import tensorflow as tf”时会直接报错“Illegal instruction (core dumped)”

3. 使用Bazel安装tensorflow来build from source, it may take hours to compile...(https://blog.csdn.net/MyArrow/article/details/79923600)成功安装了,可以运行

4. 现在tensorflow/core会报警告allocation exceed 10% of system,不确定是硬件问题还是程序问题,未完待续。。。

如果不成功,需要用SageMaker+S3重做整个训练。

import matplotlib.pyplot as plt会报错,让安装python-tk

原因应该是服务器没有TkAgg Backend导致。matplotlib.use('agg')  并在matplorlibrc文件中加入backend:agg

Useful Links:

Hacker’s Guide To The AWS DeepLens

A Deep Dive on AWS DeepLens

Deep Emotion Audience Rekognition Project

相关文章

  • DeepLens相关资料整理

    DeepLens becomes an amazing playground to test how some o...

  • ActiveMQ相关资料整理

    转自:http://www.cnblogs.com/huligong1234/p/3801696.html A​c...

  • iOS 相关资料整理

    抓包工具 ethereal:开源抓包工具 好的面试题就是知识总结 1.https://github.com/HIT...

  • 疫情相关资料整理

    商情实时动态观察

  • 机器学习相关资料整理

    初学机器学习,将部分资料整理在此,逐渐完善。 视频资源 吴恩达机器学习 介绍:吴恩达老师关于机器学习的入门级视频...

  • 数字货币相关资料整理

    聚会时和一些朋友聊起了数字货币和区块链,虽然他们对区块链很感兴趣,但是却对区块链知之甚少,没有系统性的认知,更不知...

  • 固定翼相关资料整理

    本文中所有的YouTube视频链接均需要飞越长城才能观看,如果你无法翻越长城,请联系我。 1.基础 RC Plan...

  • iOS网络相关资料整理

    1. NSURL,代表的是一个资源的地址,可以是网络资源、本地资源、书签等等。 An NSURL object r...

  • QQ群相关资料整理

    所有相关QQ群的资料 一、QQ群信用星级介绍 1、什么是群信用星级? 群信用星级是群内内容健康程度的综合评价。最高...

  • iOS相关学习资料的整理

    前言 下面是本人在平时开发学习中看到过得一些对自己来说比较好的一些学习资料。在这里整理一下分享给需要的开发朋友,希...

网友评论

      本文标题:DeepLens相关资料整理

      本文链接:https://www.haomeiwen.com/subject/xmfzbftx.html