yerfor / GeneFace

GeneFace: Generalized and High-Fidelity 3D Talking Face Synthesis; ICLR 2023; Official code
MIT License
2.57k stars 296 forks source link

running into this error when this script is run: CUDA_VISIBLE_DEVICES=0 /content/GeneFace/data_gen/nerf/process_data.sh $VIDEO_ID #164

Open VB1-VENOM opened 1 year ago

VB1-VENOM commented 1 year ago

FileNotFoundError: [Errno 2] No such file or directory: '/content/GeneFace/data_util/face_tracking/3DMM/3DMM_info.npy'

This is the full output: ALSA lib confmisc.c:767:(parse_card) cannot find card '0' ALSA lib conf.c:4732:(_snd_config_evaluate) function snd_func_card_driver returned error: No such file or directory ALSA lib confmisc.c:392:(snd_func_concat) error evaluating strings ALSA lib conf.c:4732:(_snd_config_evaluate) function snd_func_concat returned error: No such file or directory ALSA lib confmisc.c:1246:(snd_func_refer) error evaluating name ALSA lib conf.c:4732:(_snd_config_evaluate) function snd_func_refer returned error: No such file or directory ALSA lib conf.c:5220:(snd_config_expand) Evaluate error: No such file or directory ALSA lib pcm.c:2642:(snd_pcm_open_noupdate) Unknown PCM sysdefault ALSA lib confmisc.c:767:(parse_card) cannot find card '0' ALSA lib conf.c:4732:(_snd_config_evaluate) function snd_func_card_driver returned error: No such file or directory ALSA lib confmisc.c:392:(snd_func_concat) error evaluating strings ALSA lib conf.c:4732:(_snd_config_evaluate) function snd_func_concat returned error: No such file or directory ALSA lib confmisc.c:1246:(snd_func_refer) error evaluating name ALSA lib conf.c:4732:(_snd_config_evaluate) function snd_func_refer returned error: No such file or directory ALSA lib conf.c:5220:(snd_config_expand) Evaluate error: No such file or directory ALSA lib pcm.c:2642:(snd_pcm_open_noupdate) Unknown PCM sysdefault ALSA lib pcm.c:2642:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.front ALSA lib pcm.c:2642:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.rear ALSA lib pcm.c:2642:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.center_lfe ALSA lib pcm.c:2642:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.side ALSA lib pcm.c:2642:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.surround21 ALSA lib pcm.c:2642:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.surround21 ALSA lib pcm.c:2642:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.surround40 ALSA lib pcm.c:2642:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.surround41 ALSA lib pcm.c:2642:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.surround50 ALSA lib pcm.c:2642:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.surround51 ALSA lib pcm.c:2642:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.surround71 ALSA lib pcm.c:2642:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.iec958 ALSA lib pcm.c:2642:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.iec958 ALSA lib pcm.c:2642:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.iec958 ALSA lib pcm.c:2642:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.hdmi ALSA lib pcm.c:2642:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.hdmi ALSA lib pcm.c:2642:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.modem ALSA lib pcm.c:2642:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.modem ALSA lib pcm.c:2642:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.phoneline ALSA lib pcm.c:2642:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.phoneline ALSA lib confmisc.c:767:(parse_card) cannot find card '0' ALSA lib conf.c:4732:(_snd_config_evaluate) function snd_func_card_driver returned error: No such file or directory ALSA lib confmisc.c:392:(snd_func_concat) error evaluating strings ALSA lib conf.c:4732:(_snd_config_evaluate) function snd_func_concat returned error: No such file or directory ALSA lib confmisc.c:1246:(snd_func_refer) error evaluating name ALSA lib conf.c:4732:(_snd_config_evaluate) function snd_func_refer returned error: No such file or directory ALSA lib conf.c:5220:(snd_config_expand) Evaluate error: No such file or directory ALSA lib pcm.c:2642:(snd_pcm_open_noupdate) Unknown PCM default ALSA lib confmisc.c:767:(parse_card) cannot find card '0' ALSA lib conf.c:4732:(_snd_config_evaluate) function snd_func_card_driver returned error: No such file or directory ALSA lib confmisc.c:392:(snd_func_concat) error evaluating strings ALSA lib conf.c:4732:(_snd_config_evaluate) function snd_func_concat returned error: No such file or directory ALSA lib confmisc.c:1246:(snd_func_refer) error evaluating name ALSA lib conf.c:4732:(_snd_config_evaluate) function snd_func_refer returned error: No such file or directory ALSA lib conf.c:5220:(snd_config_expand) Evaluate error: No such file or directory ALSA lib pcm.c:2642:(snd_pcm_open_noupdate) Unknown PCM default ALSA lib confmisc.c:767:(parse_card) cannot find card '0' ALSA lib conf.c:4732:(_snd_config_evaluate) function snd_func_card_driver returned error: No such file or directory ALSA lib confmisc.c:392:(snd_func_concat) error evaluating strings ALSA lib conf.c:4732:(_snd_config_evaluate) function snd_func_concat returned error: No such file or directory ALSA lib confmisc.c:1246:(snd_func_refer) error evaluating name ALSA lib conf.c:4732:(_snd_config_evaluate) function snd_func_refer returned error: No such file or directory ALSA lib conf.c:5220:(snd_config_expand) Evaluate error: No such file or directory ALSA lib pcm.c:2642:(snd_pcm_open_noupdate) Unknown PCM dmix [WARN] audio has 2 channels, only use the first. [INFO] loaded audio stream data/processed/videos/May/aud.wav: (3886763,) [INFO] loading ASR model cpierse/wav2vec2-large-xlsr-53-esperanto... /usr/local/lib/python3.10/site-packages/transformers/configuration_utils.py:380: UserWarning: Passing gradient_checkpointing to a config initialization is deprecated and will be removed in v5 Transformers. Using model.gradient_checkpointing_enable() instead, or if you are using the Trainer API, pass gradient_checkpointing=True in your TrainingArguments. warnings.warn( Special tokens have been added in the vocabulary, make sure the associated word embeddings are fine-tuned or trained. frame= 6073 fps=149 q=1.0 Lsize=N/A time=00:04:02.88 bitrate=N/A speed=5.96x
video:287209kB audio:0kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: unknown [INFO] ===== extracted images ===== [INFO] ===== extract face landmarks from data/processed/videos/May/ori_imgs ===== 2023-07-18 03:18:05.682469: I tensorflow/core/platform/cpu_feature_guard.cc:182] This TensorFlow binary is optimized to use available CPU instructions in performance-critical operations. To enable the following instructions: AVX2 FMA, in other operations, rebuild TensorFlow with the appropriate compiler flags. 2023-07-18 03:18:06.952847: W tensorflow/compiler/tf2tensorrt/utils/py_utils.cc:38] TF-TRT Warning: Could not find TensorRT 0% 0/6073 [00:00<?, ?it/s][START] uniuje vizaĉanĝu de fl eĉo morispaas st antl ugehedt di opu ĉiu ni ĉhis ĝkam ant de ŝi evis aj kun sizuol tuanti sevtiin hasen stuo ajbli dajs ofu ĉiu ne ĉiezo kurajĉu da n eva fubuihevn eid amomentas ĉisiĵon an seŝ aŭ seŭ on niu du reĉon adi fto aĝis sekstii mu s la gia juvaŭ ĉi itu da ĉein ĝ disis li ea pisto tmekis hap on ajn a ud refuenĝo bla as ĉiunuvestiva jsi fertoajns an laŭov koosted no sevi bonŝeedz saj impunĝu viru oveŭ ŝi ten zajmuaj prajna ju ĉiuj sed azui feis liop ĉu neceza herbas aŭ ŝe dintro esc dam mpe ŝins kan prinos ĉi gata ui omon da sia buĉo nuĉis sronga da nati s tudeej voj omon te kamtu diris fe ra ce efri bon hasĉ ams de sukcii poj obon sne ŝundris sai fan sekio fraĉj udun ant kv ar ĉoron li sambe ŝun s ju najĉas se zobujoneŭ longa a da fefti ĉiuj p senĝo vaŭĝed li iv antofori aj psendu vaŭĉi ĝu neajn po buan k urei ĉiiunienof pipolundne ŝins udopra ud hisĝuj anto broi t fiuĉa se bonaj seĉ umanon gez sia iŝinĉejpo lenj oro pde ŝia etubi vui zaĉen mojn de nove ĉi raante r gedo roits dio noĝasbo deu sin faŭĉit li iv por f aevlui sen gupa s neniskanĉoj efko s drefremdo m la itpeazomfa d deveŝinsina a kan ĉoj pri neŭzue prosp urin anftaŭ izua not daizu ken isli baadaŭ lon hojm senta ĉ uron duo gradsku fajndas k io ĝoob antdeu suka nod en ŝo r dereso hima kan tribuecuel antdaŭispo hilm eĉ ĝas no t desisti gi ebiniĝ pol da an diis paroj a stas haŭurpi buba k si ki ujn la beto dieloĵ helmpa ornm i buakinpipo dvisaŭt objeĉululi gu naj cirpoĉan n en muĉboj a o junaeti de na sidisumŝipe vdis kurajtne jiŝon junajce ĝe ni op ĉiu neĉesa ĝa eŭpon ĉe o na pipo anĝj nojtis pajda princ ipo dris eŭnlio tal enĝen hor buir k da ĉu dit amen io fiuĉ a aftro ĝis u juna ĝidro ap ipol heva ĉiiv iĉ kraittengs s tro apraŝis juni el ovnei ŝins inglan s kotland ue osdnovan a lend tva junino pipo fron s po s deimstua mfo siespis naciistu ĉamo ĉe s skuustr o hospros anto pavo truagiu ni enov k omiuno ĉeis an fables erkoz zi ĝis ĝast peg gkloibolevanc ertu fajno jea ĝis l upers mufengs e todis av ĝi mapilgie ju sdonĉo fres ĝo bo pajo f est hajm en majpiz iĝe ejo ĉurin sta skulo ka ŭ ofte juniversĉ i ol juviĉoja afto laivĉajno haruerk vi stings laivs majo sĉems ado fing sot pajndas ĉiu evolui a asof anta asti keem pei ĝej koks tiu selĉaĝi li ĉajkenfumezl aosĝie puŝeĝ mi a famo junaiĉe d — anthaf amo lin komen donat uĉ ĉ divacas i ha v gaŭrnop ĉiune ĝi iĝu deamen strueitlad ĉu brinn is konĉuite gata a asnevo de fu sead o ĉ hu evo juao e evol u lev a l polo ĉeeksiko nu mi ensissoa ĉi buakf o jilu norĝaste pri veleĝi fien scuasmi lokehe tu jer voko ĉunzi and jiu nocei leĉmi buŝ iu ĝo famle apisvo l pros prs ant hapi ni ujea [END] [INFO] save all feats for training purpose... [INFO] saved logits to data/processed/videos/May/aud_esperanto.npy [INFO] ===== extracted esperanto ===== [INFO] ===== extract deepspeech ===== 2023-07-18 03:18:29.625639: I tensorflow/core/platform/cpu_feature_guard.cc:182] This TensorFlow binary is optimized to use available CPU instructions in performance-critical operations. To enable the following instructions: AVX2 FMA, in other operations, rebuild TensorFlow with the appropriate compiler flags. 2023-07-18 03:18:30.957469: W tensorflow/compiler/tf2tensorrt/utils/py_utils.cc:38] TF-TRT Warning: Could not find TensorRT 0% 1/6073 [00:16<27:36:26, 16.37s/it]/root/.tensorflow/models/deepspeech-0_1_0-b90017e8.pb 2023-07-18 03:18:43.251959: I tensorflow/compiler/xla/stream_executor/cuda/cuda_gpu_executor.cc:995] successful NUMA node read from SysFS had negative value (-1), but there must be at least one NUMA node, so returning NUMA node zero. See more at https://github.com/torvalds/linux/blob/v6.0/Documentation/ABI/testing/sysfs-bus-pci#L344-L355 2023-07-18 03:18:43.297082: I tensorflow/compiler/xla/stream_executor/cuda/cuda_gpu_executor.cc:995] successful NUMA node read from SysFS had negative value (-1), but there must be at least one NUMA node, so returning NUMA node zero. See more at https://github.com/torvalds/linux/blob/v6.0/Documentation/ABI/testing/sysfs-bus-pci#L344-L355 2023-07-18 03:18:43.297441: I tensorflow/compiler/xla/stream_executor/cuda/cuda_gpu_executor.cc:995] successful NUMA node read from SysFS had negative value (-1), but there must be at least one NUMA node, so returning NUMA node zero. See more at https://github.com/torvalds/linux/blob/v6.0/Documentation/ABI/testing/sysfs-bus-pci#L344-L355 2023-07-18 03:18:43.298637: I tensorflow/compiler/xla/stream_executor/cuda/cuda_gpu_executor.cc:995] successful NUMA node read from SysFS had negative value (-1), but there must be at least one NUMA node, so returning NUMA node zero. See more at https://github.com/torvalds/linux/blob/v6.0/Documentation/ABI/testing/sysfs-bus-pci#L344-L355 2023-07-18 03:18:43.298938: I tensorflow/compiler/xla/stream_executor/cuda/cuda_gpu_executor.cc:995] successful NUMA node read from SysFS had negative value (-1), but there must be at least one NUMA node, so returning NUMA node zero. See more at https://github.com/torvalds/linux/blob/v6.0/Documentation/ABI/testing/sysfs-bus-pci#L344-L355 2023-07-18 03:18:43.299191: I tensorflow/compiler/xla/stream_executor/cuda/cuda_gpu_executor.cc:995] successful NUMA node read from SysFS had negative value (-1), but there must be at least one NUMA node, so returning NUMA node zero. See more at https://github.com/torvalds/linux/blob/v6.0/Documentation/ABI/testing/sysfs-bus-pci#L344-L355 2023-07-18 03:18:45.142715: I tensorflow/compiler/xla/stream_executor/cuda/cuda_gpu_executor.cc:995] successful NUMA node read from SysFS had negative value (-1), but there must be at least one NUMA node, so returning NUMA node zero. See more at https://github.com/torvalds/linux/blob/v6.0/Documentation/ABI/testing/sysfs-bus-pci#L344-L355 2023-07-18 03:18:45.143106: I tensorflow/compiler/xla/stream_executor/cuda/cuda_gpu_executor.cc:995] successful NUMA node read from SysFS had negative value (-1), but there must be at least one NUMA node, so returning NUMA node zero. See more at https://github.com/torvalds/linux/blob/v6.0/Documentation/ABI/testing/sysfs-bus-pci#L344-L355 2023-07-18 03:18:45.143380: I tensorflow/compiler/xla/stream_executor/cuda/cuda_gpu_executor.cc:995] successful NUMA node read from SysFS had negative value (-1), but there must be at least one NUMA node, so returning NUMA node zero. See more at https://github.com/torvalds/linux/blob/v6.0/Documentation/ABI/testing/sysfs-bus-pci#L344-L355 2023-07-18 03:18:45.143558: W tensorflow/core/common_runtime/gpu/gpu_bfc_allocator.cc:47] Overriding orig_value setting because the TF_FORCE_GPU_ALLOW_GROWTH environment variable is set. Original config value was 0. 2023-07-18 03:18:45.143613: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1639] Created device /job:localhost/replica:0/task:0/device:GPU:0 with 8274 MB memory: -> device: 0, name: Tesla T4, pci bus id: 0000:00:04.0, compute capability: 7.5 tring to extract deepspeech from audio file: data/processed/videos/May/aud.wav The target is: data/processed/videos/May/aud_deepspeech.npy /content/GeneFace/data_util/deepspeech_features/deepspeech_features.py:50: UserWarning: Audio has multiple channels, the first channel is used warnings.warn( 2023-07-18 03:18:47.928052: I tensorflow/compiler/mlir/mlir_graph_optimization_pass.cc:375] MLIR V1 optimization pass is not enabled 2023-07-18 03:18:49.842635: W tensorflow/tsl/framework/cpu_allocator_impl.cc:83] Allocation of 201326592 exceeds 10% of free system memory. 2023-07-18 03:18:50.220718: W tensorflow/tsl/framework/cpu_allocator_impl.cc:83] Allocation of 201326592 exceeds 10% of free system memory. 2023-07-18 03:18:55.345393: W tensorflow/tsl/framework/cpu_allocator_impl.cc:83] Allocation of 201326592 exceeds 10% of free system memory. 2023-07-18 03:18:55.705536: W tensorflow/tsl/framework/cpu_allocator_impl.cc:83] Allocation of 201326592 exceeds 10% of free system memory. 2023-07-18 03:18:55.942950: W tensorflow/tsl/framework/cpu_allocator_impl.cc:83] Allocation of 201326592 exceeds 10% of free system memory. 3% 167/6073 [01:02<09:08, 10.76it/s]Killed [INFO] ===== extracted deepspeech ===== [INFO] ===== extracted all audio labels ===== 100% 6073/6073 [08:19<00:00, 12.15it/s] [INFO] ===== extracted face landmarks ===== [INFO] ===== extract semantics from data/processed/videos/May/ori_imgs to data/processed/videos/May/parsing ===== [INFO] ===== perform face tracking ===== Downloading: "https://download.pytorch.org/models/resnet18-5c106cde.pth" to /root/.cache/torch/hub/checkpoints/resnet18-5c106cde.pth 100% 44.7M/44.7M [00:00<00:00, 107MB/s] Traceback (most recent call last): File "/content/GeneFace/data_util/face_tracking/face_tracker.py", line 47, in model_3dmm = Face_3DMM(os.path.join(dir_path, '3DMM'), File "/content/GeneFace/data_util/face_tracking/facemodel.py", line 15, in init DMM_info = np.load(os.path.join( File "/usr/local/lib/python3.10/site-packages/numpy/lib/npyio.py", line 390, in load fid = stack.enter_context(open(os_fspath(file), "rb")) FileNotFoundError: [Errno 2] No such file or directory: '/content/GeneFace/data_util/face_tracking/3DMM/3DMM_info.npy' [INFO] ===== finished face tracking ===== [INFO] ===== extract background image from data/processed/videos/May/oriimgs ===== 0% 0/304 [00:00<?, ?it/s][ WARN:0@2.416] global loadsave.cpp:248 findDecoder imread('data/processed/videos/May/parsing/372.png'): can't open/read file: check file path/integrity 0% 0/304 [00:00<?, ?it/s] Traceback (most recent call last): File "/content/GeneFace/data_util/process.py", line 429, in extract_background(processed_dir, ori_imgs_dir) File "/content/GeneFace/data_util/process.py", line 86, in extract_background bg = (parse_img[..., 0] == 255) & (parse_img[..., 1] == 255) & (parseimg[..., 2] == 255) TypeError: 'NoneType' object is not subscriptable [ WARN:0@0.031] global loadsave.cpp:248 findDecoder imread('data/processed/videos/May/bc.jpg'): can't open/read file: check file path/integrity [INFO] ===== extract head images for data/processed/videos/May ===== 0% 0/6073 [00:00<?, ?it/s] Traceback (most recent call last): File "/content/GeneFace/data_util/process.py", line 433, in extract_head(processed_dir) File "/content/GeneFace/data_util/process.py", line 138, in extract_head head_part = (parsing_img[:, :, 0] == 255) & ( TypeError: 'NoneType' object is not subscriptable processed parsing 100 processed parsing 200 processed parsing 300 processed parsing 400 processed parsing 500 processed parsing 600 processed parsing 700 processed parsing 800 processed parsing 900 processed parsing 1000 processed parsing 1100 processed parsing 1200 processed parsing 1300 processed parsing 1400 processed parsing 1500 processed parsing 1600 processed parsing 1700 processed parsing 1800 processed parsing 1900 processed parsing 2000 processed parsing 2100 processed parsing 2200 processed parsing 2300 processed parsing 2400 processed parsing 2500 processed parsing 2600 processed parsing 2700 processed parsing 2800 processed parsing 2900 processed parsing 3000 processed parsing 3100 processed parsing 3200 processed parsing 3300 processed parsing 3400 processed parsing 3500 processed parsing 3600 processed parsing 3700 processed parsing 3800 processed parsing 3900 processed parsing 4000 processed parsing 4100 processed parsing 4200 processed parsing 4300 processed parsing 4400 processed parsing 4500 processed parsing 4600 processed parsing 4700 processed parsing 4800 processed parsing 4900 processed parsing 5000 processed parsing 5100 processed parsing 5200 processed parsing 5300 processed parsing 5400 processed parsing 5500 processed parsing 5600 processed parsing 5700 processed parsing 5800 processed parsing 5900 processed parsing 6000 [INFO] ===== extracted semantics ===== [INFO] ===== save transforms ===== Traceback (most recent call last): File "/content/GeneFace/data_util/process.py", line 446, in save_transforms(processed_dir, ori_imgs_dir) File "/content/GeneFace/data_util/process.py", line 294, in save_transforms params_dict = torch.load(os.path.join(base_dir, 'track_params.pt')) File "/usr/local/lib/python3.10/site-packages/torch/serialization.py", line 699, in load with _open_file_like(f, 'rb') as opened_file: File "/usr/local/lib/python3.10/site-packages/torch/serialization.py", line 231, in _open_file_like return _open_file(name_or_buffer, mode) File "/usr/local/lib/python3.10/site-packages/torch/serialization.py", line 212, in init super(_open_file, self).init(open(name, mode)) FileNotFoundError: [Errno 2] No such file or directory: 'data/processed/videos/May/track_params.pt' Loading the Wav2Vec2 Processor... Downloading (…)rocessor_config.json: 100% 212/212 [00:00<00:00, 1.39MB/s] Downloading (…)okenizer_config.json: 100% 138/138 [00:00<00:00, 1.06MB/s] Downloading (…)lve/main/config.json: 100% 1.38k/1.38k [00:00<00:00, 11.5MB/s] Downloading (…)olve/main/vocab.json: 100% 291/291 [00:00<00:00, 1.25MB/s] Downloading (…)cial_tokens_map.json: 100% 85.0/85.0 [00:00<00:00, 618kB/s] Loading the HuBERT Model... Downloading pytorch_model.bin: 100% 1.26G/1.26G [00:09<00:00, 134MB/s] Some weights of the model checkpoint at facebook/hubert-large-ls960-ft were not used when initializing HubertModel: ['lm_head.weight', 'lm_head.bias']

