EliseWindbloom / audio2vmd

Completely automatically convert audio to vmd lips data with numerous features, using easy 1-click installer. Allowing you to lipsync your mmd models to any song or speech.
8 stars 0 forks source link

Can't load save_path #2

Open Dust1989 opened 2 months ago

Dust1989 commented 2 months ago

hi, Thank you for make this great tool.

At first, I was able to convert VMD files twice right after installation. But when I tried again, I couldn't save them and kept getting this error: "Can't load save_path when it is None".

Here's what the log says:

`Starting audio2vmd and loading first audio file now... Processing file: E:/00_L_File/MMD_Tool/audio2vmd-main/KiLLER_LADY.wav Attempting to load configuration from: config.yaml Configuration file found. Loading... Loaded configuration: {'model_name': 'Model', 'a_weight_multiplier': 1.2, 'i_weight_multiplier': 0.8, 'o_weight_multiplier': 1.1, 'u_weight_multiplier': 0.9, 'max_duration': 300, 'optimize_vmd': True, 'extras_optimize_vmd_bone_position_tolerance': 0.005, 'extras_optimize_vmd_bone_rotation_tolerance': 0.005} Current configuration: model_name: Model a_weight_multiplier: 1.2 i_weight_multiplier: 0.8 o_weight_multiplier: 1.1 u_weight_multiplier: 0.9 max_duration: 300 optimize_vmd: True extras_optimize_vmd_bone_position_tolerance: 0.005 extras_optimize_vmd_bone_rotation_tolerance: 0.005

Processing file 1 of 1: E:\00_L_File\MMD_Tool\audio2vmd-main\KiLLER_LADY.wav Error processing E:\00_L_File\MMD_Tool\audio2vmd-main\KiLLER_LADY.wav: Can't load save_path when it is None. Total time taken: 8.41 seconds Complete! All Audio to VMD conversion completed in 14.01 seconds`

and I have tried different ways, dragging the file directly onto the bat, using the GUI, and using the command line, and the results are the same..

EliseWindbloom commented 1 week ago

Hi Dust1989, sorry for the late reply. The issue sounds like audio2vmd can't find the save path set or possibly a write permissions issue. Since all of them are failing the same way, maybe the output folder is missing. Try doing the following: -Based on your setup, check and see if this path exist on your computer "E:/00_L_File/MMD_Tool/audio2vmd-main/output/", if not, create a new folder called "output" inside the "audio2vmd-main" so it can use the default save path. -Check if the directory where you're trying to save has write permissions -If you're using the GUI, make sure the output directory field is not empty. you can also try clicking on the Browse button and choose a different Drive to try saving on instead (in case it's having problem with write permissions on the drive).

Hopefully this will help, but please let me know if it still doesn't fix it for you.

EDIT: I've also just updated audio2vmd to version 16, which is a huge update towards performance, you can delete the old version of you want and I would recommending download the new one.