Quantcast
Channel: TAO Toolkit - NVIDIA Developer Forums
Viewing all articles
Browse latest Browse all 497

Resize_interpolation_method: BILEANER': Enum type "InterpolationMethod" has no value named BILEANER

$
0
0

Please provide the following information when requesting support.

• Hardware (T4)
• Network Type (Resnet18 Classification)
• TAO Version (5.3.0)
• Training spec file(If have, please share here)
When I first ran the Tao toolkit for training, it appeared:
Traceback (most recent call last):
File “/usr/local/lib/python3.8/dist-packages/google/protobuf/text_format.py”, line 1777, in ParseEnum
number = int(value, 0)
ValueError: invalid literal for int() with base 0: ‘BILEANER’

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File “/usr/local/lib/python3.8/dist-packages/google/protobuf/text_format.py”, line 1509, in ConsumeEnum
result = ParseEnum(field, self.token)
File “/usr/local/lib/python3.8/dist-packages/google/protobuf/text_format.py”, line 1782, in ParseEnum
raise ValueError(‘Enum type “%s” has no value named %s.’ %
ValueError: Enum type “InterpolationMethod” has no value named BILEANER.

During handling of the above exception, another exception occurred:
The command I am executing is :tao model classification_tf1 train -e /workspace/tao-experiments/data/spec.cfg -r /train_TAO_file/output --gpus 1

Traceback (most recent call last):
File “/usr/local/lib/python3.8/dist-packages/nvidia_tao_tf1/cv/makenet/scripts/train.py”, line 668, in
main()
File “/usr/local/lib/python3.8/dist-packages/nvidia_tao_tf1/cv/common/utils.py”, line 717, in return_func
raise e
File “/usr/local/lib/python3.8/dist-packages/nvidia_tao_tf1/cv/common/utils.py”, line 705, in return_func
return func(*args, **kwargs)
File “/usr/local/lib/python3.8/dist-packages/nvidia_tao_tf1/cv/makenet/scripts/train.py”, line 664, in main
raise e
File “/usr/local/lib/python3.8/dist-packages/nvidia_tao_tf1/cv/makenet/scripts/train.py”, line 645, in main
run_experiment(config_path=args.experiment_spec_file,
File “/usr/local/lib/python3.8/dist-packages/nvidia_tao_tf1/cv/makenet/scripts/train.py”, line 391, in run_experiment
es = load_experiment_spec(config_path, merge_from_default=False)
File “/usr/local/lib/python3.8/dist-packages/nvidia_tao_tf1/cv/makenet/spec_handling/spec_loader.py”, line 125, in load_experiment_spec
experiment_spec = load_proto(spec_path, experiment_spec, default_spec_path,
File “/usr/local/lib/python3.8/dist-packages/nvidia_tao_tf1/cv/makenet/spec_handling/spec_loader.py”, line 102, in load_proto
_load_from_file(spec_path, proto_buffer)
File “/usr/local/lib/python3.8/dist-packages/nvidia_tao_tf1/cv/makenet/spec_handling/spec_loader.py”, line 87, 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 967, in _MergeField
merger(tokenizer, message, field)
File “/usr/local/lib/python3.8/dist-packages/google/protobuf/text_format.py”, line 1042, in _MergeMessageField
self._MergeField(tokenizer, sub_message)
File “/usr/local/lib/python3.8/dist-packages/google/protobuf/text_format.py”, line 967, in _MergeField
merger(tokenizer, message, field)
File “/usr/local/lib/python3.8/dist-packages/google/protobuf/text_format.py”, line 1097, in _MergeScalarField
value = tokenizer.ConsumeEnum(field)
File “/usr/local/lib/python3.8/dist-packages/google/protobuf/text_format.py”, line 1511, in ConsumeEnum
raise self.ParseError(str(e))
google.protobuf.text_format.ParseError: 13:32 : ’ resize_interpolation_method: BILEANER’: Enum type “InterpolationMethod” has no value named BILEANER.
Execution status: FAIL
How can I solve this problem?

2 posts - 2 participants

Read full topic


Viewing all articles
Browse latest Browse all 497

Trending Articles