SuperGoodGame commented 1 year ago

I have the same problem ,do you deal with it ,can you tell me how to deal with it Thank you

secnavo commented 1 year ago

I also encounter the same problem. The problem should be the command "python data_util/process.py --video_id=$VIDEO_ID --task=2" in "data_gen/nerf/process_data.sh"; the error result is as follows: [INFO] ===== extract audio labels for data/processed/videos/May/aud.wav ===== [INFO] ===== start extract esperanto ===== ALSA lib pcm_dsnoop.c:641:(snd_pcm_dsnoop_open) unable to open slave ALSA lib pcm_dmix.c:1089:(snd_pcm_dmix_open) unable to open slave ALSA lib pcm.c:2642:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.rear ALSA lib pcm.c:2642:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.center_lfe ALSA lib pcm.c:2642:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.side ALSA lib pcm_oss.c:377:(_snd_pcm_oss_open) Unknown field port ALSA lib pcm_oss.c:377:(_snd_pcm_oss_open) Unknown field port ALSA lib pulse.c:242:(pulse_connect) PulseAudio: Unable to connect: Connection refused

ALSA lib pulse.c:242:(pulse_connect) PulseAudio: Unable to connect: Connection refused

ALSA lib pcm_usb_stream.c:486:(_snd_pcm_usb_stream_open) Invalid type for card ALSA lib pcm_usb_stream.c:486:(_snd_pcm_usb_stream_open) Invalid type for card ALSA lib pcm_dsnoop.c:641:(snd_pcm_dsnoop_open) unable to open slave ALSA lib pcm_dmix.c:1089:(snd_pcm_dmix_open) unable to open slave ALSA lib pcm_dmix.c:1089:(snd_pcm_dmix_open) unable to open slave [WARN] audio has 2 channels, only use the first. [INFO] loaded audio stream data/processed/videos/May/aud.wav: (3886763,) [INFO] loading ASR model cpierse/wav2vec2-large-xlsr-53-esperanto... /data/anaconda3/envs/geneface/lib/python3.9/site-packages/transformers/configuration_utils.py:380: UserWarning: Passing gradient_checkpointing to a config initialization is deprecated and will be removed in v5 Transformers. Using model.gradient_checkpointing_enable() instead, or if you are using the Trainer API, pass gradient_checkpointing=True in your TrainingArguments. warnings.warn( Special tokens have been added in the vocabulary, make sure the associated word embeddings are fine-tuned or trained.

mrhackar3 commented 1 year ago

What: /sys/bus/pci/drivers/.../bind What: /sys/devices/pciX/.../bind Date: December 2003 Contact: linux-pci@vger.kernel.org Description: Writing a device location to this file will cause the driver to attempt to bind to the device found at this location. This is useful for overriding default bindings. The format for the location is: DDDD:BB:DD.F. That is Domain:Bus:Device.Function and is the same as found in /sys/bus/pci/devices/. For example::

      # echo 0000:00:19.0 > /sys/bus/pci/drivers/foo/bind

    (Note: kernels before 2.6.28 may require echo -n).

What: /sys/bus/pci/drivers/.../unbind What: /sys/devices/pciX/.../unbind Date: December 2003 Contact: linux-pci@vger.kernel.org Description: Writing a device location to this file will cause the driver to attempt to unbind from the device found at this location. This may be useful when overriding default bindings. The format for the location is: DDDD:BB:DD.F. That is Domain:Bus:Device.Function and is the same as found in /sys/bus/pci/devices/. For example::

      # echo 0000:00:19.0 > /sys/bus/pci/drivers/foo/unbind

    (Note: kernels before 2.6.28 may require echo -n).

What: /sys/bus/pci/drivers/.../new_id What: /sys/devices/pciX/.../new_id Date: December 2003 Contact: linux-pci@vger.kernel.org Description: Writing a device ID to this file will attempt to dynamically add a new device ID to a PCI device driver. This may allow the driver to support more hardware than was included in the driver's static device ID support table at compile time. The format for the device ID is: VVVV DDDD SVVV SDDD CCCC MMMM PPPP. That is Vendor ID, Device ID, Subsystem Vendor ID, Subsystem Device ID, Class, Class Mask, and Private Driver Data. The Vendor ID and Device ID fields are required, the rest are optional. Upon successfully adding an ID, the driver will probe for the device and attempt to bind to it. For example::

      # echo "8086 10f5" > /sys/bus/pci/drivers/foo/new_id

What: /sys/bus/pci/drivers/.../remove_id What: /sys/devices/pciX/.../remove_id Date: February 2009 Contact: Chris Wright chrisw@sous-sol.org Description: Writing a device ID to this file will remove an ID that was dynamically added via the new_id sysfs entry. The format for the device ID is: VVVV DDDD SVVV SDDD CCCC MMMM. That is Vendor ID, Device ID, Subsystem Vendor ID, Subsystem Device ID, Class, and Class Mask. The Vendor ID and Device ID fields are required, the rest are optional. After successfully removing an ID, the driver will no longer support the device. This is useful to ensure auto probing won't match the driver to the device. For example::

      # echo "8086 10f5" > /sys/bus/pci/drivers/foo/remove_id

What: /sys/bus/pci/rescan Date: January 2009 Contact: Linux PCI developers linux-pci@vger.kernel.org Description: Writing a non-zero value to this attribute will force a rescan of all PCI buses in the system, and re-discover previously removed devices.

What: /sys/bus/pci/devices/.../msi_bus Date: September 2014 Contact: Linux PCI developers linux-pci@vger.kernel.org Description: Writing a zero value to this attribute disallows MSI and MSI-X for any future drivers of the device. If the device is a bridge, MSI and MSI-X will be disallowed for future drivers of all child devices under the bridge. Drivers must be reloaded for the new setting to take effect.

What: /sys/bus/pci/devices/.../msi_irqs/ Date: September, 2011 Contact: Neil Horman nhorman@tuxdriver.com Description: The /sys/devices/.../msi_irqs directory contains a variable set of files, with each file being named after a corresponding msi irq vector allocated to that device.

What: /sys/bus/pci/devices/.../msi_irqs/ Date: September 2011 Contact: Neil Horman nhorman@tuxdriver.com Description: This attribute indicates the mode that the irq vector named by the file is in (msi vs. msix)

What: /sys/bus/pci/devices/.../irq Date: August 2021 Contact: Linux PCI developers linux-pci@vger.kernel.org Description: If a driver has enabled MSI (not MSI-X), "irq" contains the IRQ of the first MSI vector. Otherwise "irq" contains the IRQ of the legacy INTx interrupt.

    "irq" being set to 0 indicates that the device isn't
    capable of generating legacy INTx interrupts.

What: /sys/bus/pci/devices/.../remove Date: January 2009 Contact: Linux PCI developers linux-pci@vger.kernel.org Description: Writing a non-zero value to this attribute will hot-remove the PCI device and any of its children.

What: /sys/bus/pci/devices/.../pci_bus/.../rescan Date: May 2011 Contact: Linux PCI developers linux-pci@vger.kernel.org Description: Writing a non-zero value to this attribute will force a rescan of the bus and all child buses, and re-discover devices removed earlier from this part of the device tree.

What: /sys/bus/pci/devices/.../rescan Date: January 2009 Contact: Linux PCI developers linux-pci@vger.kernel.org Description: Writing a non-zero value to this attribute will force a rescan of the device's parent bus and all child buses, and re-discover devices removed earlier from this part of the device tree.

What: /sys/bus/pci/devices/.../reset_method Date: August 2021 Contact: Amey Narkhede ameynarkhede03@gmail.com Description: Some devices allow an individual function to be reset without affecting other functions in the same slot.

    For devices that have this support, a file named
    reset_method is present in sysfs.  Reading this file
    gives names of the supported and enabled reset methods and
    their ordering.  Writing a space-separated list of names of
    reset methods sets the reset methods and ordering to be
    used when resetting the device.  Writing an empty string
    disables the ability to reset the device.  Writing
    "default" enables all supported reset methods in the
    default ordering.

What: /sys/bus/pci/devices/.../reset Date: July 2009 Contact: Michael S. Tsirkin mst@redhat.com Description: Some devices allow an individual function to be reset without affecting other functions in the same device. For devices that have this support, a file named reset will be present in sysfs. Writing 1 to this file will perform reset.

What: /sys/bus/pci/devices/.../vpd Date: February 2008 Contact: Ben Hutchings bwh@kernel.org Description: A file named vpd in a device directory will be a binary file containing the Vital Product Data for the device. It should follow the VPD format defined in PCI Specification 2.1 or 2.2, but users should consider that some devices may have incorrectly formatted data.
If the underlying VPD has a writable section then the corresponding section of this file will be writable.

What: /sys/bus/pci/devices/.../virtfn Date: March 2009 Contact: Yu Zhao yu.zhao@intel.com Description: This symbolic link appears when hardware supports the SR-IOV capability and the Physical Function driver has enabled it. The symbolic link points to the PCI device sysfs entry of the Virtual Function whose index is N (0...MaxVFs-1).

What: /sys/bus/pci/devices/.../dep_link Date: March 2009 Contact: Yu Zhao yu.zhao@intel.com Description: This symbolic link appears when hardware supports the SR-IOV capability and the Physical Function driver has enabled it, and this device has vendor specific dependencies with others. The symbolic link points to the PCI device sysfs entry of Physical Function this device depends on.

What: /sys/bus/pci/devices/.../physfn Date: March 2009 Contact: Yu Zhao yu.zhao@intel.com Description: This symbolic link appears when a device is a Virtual Function. The symbolic link points to the PCI device sysfs entry of the Physical Function this device associates with.

What: /sys/bus/pci/devices/.../modalias Date: May 2005 Contact: Greg Kroah-Hartman gregkh@linuxfoundation.org Description: This attribute indicates the PCI ID of the device object.

    That is in the format:
    pci:vXXXXXXXXdXXXXXXXXsvXXXXXXXXsdXXXXXXXXbcXXscXXiXX,
    where:

        - vXXXXXXXX contains the vendor ID;
        - dXXXXXXXX contains the device ID;
        - svXXXXXXXX contains the sub-vendor ID;
        - sdXXXXXXXX contains the subsystem device ID;
        - bcXX contains the device class;
        - scXX contains the device subclass;
        - iXX contains the device class programming interface.

What: /sys/bus/pci/slots/.../module Date: June 2009 Contact: linux-pci@vger.kernel.org Description: This symbolic link points to the PCI hotplug controller driver module that manages the hotplug slot.

What: /sys/bus/pci/devices/.../label Date: July 2010 Contact: Narendra K narendra_k@dell.com, linux-bugs@dell.com Description: Reading this attribute will provide the firmware given name (SMBIOS type 41 string or ACPI _DSM string) of the PCI device. The attribute will be created only if the firmware has given a name to the PCI device. ACPI _DSM string name will be given priority if the system firmware provides SMBIOS type 41 string also. Users: Userspace applications interested in knowing the firmware assigned name of the PCI device.

What: /sys/bus/pci/devices/.../index Date: July 2010 Contact: Narendra K narendra_k@dell.com, linux-bugs@dell.com Description: Reading this attribute will provide the firmware given instance number of the PCI device. Depending on the platform this can be for example the SMBIOS type 41 device type instance or the user-defined ID (UID) on s390. The attribute will be created only if the firmware has given an instance number to the PCI device and that number is guaranteed to uniquely identify the device in the system. Users: Userspace applications interested in knowing the firmware assigned device type instance of the PCI device that can help in understanding the firmware intended order of the PCI device.

What: /sys/bus/pci/devices/.../acpi_index Date: July 2010 Contact: Narendra K narendra_k@dell.com, linux-bugs@dell.com Description: Reading this attribute will provide the firmware given instance (ACPI _DSM instance number) of the PCI device. The attribute will be created only if the firmware has given an instance number to the PCI device. ACPI _DSM instance number will be given priority if the system firmware provides SMBIOS type 41 device type instance also. Users: Userspace applications interested in knowing the firmware assigned instance number of the PCI device that can help in understanding the firmware intended order of the PCI device.

What: /sys/bus/pci/devices/.../d3cold_allowed Date: July 2012 Contact: Huang Ying ying.huang@intel.com Description: d3cold_allowed is bit to control whether the corresponding PCI device can be put into D3Cold state. If it is cleared, the device will never be put into D3Cold state. If it is set, the device may be put into D3Cold state if other requirements are satisfied too. Reading this attribute will show the current value of d3cold_allowed bit. Writing this attribute will set the value of d3cold_allowed bit.

What: /sys/bus/pci/devices/.../sriov_totalvfs Date: November 2012 Contact: Donald Dutile ddutile@redhat.com Description: This file appears when a physical PCIe device supports SR-IOV. Userspace applications can read this file to determine the maximum number of Virtual Functions (VFs) a PCIe physical function (PF) can support. Typically, this is the value reported in the PF's SR-IOV extended capability structure's TotalVFs element. Drivers have the ability at probe time to reduce the value read from this file via the pci_sriov_set_totalvfs() function.

What: /sys/bus/pci/devices/.../sriov_numvfs Date: November 2012 Contact: Donald Dutile ddutile@redhat.com Description: This file appears when a physical PCIe device supports SR-IOV. Userspace applications can read and write to this file to determine and control the enablement or disablement of Virtual Functions (VFs) on the physical function (PF). A read of this file will return the number of VFs that are enabled on this PF. A number written to this file will enable the specified number of VFs. A userspace application would typically read the file and check that the value is zero, and then write the number of VFs that should be enabled on the PF; the value written should be less than or equal to the value in the sriov_totalvfs file. A userspace application wanting to disable the VFs would write a zero to this file. The core ensures that valid values are written to this file, and returns errors when values are not valid. For example, writing a 2 to this file when sriov_numvfs is not 0 and not 2 already will return an error. Writing a 10 when the value of sriov_totalvfs is 8 will return an error.

What: /sys/bus/pci/devices/.../driver_override Date: April 2014 Contact: Alex Williamson alex.williamson@redhat.com Description: This file allows the driver for a device to be specified which will override standard static and dynamic ID matching. When specified, only a driver with a name matching the value written to driver_override will have an opportunity to bind to the device. The override is specified by writing a string to the driver_override file (echo pci-stub > driver_override) and may be cleared with an empty string (echo > driver_override). This returns the device to standard matching rules binding. Writing to driver_override does not automatically unbind the device from its current driver or make any attempt to automatically load the specified driver. If no driver with a matching name is currently loaded in the kernel, the device will not bind to any driver. This also allows devices to opt-out of driver binding using a driver_override name such as "none". Only a single driver may be specified in the override, there is no support for parsing delimiters.

What: /sys/bus/pci/devices/.../numa_node Date: Oct 2014 Contact: Prarit Bhargava prarit@redhat.com Description: This file contains the NUMA node to which the PCI device is attached, or -1 if the node is unknown. The initial value comes from an ACPI _PXM method or a similar firmware source. If that is missing or incorrect, this file can be written to override the node. In that case, please report a firmware bug to the system vendor. Writing to this file taints the kernel with TAINT_FIRMWARE_WORKAROUND, which reduces the supportability of your system.

What: /sys/bus/pci/devices/.../revision Date: November 2016 Contact: Emil Velikov emil.l.velikov@gmail.com Description: This file contains the revision field of the PCI device. The value comes from device config space. The file is read only.

What: /sys/bus/pci/devices/.../sriov_drivers_autoprobe Date: April 2017 Contact: Bodong Wangbodong@mellanox.com Description: This file is associated with the PF of a device that supports SR-IOV. It determines whether newly-enabled VFs are immediately bound to a driver. It initially contains 1, which means the kernel automatically binds VFs to a compatible driver immediately after they are enabled. If an application writes 0 to the file before enabling VFs, the kernel will not bind VFs to a driver.

    A typical use case is to write 0 to this file, then enable
    VFs, then assign the newly-created VFs to virtual machines.
    Note that changing this file does not affect already-
    enabled VFs.  In this scenario, the user must first disable
    the VFs, write 0 to sriov_drivers_autoprobe, then re-enable
    the VFs.

    This is similar to /sys/bus/pci/drivers_autoprobe, but
    affects only the VFs associated with a specific PF.

What: /sys/bus/pci/devices/.../p2pmem/size Date: November 2017 Contact: Logan Gunthorpe logang@deltatee.com Description: If the device has any Peer-to-Peer memory registered, this file contains the total amount of memory that the device provides (in decimal).

What: /sys/bus/pci/devices/.../p2pmem/available Date: November 2017 Contact: Logan Gunthorpe logang@deltatee.com Description: If the device has any Peer-to-Peer memory registered, this file contains the amount of memory that has not been allocated (in decimal).

What: /sys/bus/pci/devices/.../p2pmem/published Date: November 2017 Contact: Logan Gunthorpe logang@deltatee.com Description: If the device has any Peer-to-Peer memory registered, this file contains a '1' if the memory has been published for use outside the driver that owns the device.

What: /sys/bus/pci/devices/.../link/clkpm /sys/bus/pci/devices/.../link/l0s_aspm /sys/bus/pci/devices/.../link/l1_aspm /sys/bus/pci/devices/.../link/l1_1_aspm /sys/bus/pci/devices/.../link/l1_2_aspm /sys/bus/pci/devices/.../link/l1_1_pcipm /sys/bus/pci/devices/.../link/l1_2_pcipm Date: October 2019 Contact: Heiner Kallweit hkallweit1@gmail.com Description: If ASPM is supported for an endpoint, these files can be used to disable or enable the individual power management states. Write y/1/on to enable, n/0/off to disable.

What: /sys/bus/pci/devices/.../power_state Date: November 2020 Contact: Linux PCI developers linux-pci@vger.kernel.org Description: This file contains the current PCI power state of the device. The value comes from the PCI kernel device state and can be one of: "unknown", "error", "D0", D1", "D2", "D3hot", "D3cold". The file is read only.

What: /sys/bus/pci/devices/.../sriov_vf_total_msix Date: January 2021 Contact: Leon Romanovsky leonro@nvidia.com Description: This file is associated with a SR-IOV physical function (PF). It contains the total number of MSI-X vectors available for assignment to all virtual functions (VFs) associated with PF. The value will be zero if the device doesn't support this functionality. For supported devices, the value will be constant and won't be changed after MSI-X vectors assignment.

What: /sys/bus/pci/devices/.../sriov_vf_msix_count Date: January 2021 Contact: Leon Romanovsky leonro@nvidia.com Description: This file is associated with a SR-IOV virtual function (VF). It allows configuration of the number of MSI-X vectors for the VF. This allows devices that have a global pool of MSI-X vectors to optimally divide them between VFs based on VF usage.

    The values accepted are:
     * > 0 - this number will be reported as the Table Size in the
         VF's MSI-X capability
     * < 0 - not valid
     * = 0 - will reset to the device default value

    The file is writable if the PF is bound to a driver that
    implements ->sriov_set_msix_vec_count().