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

tensorflow errors and Error from chokidar (/webapp/frontend/node_modules...) errors #104

Open
myin4 opened this issue Nov 23, 2021 · 7 comments
Labels
bug Something isn't working

Comments

@myin4
Copy link

myin4 commented Nov 23, 2021

Hello @JeffreyCA ,
Hope you are doing well.

I am trying to build your spleeter-web on my local Mac machine and also on my Ubuntu server. But I always get the tensorflow error and Error from chokidar. You can see the error log below.

P/S: I did follow your instruction too. I am starting your spleeter-web with docker.

tensorflow errors log (both happened on local mac machine and Ubuntu server):
| 2021-11-23 18:03:22.755058: W tensorflow/stream_executor/platform/default/dso_loader.cc:64] Could not load dynamic library 'libcudart.so.11.0'; dlerror: libcudart.so.11.0: cannot open shared object file: No such file or directory
api_1 | 2021-11-23 18:03:22.755269: I tensorflow/stream_executor/cuda/cudart_stub.cc:29] Ignore above cudart dlerror if you do not have a GPU set up on your machine.

Error from chokidar log (This happended on Ubuntu server):

frontend_1 | Error from chokidar (/webapp/frontend/node_modules/@react-icons/all-files/ri): Error: ENOSPC: System limit for number of file watchers reached, watch '/webapp/frontend/node_modules/@react-icons/all-files/ri/RiFileList2Fill.esm.js'
frontend_1 | Error from chokidar (/webapp/frontend/node_modules/@react-icons/all-files/ri): Error: ENOSPC: System limit for number of file watchers reached, watch '/webapp/frontend/node_modules/@react-icons/all-files/ri/RiFileList2Fill.js'
frontend_1 | Error from chokidar (/webapp/frontend/node_modules/@react-icons/all-files/ri): Error: ENOSPC: System limit for number of file watchers reached, watch '/webapp/frontend/node_modules/@react-icons/all-files/ri/RiFileList2Line.d.ts'
frontend_1 | Error from chokidar (/webapp/frontend/node_modules/@react-icons/all-files/ri): Error: ENOSPC: System limit for

I am looking forward to your response!

Regards,
Peter

@JeffreyCA
Copy link
Owner

Hi, thanks for reporting this. This seems to be the same issue as #73.
Can you try the suggestion in that issue?

@myin4
Copy link
Author

myin4 commented Nov 24, 2021

Hi, thanks for reporting this. This seems to be the same issue as #73.
Can you try the suggestion in that issue?

Hi @JeffreyCA ,

Thank you for your response!.

I did try your suggestion and The Error from chokidar log is gone.

I did build and run the spleeter-web on my Ubuntu server, But the spleeter model does not work. you can see the screenshot below

Screen Shot 2021-11-24 at 14 34 00

Regards,
Peter

@JeffreyCA
Copy link
Owner

Can you share the Docker logs? From celery-slow service

@myin4
Copy link
Author

myin4 commented Nov 24, 2021

hi @JeffreyCA ,

Thank you for your response!

Here is the log file from my Ubuntu server:
ubuntu_server_logs.txt

Regards,
Peter

@JeffreyCA
Copy link
Owner

It looks like your Docker instances are running out of memory. How much RAM do you have on your machine? And can you try increasing the amount of memory available to Docker?

@myin4
Copy link
Author

myin4 commented Nov 25, 2021

It looks like your Docker instances are running out of memory. How much RAM do you have on your machine? And can you try increasing the amount of memory available to Docker?

Hi @JeffreyCA ,

Thank you for your response!

I also tried to run spleeter-web on my MacBook Pro (RAM: 16 GB 2133 MHz LPDDR3, Processor: 2.9 GHz Quad-Core Intel Core i7) too, but spleeter-web did not work.

You can see the Docker Resources preferences:
Screen Shot 2021-11-25 at 15 18 21

Here is the screenshot of spleeter-web on my macbook pro:
Screen Shot 2021-11-25 at 15 19 32

And here the console log:
spleeter-web-celery-slow-1 | [2021-11-25 08:12:18,431: INFO/MainProcess] Task api.tasks.create_static_mix[27a79464-aed4-4495-a7d0-cc117d97e93f] received
spleeter-web-api-1 | [25/Nov/2021 08:12:18] "POST /api/mix/static/ HTTP/1.1" 201 429
spleeter-web-api-1 | [25/Nov/2021 08:12:18] "GET /api/source-track/ HTTP/1.1" 200 697
spleeter-web-celery-slow-1 | INFO:tensorflow:Apply unet for vocals_spectrogram
spleeter-web-celery-slow-1 | [2021-11-25 08:12:19,231: INFO/ForkPoolWorker-1] Apply unet for vocals_spectrogram
spleeter-web-celery-slow-1 | INFO:tensorflow:Apply unet for drums_spectrogram
spleeter-web-celery-slow-1 | [2021-11-25 08:12:20,066: INFO/ForkPoolWorker-1] Apply unet for drums_spectrogram
spleeter-web-celery-slow-1 | INFO:tensorflow:Apply unet for bass_spectrogram
spleeter-web-celery-slow-1 | [2021-11-25 08:12:21,032: INFO/ForkPoolWorker-1] Apply unet for bass_spectrogram
spleeter-web-api-1 | [25/Nov/2021 08:12:21] "GET /api/source-track/ HTTP/1.1" 200 697
spleeter-web-celery-slow-1 | INFO:tensorflow:Apply unet for other_spectrogram
spleeter-web-celery-slow-1 | [2021-11-25 08:12:22,032: INFO/ForkPoolWorker-1] Apply unet for other_spectrogram
spleeter-web-celery-slow-1 | [2021-11-25 08:12:24,701: WARNING/ForkPoolWorker-1] Can't load save_path when it is None.
spleeter-web-celery-slow-1 | [2021-11-25 08:12:24,761: INFO/ForkPoolWorker-1] Task api.tasks.create_static_mix[27a79464-aed4-4495-a7d0-cc117d97e93f] succeeded in 6.3273712420000265s: None

Regards,
Peter

@JeffreyCA
Copy link
Owner

Thanks, according to this: deezer/spleeter#306 (comment) it may happen when you stop the process mid-way through downloading Spleeter models.

Can you delete the pretrained-models Docker volume and rerun it again?

@JeffreyCA JeffreyCA added the bug Something isn't working label Feb 20, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants