As I indicated earlier, I receive the following error (in tao v4, there was no problem) when I choose the backbone option as ‘mit_b0’ and use the mit_b0.pth file in the link that you have provided:
:245: UserWarning: Log file already exists at /workspace/tao-experiments/SegFormer_TAO/results/train/status.json
2023-09-11 07:17:51,363 - mmseg - INFO - Start logging for Training
2023-09-11 07:17:51,474 - mmseg - INFO - Label Id 0: Train Id 0
2023-09-11 07:17:51,474 - mmseg - INFO - Label Id 1: Train Id 1
2023-09-11 07:17:51,474 - mmseg - INFO - Label Id 2: Train Id 2
2023-09-11 07:17:51,474 - mmseg - INFO - Label Id 3: Train Id 3
2023-09-11 07:17:51,474 - mmseg - INFO - Label Id 4: Train Id 4
2023-09-11 07:17:51,474 - mmseg - INFO - Label Id 5: Train Id 5
2023-09-11 07:17:51,474 - mmseg - INFO - Completed Data Module Construction
Concatenating datasets
2023-09-11 07:17:51,606 - mmseg - INFO - Loaded 10140 images
Error executing job with overrides: [‘results_dir=/workspace/tao-experiments/SegFormer_TAO/results’]
An error occurred during Hydra’s exception formatting:
AssertionError()
Traceback (most recent call last):
File “/usr/local/lib/python3.8/dist-packages/hydra/_internal/utils.py”, line 254, in run_and_report
assert mdl is not None
AssertionError
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File “</usr/local/lib/python3.8/dist-packages/nvidia_tao_pytorch/cv/segformer/scripts/train.py>”, line 3, in
File “”, line 176, in
File “”, line 107, in wrapper
File “/usr/local/lib/python3.8/dist-packages/hydra/_internal/utils.py”, line 389, in _run_hydra
_run_app(
File “/usr/local/lib/python3.8/dist-packages/hydra/_internal/utils.py”, line 452, in _run_app
run_and_report(
File “/usr/local/lib/python3.8/dist-packages/hydra/_internal/utils.py”, line 296, in run_and_report
raise ex
File “/usr/local/lib/python3.8/dist-packages/hydra/_internal/utils.py”, line 213, in run_and_report
return func()
File “/usr/local/lib/python3.8/dist-packages/hydra/_internal/utils.py”, line 453, in
lambda: hydra.run(
File “/usr/local/lib/python3.8/dist-packages/hydra/_internal/hydra.py”, line 132, in run
_ = ret.return_value
File “/usr/local/lib/python3.8/dist-packages/hydra/core/utils.py”, line 260, in return_value
raise self._return_value
File “/usr/local/lib/python3.8/dist-packages/hydra/core/utils.py”, line 186, in run_job
ret.return_value = task_function(task_cfg)
File “”, line 172, in main
File “”, line 162, in main
File “”, line 124, in run_experiment
File “”, line 85, in build_segmentor
File “”, line 51, in build
File “/usr/local/lib/python3.8/dist-packages/mmcv/utils/registry.py”, line 72, in build_from_cfg
raise type(e)(f’{obj_cls.name}: {e}')
KeyError: “EncoderDecoder: ‘state_dict’”
The mit_b0 backbone introduced in tao 5.0.0-pyt doesn’t match with the ones in GitHub repo.
Where else can I find these backbones?