question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Issue with simple_string model in the examples

See original GitHub issue

Hi, when trying to run trtis nvidia-docker image, I get the following error: nvidia-docker run --rm --shm-size=1g --ulimit memlock=-1 --ulimit stack=67108864 -p8000:8000 -p8001:8001 -p8002:8002 -v/mnt/workspace/jo/trtis/tensorrt-inference-server/docs/examples/model_repository:/models nvcr.io/nvidia/tensorrtserver:19.01-py3 trtserver --model-store=/models

[libprotobuf ERROR external/protobuf_archive/src/google/protobuf/text_format.cc:307] Error parsing text-format nvidia.inferenceserver.ModelConfig: 9:5: Unknown enumeration value of “TYPE_STRING” for field “data_type”. E0203 11:52:45.284641 1 server.cc:574] Can’t parse /models/simple_string/config.pbtxt as text proto E0203 11:52:47.226951 1 metrics.cc:238] failed to get energy consumption for GPU 0, NVML_ERROR 3

This is after I downloaded the models with the script.

Thanks

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:8 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
GuanLuocommented, Feb 4, 2019

The STRING type support and simple_string example is added in 19.02 version. To try it out, you will need to wait for the release of 19.02 container or build the TRTIS from source with docker build --pull -t tensorrtserver .

If you just want to try running the 19.01 container, you can checkout the r19.01 branch and retrieve the models there.

0reactions
jhagegecommented, Feb 7, 2019

Thanks much for your thorough answer ! It helped much.

Read more comments on GitHub >

github_iconTop Results From Across the Web

How to create a simple string list? · Issue #613 - GitHub
I have not found any documentation about it. NOTE: First time with django and djongo. Python script. models.py. from djongo import models ......
Read more >
String as a Model - asp.net mvc - Stack Overflow
here I'm trying to have a simple string model. I'm getting this error : "Value cannot be null or empty" / "Parameter name:...
Read more >
51 string interview questions (coding problems with solutions)
List of string questions for coding interviews with links to high-quality solutions, plus a string refresher and cheat sheet.
Read more >
Java String (With Examples) - Programiz
In this tutorial, we will learn about Java strings, how to create them, and various methods of the String class with the help...
Read more >
Test Driven Development (TDD): Example Walkthrough
Requirements · Create a simple String calculator with a method int Add(string numbers) · The method can take 0, 1 or 2 numbers,...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found