ObjectMeta class_id return -1

The content of the label file should be

Larynx;Esophagus;Cardia;Body;Fundus;Pylorus;GreatCurvature;LesserCurvature;Duode;umbulb;Duodenum

Please check your input also. DeepStream SDK FAQ - Intelligent Video Analytics / DeepStream SDK - NVIDIA Developer Forums