-
Notifications
You must be signed in to change notification settings - Fork 7
haoxurt/tensorRT_save_serialization
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
The serialized result will be saved into "serialize_engine_output.txt" in the form of string. In the main function,we can use it by following step: 1.Defining a string ,such as "engine_s"; 2.Reading "serialize_engine_output.txt",and assign "engine_s" with the content of txt; 3.Replacing "gieModelStream" with "engine_s" in the runtime->deserializeCudaEngine() function. //ICudaEngine* engine = runtime->deserializeCudaEngine(gieModelStream->data(), gieModelStream->size(), nullptr); ICudaEngine* engine = runtime->deserializeCudaEngine(engine_s.data(), engine_s.size(), nullptr);
About
No description, website, or topics provided.
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published