-
-
Notifications
You must be signed in to change notification settings - Fork 48
Open
Description
There multiple issue when I trying to run youtube or mp3 file from docker:
python UltraSinger.py -i "https://www.youtube.com/watch?v=rY0WxgSXdEE" -o "output/"
/app/UltraSinger/.venv/lib/python3.10/site-packages/transformers/utils/hub.py:124: FutureWarning: Using `TRANSFORMERS_CACHE` is deprecated and will be removed in v5 of Transformers. Use `HF_HOME` instead.
warnings.warn(
mkdir -p failed for path /.config/matplotlib: [Errno 13] Permission denied: '/.config'
Matplotlib created a temporary cache directory at /tmp/matplotlib-dhoxefdo because there was an issue with the default path (/.config/matplotlib); it is highly recommended to set the MPLCONFIGDIR environment variable to a writable directory, in particular to speed up the import of Matplotlib and to better support multiprocessing.
2025-09-10 23:14:17.228685: I tensorflow/core/util/port.cc:113] oneDNN custom operations are on. You may see slightly different numerical results due to floating-point round-off errors from different computation orders. To turn them off, set the environment variable `TF_ENABLE_ONEDNN_OPTS=0`.
2025-09-10 23:14:17.627023: I tensorflow/core/platform/cpu_feature_guard.cc:210] This TensorFlow binary is optimized to use available CPU instructions in performance-critical operations.
To enable the following instructions: AVX2 AVX512F AVX512_VNNI AVX512_BF16 FMA, in other operations, rebuild TensorFlow with the appropriate compiler flags.
2025-09-10 23:14:18.629697: W tensorflow/compiler/tf2tensorrt/utils/py_utils.cc:38] TF-TRT Warning: Could not find TensorRT
[UltraSinger] ********************************
[UltraSinger] UltraSinger Version: 0.0.13-dev8
[UltraSinger] ********************************
[UltraSinger] Checking GPU support.
[UltraSinger] Found GPU: NVIDIA GeForce RTX 4090 VRAM: 23.99 GB.
[UltraSinger] pytorch - using cuda gpu.
2025-09-10 23:14:20.545029: I external/local_xla/xla/stream_executor/cuda/cuda_executor.cc:984] could not open file to read NUMA node: /sys/bus/pci/devices/0000:01:00.0/numa_node
Your kernel may have been built without NUMA support.
2025-09-10 23:14:20.550283: I external/local_xla/xla/stream_executor/cuda/cuda_executor.cc:984] could not open file to read NUMA node: /sys/bus/pci/devices/0000:01:00.0/numa_node
Your kernel may have been built without NUMA support.
2025-09-10 23:14:20.550331: I external/local_xla/xla/stream_executor/cuda/cuda_executor.cc:984] could not open file to read NUMA node: /sys/bus/pci/devices/0000:01:00.0/numa_node
Your kernel may have been built without NUMA support.
[UltraSinger] tensorflow - using cuda gpu.
[UltraSinger] ----------------------
[UltraSinger] FFmpeg - using /usr/bin/ffmpeg
[UltraSinger] FFprobe - using /usr/bin/ffprobe
[UltraSinger] ----------------------
[UltraSinger] Full Automatic Mode
[youtube] Extracting URL: https://www.youtube.com/watch?v=rY0WxgSXdEE
[youtube] rY0WxgSXdEE: Downloading webpage
[youtube] rY0WxgSXdEE: Downloading tv client config
[youtube] rY0WxgSXdEE: Downloading player f6a4f3bc
[youtube] rY0WxgSXdEE: Downloading tv player API JSON
[youtube] rY0WxgSXdEE: Downloading ios player API JSON
WARNING: [youtube] rY0WxgSXdEE: Signature extraction failed: Some formats may be missing
[youtube] rY0WxgSXdEE: Downloading m3u8 information
[UltraSinger] Found data on Musicbrainz: Artist=Queen Title=Another One Bites the Dust
[UltraSinger] Found cover image
[UltraSinger] Creating output folder. -> output/Queen - Another One Bites the Dust (5)
[UltraSinger] Downloading Audio
[youtube] Extracting URL: https://www.youtube.com/watch?v=rY0WxgSXdEE
[youtube] rY0WxgSXdEE: Downloading webpage
[youtube] rY0WxgSXdEE: Downloading tv client config
[youtube] rY0WxgSXdEE: Downloading player f6a4f3bc
[youtube] rY0WxgSXdEE: Downloading tv player API JSON
[youtube] rY0WxgSXdEE: Downloading ios player API JSON
WARNING: [youtube] rY0WxgSXdEE: Signature extraction failed: Some formats may be missing
[youtube] rY0WxgSXdEE: Downloading m3u8 information
[info] rY0WxgSXdEE: Downloading 1 format(s): 234
[hlsnative] Downloading m3u8 manifest
[hlsnative] Total fragments: 40
[download] Destination: output/Queen - Another One Bites the Dust (5)/Queen - Another One Bites the Dust
[download] 100% of 3.46MiB in 00:00:01 at 2.25MiB/s
[ExtractAudio] Destination: output/Queen - Another One Bites the Dust (5)/Queen - Another One Bites the Dust.mp3
Deleting original file output/Queen - Another One Bites the Dust (5)/Queen - Another One Bites the Dust (pass -k to keep)
[UltraSinger] Downloading Video
[youtube] Extracting URL: https://www.youtube.com/watch?v=rY0WxgSXdEE
[youtube] rY0WxgSXdEE: Downloading webpage
[youtube] rY0WxgSXdEE: Downloading tv client config
[youtube] rY0WxgSXdEE: Downloading player f6a4f3bc
[youtube] rY0WxgSXdEE: Downloading tv player API JSON
[youtube] rY0WxgSXdEE: Downloading ios player API JSON
WARNING: [youtube] rY0WxgSXdEE: Signature extraction failed: Some formats may be missing
[youtube] rY0WxgSXdEE: Downloading m3u8 information
[info] rY0WxgSXdEE: Downloading 1 format(s): 605
[hlsnative] Downloading m3u8 manifest
[hlsnative] Total fragments: 40
[download] Destination: output/Queen - Another One Bites the Dust (5)/Queen - Another One Bites the Dust.mp4
[download] 100% of 3.24MiB in 00:00:01 at 2.11MiB/s
[UltraSinger] BPM is 109.96
[UltraSinger] Creating output folder. -> output/Queen - Another One Bites the Dust (5)/cache
[UltraSinger] Separating vocals from audio with demucs with model htdemucs and cuda as worker.
Traceback (most recent call last):
File "/app/UltraSinger/src/UltraSinger.py", line 752, in <module>
main(sys.argv[1:])
File "/app/UltraSinger/src/UltraSinger.py", line 592, in main
run()
File "/app/UltraSinger/src/UltraSinger.py", line 163, in run
process_data.process_data_paths.processing_audio_path = CreateProcessAudio(process_data)
File "/app/UltraSinger/src/UltraSinger.py", line 448, in CreateProcessAudio
audio_separation_folder_path = separate_vocal_from_audio(
File "/app/UltraSinger/src/modules/Audio/separation.py", line 60, in separate_vocal_from_audio
separate_audio(audio_output_file_path, cache_folder_path, model, pytorch_device)
File "/app/UltraSinger/src/modules/Audio/separation.py", line 32, in separate_audio
demucs.separate.main(
File "/app/UltraSinger/.venv/lib/python3.10/site-packages/demucs/separate.py", line 133, in main
model = get_model_from_args(args)
File "/app/UltraSinger/.venv/lib/python3.10/site-packages/demucs/pretrained.py", line 96, in get_model_from_args
return get_model(name=args.name, repo=args.repo)
File "/app/UltraSinger/.venv/lib/python3.10/site-packages/demucs/pretrained.py", line 76, in get_model
model = any_repo.get_model(name)
File "/app/UltraSinger/.venv/lib/python3.10/site-packages/demucs/repo.py", line 148, in get_model
return self.bag_repo.get_model(name_or_sig)
File "/app/UltraSinger/.venv/lib/python3.10/site-packages/demucs/repo.py", line 130, in get_model
models = [self.model_repo.get_model(sig) for sig in signatures]
File "/app/UltraSinger/.venv/lib/python3.10/site-packages/demucs/repo.py", line 130, in <listcomp>
models = [self.model_repo.get_model(sig) for sig in signatures]
File "/app/UltraSinger/.venv/lib/python3.10/site-packages/demucs/repo.py", line 65, in get_model
pkg = torch.hub.load_state_dict_from_url(
File "/app/UltraSinger/.venv/lib/python3.10/site-packages/torch/hub.py", line 747, in load_state_dict_from_url
os.makedirs(model_dir, exist_ok=True)
File "/usr/lib/python3.10/os.py", line 215, in makedirs
makedirs(head, exist_ok=exist_ok)
File "/usr/lib/python3.10/os.py", line 215, in makedirs
makedirs(head, exist_ok=exist_ok)
File "/usr/lib/python3.10/os.py", line 215, in makedirs
makedirs(head, exist_ok=exist_ok)
File "/usr/lib/python3.10/os.py", line 225, in makedirs
mkdir(name, mode)
PermissionError: [Errno 13] Permission denied: '/.cache'creating those folder did not help as well:
s -la
total 72
drwxr-xr-x 1 1000 1000 4096 Sep 10 23:10 .
drwxr-xr-x 1 1000 1000 4096 Feb 13 2025 ..
drwxr-xr-x 2 1000 1000 4096 Sep 10 23:10 .cache
drwxr-xr-x 2 1000 1000 4096 Sep 10 23:10 .config
-rw-r--r-- 1 1000 1000 2189 Feb 13 2025 Settings.py
-rw-r--r-- 1 1000 1000 30975 Feb 13 2025 UltraSinger.py
drwxr-xr-x 2 1000 1000 4096 Sep 10 22:40 __pycache__
drwxrwxrwx 1 root root 4096 Sep 10 22:29 input
drwxr-xr-x 1 1000 1000 4096 Sep 10 22:40 modules
drwxrwxrwx 1 root root 4096 Sep 10 23:10 outputWindows 11,
Docker fe5e911d6ae3a50eeea746d3b45bcceb697eb0311a725275d989d6ce48ab4c63 rakuri255/ultrasinger:latest
Metadata
Metadata
Assignees
Labels
No labels