🐛 Bug description Unable to use Metric for calculating roc_auc_compute Code that caused error: from typing import Any, Callable, Tuple import torch from ignite.metrics import EpochMetric def roc_auc_compute_fn(y_preds: torch.Tensor, y_ta...
('work_dir', None) is None: # use config filename as default work_dir if cfg.work_dir is None cfg.work_dir = osp.join('./work_dirs', osp.splitext(osp.basename(args.config))[0]) # enable automatic-mixed-precision training if args.amp is True: from mmengine.optim import AmpOptim...
File "/root/anaconda3/envs/py39/lib/python3.9/site-packages/torch/nn/modules/module.py", line 1518, in _wrapped_call_impl return self._call_impl(*args, **kwargs) File "/root/anaconda3/envs/py39/lib/python3.9/site-packages/torch/nn/modules/module.py", line 1527, in _call_impl re...