deformable conv cu

This commit is contained in:
Micaela Verucchi
2019-10-30 10:20:04 +01:00
parent 02936fa928
commit 8b64d1876f
3 changed files with 148 additions and 0 deletions
+3
View File
@@ -88,8 +88,11 @@ NetworkRT::NetworkRT(Network *net, const char *name) {
std::cout<<"Building tensorRT cuda engine...\n";
engineRT = builderRT->buildCudaEngine(*networkRT);
if(engineRT == nullptr)
FatalError("cloud not build cuda engine")
// we don't need the network any more
//networkRT->destroy();
std::cout<<"serialize net\n";
serialize(name);
} else {
deserialize(name);