Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

No module named server.heart_rate_imposer #51

Open
dz3jkob opened this issue Feb 25, 2016 · 5 comments
Open

No module named server.heart_rate_imposer #51

dz3jkob opened this issue Feb 25, 2016 · 5 comments
Labels

Comments

@dz3jkob
Copy link

dz3jkob commented Feb 25, 2016

Hi, I'm trying to run Palpitate in Docker on Mac however after uploading the video and waiting for some time I'm getting this traceback

Traceback (most recent call last):
File "heart_rate_server.py", line 9, in
from server.heart_rate_imposer import HeartRateImposer
ImportError: No module named server.heart_rate_imposer

I've tried to use your Bill Clinton example and that also gives the same error.

@coopie
Copy link
Contributor

coopie commented Feb 25, 2016

Thanks for the report!

Found the issue. In order for the server folder to be visible as a python module, an empty init.py file needs to be created in the server folder.

I will add this to master branch now. closed

@coopie coopie closed this as completed Feb 25, 2016
@dz3jkob
Copy link
Author

dz3jkob commented Feb 25, 2016

Thanks for the quick fix. I've managed to get it running however it seems to get stuck on fps count:

Video request
Medical use case: Age 21, None
Worker received /Bill_Clinton.avi 21 None from 387118
ffmpeg version N-77539-gbd03ee1 Copyright (c) 2000-2015 the FFmpeg developers
  built with gcc 4.8 (Ubuntu 4.8.4-2ubuntu1~14.04)
  configuration: --enable-nonfree --enable-gpl --enable-libx264 --enable-x11grab --enable-zlib --enable-libtheora --enable-libvorbis
  libavutil      55. 11.100 / 55. 11.100
  libavcodec     57. 20.100 / 57. 20.100
  libavformat    57. 21.100 / 57. 21.100
  libavdevice    57.  0.100 / 57.  0.100
  libavfilter     6. 22.100 /  6. 22.100
  libswscale      4.  0.100 /  4.  0.100
  libswresample   2.  0.101 /  2.  0.101
  libpostproc    54.  0.100 / 54.  0.100
Input #0, avi, from '/Bill_Clinton.avi':
  Metadata:
    encoder         : Lavf56.30.100
  Duration: 00:00:39.29, start: 0.000000, bitrate: 573 kb/s
    Stream #0:0: Video: mpeg4 (Simple Profile) (FMP4 / 0x34504D46), yuv420p, 480x360 [SAR 1:1 DAR 4:3], 430 kb/s, 29.97 fps, 29.97 tbr, 29.97 tbn, 30k tbc
    Stream #0:1: Audio: mp3 (U[0][0][0] / 0x0055), 44100 Hz, stereo, s16p, 128 kb/s
Output #0, wav, to '/Bill_Clinton.wav':
  Metadata:
    ISFT            : Lavf57.21.100
    Stream #0:0: Audio: pcm_s16le ([1][0][0][0] / 0x0001), 44100 Hz, stereo, s16, 1411 kb/s
    Metadata:
      encoder         : Lavc57.20.100 pcm_s16le
Stream mapping:
  Stream #0:1 -> #0:0 (mp3 (native) -> pcm_s16le (native))
Press [q] to stop, [?] for help
size=    6768kB time=00:00:39.28 bitrate=1411.2kbits/s speed= 115x    
video:0kB audio:6768kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 0.001125%
FPS29.97002997

Any ideas?

@kren1 kren1 reopened this Feb 25, 2016
@dz3jkob
Copy link
Author

dz3jkob commented Feb 25, 2016

Yea I'm using 0.3.0...

On Thu, 25 Feb 2016, 22:58 Timotej Kapus [email protected] wrote:

It looks like one of the workers crashed. What version of keras are you
using? I would recommend 0.3.0.


Reply to this email directly or view it on GitHub
#51 (comment).

@coopie coopie added the bug label Feb 25, 2016
@coopie
Copy link
Contributor

coopie commented Feb 25, 2016

@mikeecb @tlfrd - any thoughts? It seems to be that the workers are crashing. Also the normal mode seems to be posting a medical video

Medical use case: Age 21, None Worker received /Bill_Clinton.avi 21 None from 600016 ffmpeg version N-77539-gbd03ee1 Copyright (c) 2000-2015 the FFmpeg developers

@dz3jkob
Copy link
Author

dz3jkob commented Mar 29, 2016

hey guys, any progress on this?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants