Message type "Experiment" has no field named "visualizer"

Please provide the following information when requesting support.

• Hardware (x86 PC with 1080Ti)
• Network Type: Mask_rcnn
• TLT Version: Not installed
• Training spec file
maskrcnn_train_resnet50.txt (2.1 KB)

• How to reproduce the issue ?

!tao model mask_rcnn train -e $SPECS_DIR/maskrcnn_train_resnet50.txt \
                     -d $USER_EXPERIMENT_DIR/experiment_dir_unpruned\
                     --gpus $NUM_GPUS

Hi,

When I try to use TAO Toolkit 5.3.0 to train mask_rcnn on my own data from within a Jupyter notebook, I get the following error:

[INFO] Starting MaskRCNN evaluation.
[INFO] Loading specification from /workspace/tao-experiments/mask_rcnn/specs/maskrcnn_train_resnet50.txt
[INFO] 19:1 : Message type "Experiment" has no field named "visualizer".
Traceback (most recent call last):
  File "/usr/local/lib/python3.8/dist-packages/nvidia_tao_tf1/cv/mask_rcnn/scripts/evaluate.py", line 227, in <module>
    raise e
  File "/usr/local/lib/python3.8/dist-packages/nvidia_tao_tf1/cv/mask_rcnn/scripts/evaluate.py", line 215, in <module>
    main()
  File "/usr/local/lib/python3.8/dist-packages/nvidia_tao_tf1/cv/mask_rcnn/scripts/evaluate.py", line 140, in main
    experiment_spec = load_experiment_spec(args.experiment_spec)
  File "/usr/local/lib/python3.8/dist-packages/nvidia_tao_tf1/cv/mask_rcnn/utils/spec_loader.py", line 65, in load_experiment_spec
    experiment_spec = load_proto(spec_path, experiment_spec)
  File "/usr/local/lib/python3.8/dist-packages/nvidia_tao_tf1/cv/mask_rcnn/utils/spec_loader.py", line 48, in load_proto
    _load_from_file(spec_path, proto_buffer)
  File "/usr/local/lib/python3.8/dist-packages/nvidia_tao_tf1/cv/mask_rcnn/utils/spec_loader.py", line 43, in _load_from_file
    merge_text_proto(f.read(), pb2)
  File "/usr/local/lib/python3.8/dist-packages/google/protobuf/text_format.py", line 719, in Merge
    return MergeLines(
  File "/usr/local/lib/python3.8/dist-packages/google/protobuf/text_format.py", line 793, in MergeLines
    return parser.MergeLines(lines, message)
  File "/usr/local/lib/python3.8/dist-packages/google/protobuf/text_format.py", line 818, in MergeLines
    self._ParseOrMerge(lines, message)
  File "/usr/local/lib/python3.8/dist-packages/google/protobuf/text_format.py", line 837, in _ParseOrMerge
    self._MergeField(tokenizer, message)
  File "/usr/local/lib/python3.8/dist-packages/google/protobuf/text_format.py", line 932, in _MergeField
    raise tokenizer.ParseErrorPreviousToken(
google.protobuf.text_format.ParseError: 19:1 : Message type "Experiment" has no field named "visualizer".
Execution status: FAIL

Any idea where I’m going wrong?

Simon

Please delete

visualizer{
    enabled: true
}

You already set

visualize_images_summary: true

Related topic: Tensorboard for MaskRCNN TAO model.

That worked! Thanks!

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.