Closed soheiltehranipour closed 4 years ago
To enable wandb, you need to set values inside experiment manager - https://github.com/NVIDIA/NeMo/blob/main/examples/asr/conf/quartznet_15x5.yaml#L265-L269
Also, your trainer config needs the following sections in it, since exp_manager will take care of these for you. You can find them here - https://github.com/NVIDIA/NeMo/blob/main/examples/asr/conf/quartznet_15x5.yaml#L255-L256.
Of these two are not set, then you will observe the exception raised above by experiment manager.
@blisc FYI
To enable wandb, you need to set values inside experiment manager - https://github.com/NVIDIA/NeMo/blob/main/examples/asr/conf/quartznet_15x5.yaml#L265-L269
Also, your trainer config needs the following sections in it, since exp_manager will take care of these for you. You can find them here - https://github.com/NVIDIA/NeMo/blob/main/examples/asr/conf/quartznet_15x5.yaml#L255-L256.
Of these two are not set, then you will observe the exception raised above by experiment manager.
@blisc FYI
Thanks. Solved
Question: I want to use WandB logger with NeMo ASR but I can not do that when using this script.
I would appreciate if you can tell me how i can fix the problem. Shall I change parameters of trainer? P.S: I changed it via the script but I got error.
"The pytorch lightning trainer that was passed to exp_manager contained a logger, and name: " nemo.utils.exp_manager.LoggerMisconfigurationError: The pytorch lightning trainer that was passed to exp_manager contained a logger, and name: None was also passed to exp_manager. If the trainer contains a logger, exp_manager will use trainer.logger.name, and name passed to exp_manager must be None. You can disable lighning's trainer from creating a logger by passing logger=False to its constructor."
Environment overview:
-Environment location: Google Colab -Method of NeMo install: !python -m pip install git+https://github.com/NVIDIA/NeMo.git@main#egg=nemo_toolkit[all]
Environment details -OS version : Ubuntu 18.04 -PyTorch version : 1.6.0+cu101 -Python version : Python 3.6.9 -GPU model: Tesla T4