Code cleanup and readme fixes
This commit is contained in:
@@ -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>
|
||||
|
||||
@@ -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());
|
||||
}
|
||||
|
||||
|
||||
@@ -120,7 +120,6 @@ public:
|
||||
tk::dnn::writeBUF(buf, tmp[j]);
|
||||
}
|
||||
}
|
||||
std::cout << getSerializationSize() << std::endl;
|
||||
assert(buf == a + getSerializationSize());
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user