Code Monkey home page Code Monkey logo

Comments (3)

evonneng avatar evonneng commented on July 21, 2024

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?

from audio2photoreal.

genius92606 avatar genius92606 commented on July 21, 2024

(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.

evonneng avatar evonneng commented on July 21, 2024

Closing now due to inactivity, but feel free to reopen as needed.

from audio2photoreal.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.