Code cleanup and readme fixes

This commit is contained in:
perseusdg
2021-04-09 13:17:41 +05:30
parent 37b2a5bd98
commit 1de804f98d
8 changed files with 37 additions and 26 deletions
+1 -1
View File
@@ -17,7 +17,7 @@
#include "tkdnn.h"
#define OPENCV_CUDACONTRIB //if OPENCV has been compiled with CUDA and contrib.
//#define OPENCV_CUDACONTRIB //if OPENCV has been compiled with CUDA and contrib.
#ifdef OPENCV_CUDACONTRIB
#include <opencv2/cudawarping.hpp>
-2
View File
@@ -59,8 +59,6 @@ public:
tk::dnn::writeBUF(buf, c);
tk::dnn::writeBUF(buf, h);
tk::dnn::writeBUF(buf, w);
std::cout << "Upsample Serialization SIze" << getSerializationSize() << std::endl;
assert(buf == a + getSerializationSize());
}
-1
View File
@@ -120,7 +120,6 @@ public:
tk::dnn::writeBUF(buf, tmp[j]);
}
}
std::cout << getSerializationSize() << std::endl;
assert(buf == a + getSerializationSize());
}