Coder Social home page Coder Social logo

readtome's People

Contributors

alexschultz avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

readtome's Issues

How can I use ReadToMe step by step?

I have the following questions, please tell me the answer.

  1. Which files should I deploy to DeepLens?
  2. Do I need to install anything extra? My DeepLens does not currently have anything installed.
  3. Can you directly distribute the Lambda folder that was updated 8 days ago to Lamda?
  4. Is the model attached to S3 named tar.gz?
  5. Will I use "import mo fail" in the folder that you updated 8 days ago, have you encountered it?

question regarding deploying on deeplens

Hi, this is a really neat project - thanks for sharing.

I am new to the deeplens. I follow the sagemaker part, but I'm having a hard time figuring out exactly how to deploy the project.

Is the following correct?

in Deeplens Admin Page - Create a new blank project
then Add the trained model (uploaded to S3) to the project

Add a new Function ? - this is where I get lost. I think I need to add ReadToMeLambda.py as the function to execute on deeplens, (along with the sounds properties). But I am not clear what other files need to go up, does the entire deeplens-lambda-read-to-me get uploaded into s3? and deployed somehow to the DeepLens.

any pointers are appreciated, sorry if I'm missing something obvious.
Regards,
john

dist.zip gave the following error for accessing /tmp

Dear Alex, I am testing this for deeplens for a demo and ran into some trouble...

I am sure that /tmp is allowed to read and write, however lambda is unable to access it. Any idea?

[2018-11-17T14:20:23.019-05:00][INFO]-readToMeLambda.py:56,exception occurred!
[2018-11-17T14:20:23.027-05:00][INFO]-traceback.py:13,Traceback (most recent call last):

[2018-11-17T14:20:23.039-05:00][INFO]-traceback.py:13, File "/lambda/readToMeLambda.py", line 43, in firstR
unFunc

[2018-11-17T14:20:23.061-05:00][INFO]-traceback.py:13, speak.playAudioFile(os.path.join('staticfiles', 'intro.mp3'))

[2018-11-17T14:20:23.067-05:00][INFO]-traceback.py:13, File "/lambda/speak.py", line 36, in playAudioFile

[2018-11-17T14:20:23.077-05:00][INFO]-traceback.py:13, play(song)

[2018-11-17T14:20:23.083-05:00][INFO]-traceback.py:13, File "/lambda/pydub/playback.py", line 46, in play

[2018-11-17T14:20:23.098-05:00][INFO]-traceback.py:13, _play_with_ffplay(audio_segment)

[2018-11-17T14:20:23.106-05:00][INFO]-traceback.py:13, File "/lambda/pydub/playback.py", line 19, in _play_with_ffplay

[2018-11-17T14:20:23.113-05:00][INFO]-traceback.py:13, subprocess.call([PLAYER, "-nodisp", "-autoexit", "-hide_banner", f.name])

[2018-11-17T14:20:23.13-05:00][INFO]-traceback.py:13, File "/usr/lib/python2.7/tempfile.py", line 440, in exit

[2018-11-17T14:20:23.139-05:00][INFO]-traceback.py:13, self.close()

[2018-11-17T14:20:23.145-05:00][INFO]-traceback.py:13,OSError: [Errno 2] No such file or directory: '/tmp/tmpQebKWI.wav'

[2018-11-17T14:20:23.166-05:00][ERROR]-threading.py:814,Exception in thread Thread-1:
Traceback (most recent call last):
File "/usr/lib/python2.7/threading.py", line 801, in __bootstrap_inner
self.run()
File "/lambda/readToMeLambda.py", line 30, in run
os.mkfifo(fifo_path)
OSError: [Errno 2] No such file or directory

[2018-11-17T14:20:41.967-05:00][INFO]-readToMeLambda.py:113,starting lambda
[2018-11-17T14:20:41.973-05:00][INFO]-readToMeLambda.py:115,first run True
[2018-11-17T14:20:41.975-05:00][INFO]-readToMeLambda.py:40,first run

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.