-
-
Notifications
You must be signed in to change notification settings - Fork 48
Description
I've just installed latest docker container with podman and started ultrasinger.
I correctly maped host dir's into docker and gave permission on host side (777).
But when I start UltraSinger process (inside Docker with std. user 1000) the temporary files get written from docker's root and so the process crashes with permission denied:
Model was trained with torch 1.10.0+cu102, yours is 2.3.0+cu121. Bad things might happen unless you revert torch to 1.x.
[UltraSinger] Transcribing /app/UltraSinger/src/output/output/Unknown Artist - Lied (3)/cache/Unknown Artist - Lied_mute.wav
Detected language: de (0.89) in first 30s of audio...
Downloading: "https://download.pytorch.org/torchaudio/models/wav2vec2_voxpopuli_base_10k_asr_de.pt" to /app/UltraSinger/src/.cache/torch/hub/checkpoints/wav2vec2_voxpopuli_base_10k_asr_de.pt
100%|██████████████████████████████████████████████████████████████████████████████████████████████████████| 360M/360M [00:17<00:00, 22.2MB/s]
Traceback (most recent call last):
File "/app/UltraSinger/src/UltraSinger.py", line 752, in
main(sys.argv[1:])
File "/app/UltraSinger/src/UltraSinger.py", line 592, in main
run()
File "/app/UltraSinger/src/UltraSinger.py", line 168, in run
TranscribeAudio(process_data)
File "/app/UltraSinger/src/UltraSinger.py", line 387, in TranscribeAudio
hyphen_words = hyphenate_each_word(process_data.media_info.language, process_data.transcribed_data)
File "/app/UltraSinger/src/modules/Speech_Recognition/hyphenation.py", line 132, in hyphenate_each_word
lang_region = language_check(language)
File "/app/UltraSinger/src/modules/Speech_Recognition/hyphenation.py", line 18, in language_check
installed = dictools.list_installed()
File "/app/UltraSinger/.venv/lib/python3.10/site-packages/hyphen/dictools.py", line 173, in list_installed
return Dictionaries(directory).installed_languages()
File "/app/UltraSinger/.venv/lib/python3.10/site-packages/hyphen/dictools.py", line 94, in init
os.makedirs(self.directory)
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: '/app/UltraSinger/src/.local'
1000@669b69bb715d:~$ ls -ltr /app/UltraSinger/src/
total 44
drwxr-xr-x 9 root root 4096 Jun 5 22:17 modules
-rw-r--r-- 1 root root 30975 Jun 5 22:17 UltraSinger.py
-rw-r--r-- 1 root root 2189 Jun 5 22:17 Settings.py
drwxr-xr-x 3 1000 1000 4096 Jul 18 12:00 output
Any Idea how I could get over that? Maybe someone knows the root passwort, so I would start UltraSing as root inside docker.