Accelerator.init() got an unexpected keyword argument ‘logging_dir’


So this error comes about because you are running code that is using a deprecated function of Accelerator. The answer is to look to see what file is cause the error and to change the “logging_dir’ variable to:

project_dir

So for example: logging_dir=logging_dir —> becomes —> project_dir=logging_dir

Leave a Reply

Your email address will not be published. Required fields are marked *