-
Notifications
You must be signed in to change notification settings - Fork 2.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
problem in exp_manager #9050
Comments
This issue is stale because it has been open for 30 days with no activity. Remove stale label or comment or this will be closed in 7 days. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
While following tutorial "Voice_Activity_Detection.ipynb", I confronted errors in
"exp_dir = exp_manager(trainer, config.get("exp_manager",None))"
I've changed nothing on the tutorial, and I am getting errrors.
WHen I first run the cell , I get
"---------------------------------------------------------------------------
FileNotFoundError Traceback (most recent call last)
Cell In[164], line 1
----> 1 exp_dir = exp_manager(trainer, config.get("exp_manager",None))
File ~/.conda/envs/nemo/lib/python3.10/site-packages/nemo/utils/exp_manager.py:510, in exp_manager(trainer, cfg)
507 _file.write(" ".join(sys.argv))
509 # Try to get git hash
--> 510 git_repo, git_hash = get_git_hash()
511 if git_repo:
512 with open(log_dir / 'git-info.log', 'w', encoding='utf-8') as _file:
File ~/.conda/envs/nemo/lib/python3.10/site-packages/nemo/utils/exp_manager.py:786, in get_git_hash()
776 """
777 Helper function that tries to get the commit hash if running inside a git folder
778
(...)
781 str: git subprocess output or error message
782 """
783 try:
784 return (
785 True,
--> 786 subprocess.check_output(['git', 'rev-parse', 'HEAD'], stderr=subprocess.STDOUT).decode(),
787 )
788 except subprocess.CalledProcessError as err:
...
1862 err_msg = os.strerror(errno_num)
-> 1863 raise child_exception_type(errno_num, err_msg, err_filename)
1864 raise child_exception_type(err_msg)
FileNotFoundError: [Errno 2] No such file or directory: 'git'"
and when I rerun the cell, I get
'LoggerMisconfigurationError: The pytorch lightning trainer that was passed to exp_manager contained a logger, and either create_tensorboard_logger: True or create_wandb_logger: False or create_mlflow_logger: Falseor create_dllogger_logger: False was set to True. These can only be used if trainer does not already have a logger. You can disable lighning's trainer from creating a logger by passing logger=False to its constructor'
I am using conda environment, which is recommended in README(python 3.10.12, cuda 11.8 etc)
The text was updated successfully, but these errors were encountered: