运行代码:python svc_trainer.py -c configs/base.yaml -n sovits5.0
报错信息:Batch size per GPU : 4
D:\ruanjian\Python\Anaconda3\lib\site-packages\torch\nn\utils\weight_norm.py:30: UserWarning: torch.nn.utils.weight_norm is deprecated in favor of torch.nn.utils.parametrizations.weig
ht_norm.
warnings.warn("torch.nn.utils.weight_norm is deprecated in favor of torch.nn.utils.parametrizations.weight_norm.")
self.file_writer = FileWriter(
File "D:\ruanjian\Python\Anaconda3\lib\site-packages\torch\utils\tensorboard\writer.py", line 72, in init
self.event_writer = EventFileWriter(
File "D:\ruanjian\Python\Anaconda3\lib\site-packages\tensorboard\summary\writer\event_file_writer.py", line 72, in init
tf.io.gfile.makedirs(logdir)
File "D:\ruanjian\Python\Anaconda3\lib\site-packages\tensorflow\python\lib\io\file_io.py", line 513, in recursive_create_dir_v2
_pywrap_file_io.RecursivelyCreateDir(compat.path_to_bytes(path))
tensorflow.python.framework.errors_impl.FailedPreconditionError: logs\sovits5.0 is not a directory
运行代码:python svc_trainer.py -c configs/base.yaml -n sovits5.0 报错信息:Batch size per GPU : 4 D:\ruanjian\Python\Anaconda3\lib\site-packages\torch\nn\utils\weight_norm.py:30: UserWarning: torch.nn.utils.weight_norm is deprecated in favor of torch.nn.utils.parametrizations.weig ht_norm. warnings.warn("torch.nn.utils.weight_norm is deprecated in favor of torch.nn.utils.parametrizations.weight_norm.") self.file_writer = FileWriter( File "D:\ruanjian\Python\Anaconda3\lib\site-packages\torch\utils\tensorboard\writer.py", line 72, in init self.event_writer = EventFileWriter( File "D:\ruanjian\Python\Anaconda3\lib\site-packages\tensorboard\summary\writer\event_file_writer.py", line 72, in init tf.io.gfile.makedirs(logdir) File "D:\ruanjian\Python\Anaconda3\lib\site-packages\tensorflow\python\lib\io\file_io.py", line 513, in recursive_create_dir_v2 _pywrap_file_io.RecursivelyCreateDir(compat.path_to_bytes(path)) tensorflow.python.framework.errors_impl.FailedPreconditionError: logs\sovits5.0 is not a directory
我看到有人问相同的问题作者您回答:可能是pytorch版本要大于等于1.9 我的版本是2.1.2 想问一下作者怎么解决