alexschultz / readtome Goto Github PK
View Code? Open in Web Editor NEWLicense: Apache License 2.0
License: Apache License 2.0
Hello,
First, thanks for this project.
I would like to ask if there is a way to run this application on a mobile device ( using a smartphone camera ) or on a computer camera?
I have the following questions, please tell me the answer.
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
this is a great project, was hoping to get access to the S3 training data to set it up in my account.
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
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.