Hi @kamata1729 !
I am using the code without cuda and cython and I am getting the following memory error. My system has 4GB RAM. Looking forward to your reply.
save features...
calc NCC...
Traceback (most recent call last):
File "run.py", line 68, in
template, image, threshold=None, use_cython=args.use_cython)
File "/home/ritika/Documents/robustTemplateMatching-master/FeatureExtractor.py", line 117, in call
self.template_feature_map.numpy(), self.image_feature_map.numpy())
File "/home/ritika/Documents/robustTemplateMatching-master/FeatureExtractor.py", line 69, in calc_NCC
tmp = np.zeros((c, M.shape[-2] - h_f, M.shape[-1] - w_f, h_f, w_f))
MemoryError
Hi @kamata1729 !
I am using the code without cuda and cython and I am getting the following memory error. My system has 4GB RAM. Looking forward to your reply.
save features...
calc NCC...
Traceback (most recent call last):
File "run.py", line 68, in
template, image, threshold=None, use_cython=args.use_cython)
File "/home/ritika/Documents/robustTemplateMatching-master/FeatureExtractor.py", line 117, in call
self.template_feature_map.numpy(), self.image_feature_map.numpy())
File "/home/ritika/Documents/robustTemplateMatching-master/FeatureExtractor.py", line 69, in calc_NCC
tmp = np.zeros((c, M.shape[-2] - h_f, M.shape[-1] - w_f, h_f, w_f))
MemoryError