Comments (3)
Hi! this seems like a windows issue for installing torchaudio, where you need to install an audio backend! Could you see these references please and see if any of them help?
- https://gist.github.com/flashlin/218876b07e0db558c344bc0393c5b68c
- https://stackoverflow.com/questions/62543843/cannot-import-torch-audio-no-audio-backend-is-available
from audio2photoreal.
(a2p_env) C:\Users\kit\audio2photoreal>python -m train.train_vq --out_dir checkpoints/vq/c1_vq_test --data_root ./dataset/PXB184/ --lr 1e-3 --code_dim 1024 --output_emb_width 64 --depth 4 --dataname social --loss_vel 0.0 --data_format pose --batch_size 4 --add_frame_cond 1 --max_seq_length 600 C:\Users\kit\miniconda3\envs\a2p_env\lib\site-packages\torchaudio\backend\utils.py:74: UserWarning: No audio backend is available. warnings.warn("No audio backend is available.") 2024-01-10 09:11:43,820 INFO { "add_frame_cond": 1.0, "batch_size": 4, "code_dim": 1024, "commit": 0.02, "data_format": "pose", "data_root": "./dataset/PXB184/", "dataname": "social", "dataset": "social", "depth": 4, "eval_iter": 1000, "gamma": 0.05, "loss_vel": 0.0, "lr": 0.001, "lr_scheduler": [ 300000 ], "max_seq_length": 600, "out_dir": "checkpoints/vq/c1_vq_test", "output_emb_width": 64, "print_iter": 200, "resume_pth": null, "seed": 123, "total_iter": 300000, "warm_up_iter": 1000, "weight_decay": 0.0 } Traceback (most recent call last): File "C:\Users\kit\miniconda3\envs\a2p_env\lib\runpy.py", line 197, in _run_module_as_main return _run_code(code, main_globals, None, File "C:\Users\kit\miniconda3\envs\a2p_env\lib\runpy.py", line 87, in _run_code exec(code, run_globals) File "C:\Users\kit\audio2photoreal\train\train_vq.py", line 374, in main(args) File "C:\Users\kit\audio2photoreal\train\train_vq.py", line 321, in main train_loader_iter, val_loader, skip_step = _load_data_info(args, logger) File "C:\Users\kit\audio2photoreal\train\train_vq.py", line 275, in _load_data_info data_dict = load_local_data(args.data_root, audio_per_frame=1600) File "C:\Users\kit\audio2photoreal\data_loaders\get_data.py", line 125, in load_local_data return _load_pose_data( File "C:\Users\kit\audio2photoreal\data_loaders\get_data.py", line 79, in _load_pose_data curr_audio, _ = torchaudio.load( File "C:\Users\kit\miniconda3\envs\a2p_env\lib\site-packages\torchaudio\backend\no_backend.py", line 16, in load raise RuntimeError("No audio I/O backend is available.") RuntimeError: No audio I/O backend is available.
Try
pip install soundfile
from audio2photoreal.
Closing now due to inactivity, but feel free to reopen as needed.
from audio2photoreal.
Related Issues (20)
- How can I manually rotate an avatar's head? HOT 2
- How to pass avatar renderer conditions HOT 1
- How to change the position of camera/model? HOT 1
- Training the model with different data format HOT 1
- The lips regressor predicts unexpected result HOT 5
- Switching from Recording to Uploading Audio in a Demo: Is it Possible? HOT 1
- Why the data is not as in the README ? HOT 2
- Models and pre-requisites models unavailable HOT 3
- Does it support languages other than English? HOT 1
- Models and pre-requisites models unavailable HOT 3
- What model was used to extract the body pose ? HOT 4
- Multiple GPUs DDP error HOT 5
- Data acquisition and processing HOT 3
- The evaluation code for lip reconstructions HOT 1
- Is it possible to run the demo in a laptop without GPU? HOT 3
- Training inference time and test data HOT 2
- How to train a new model from scratch HOT 1
- Visualize 2 avatars in the same scene, just like the introduction page HOT 1
- Replancement of fairseq HOT 1
- Video data HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from audio2photoreal.